IMGUI INTERNAL DIRECTX 9 HOOK (1/2)
cazz cazz
143K subscribers
121,928 views
0

 Published On Jan 4, 2022

In this video we create a universal internal ImGui menu that will work for any DirectX9 game and will NEVER need to be updated! It works by creating a .dll that upon injection creates a temporary window over the game that we use to get the games DirectX9 device. Using this device we are able to hook both EndScene & Reset (two important directx functions) with the MinHook library. We the n setup the ImGui context and render our menu in EndScene. This is all wrapped together into a handful of files with an exception handler and perfect module unloading mechanisms. Hope you guys enjoy!

💎 Source code is available for my Patrons!
  / cazzwastaken  

💎 Join our community over on Discord!
  / discord  

→ GitHub: https://github.com/cazzwastaken
→ Twitter:   / cazzwastaken  
→ Email: [email protected]

🕙 Timestamps 🕙
0:00 - Intro
0:25 - How it works
0:53 - Creating the project
1:22 - Project properties
2:40 - Project structure
3:18 - Getting ImGui & MinHook
5:06 - Adding source files
5:40 - Entry Point & Setup
8:07 - GUI header
11:48 - GUI source
28:00 - Hooks header
31:05 - Hooks source
36:14 - Setting up Hooks & Menu
39:40 - Summary of project
40:58 - Fixing MinHook include error
41:17 - Testing
42:12 - Outro

📝Resources 📝
→ MinHook: https://github.com/TsudaKageyu/minhook
→ Dear ImGui: https://github.com/ocornut/imgui

⚡See More ⚡
Aimbot:    • MAKE AIMBOT IN 10 MINUTES  
No Recoil:    • REMOVE RECOIL IN CS:GO  
Glow ESP:    • MAKE GLOW ESP IN 10 MINUTES  
Skin Changer:    • SKIN CHANGER IN 10 MINUTES  

Shout out to Chris for the thumbnail 💖
Follow him here:    / @lucid_horizons  

show more

Share/Embed