NokiMo
GuidedHacking
GuidedHacking

patreon


DirectX9 Tutorial Series

This video will show you how to obtain the EndScene function address with the dummy device technique. Afterwards, we'll use the Trampoline function from the previous tutorial to hook it. Our hook will draw a box and a crosshair.

EndScene() is the function used when the game is done drawing the next frame to display. Thus, any drawings we do will be on top of the finished scene. After our EndScene detour, the real one will be called and the image will be shown.

To hack games with DirectX, you must detour specific D3DDevice member functions and know its address. Pattern scans might be used to locate the address of the functions or the device, but it's not always reliable.

Creating a dummy device is the most effective approach; it yields the vTable address which can be replicated. vTable detours will affect the game's device and the device's address can be acquired by detouring functions and finding the "this pointer" in eax.  Read more here 

DirectX9 Tutorial Series

Related Creators