How to get DEVICE without ASM????

Posts 1–8 of 8 · Page 1 of 1
How to get DEVICE without ASM????
This code will help you with midhook function without mov pDevice (asm)

On top define:

DWORD DEVICEGAME;
static LPDIRECT3DDEVICE9 pDevice;

Code:
if(!DEVICEGAME)
{
	DEVICEGAME = FindPattern(0x400000, 0xFFFFFF,(unsigned char*)"\x8B\x35\xFF\xFF\xFF\xFF\x8B\xEE\xE8\xFF\xFF\xFF\xFF\x8B\x45\x00\x8B\x08\x8B\x91\xFF\xFF\xFF\xFF\x57\x6A\xFF\x53","xx????xxx????xxxxxxx????xx?x");
        pDevice = *(LPDIRECT3DDEVICE9 *)(*(DWORD *)(*(DWORD *)(DEVICEGAME + 2)));
}
Im not understant any thing
Thanks !! you helped meh much for this
Wow, Thanks a ton dude, you just saved me a ton of unpacking and scanning
Quote Originally Posted by maxpower439 View Post
Wow, Thanks a ton dude, you just saved me a ton of unpacking and scanning
Now you don't need to learn the basics of asm
hehe it crashed me on cf EU idk /conf anyway thanks
bitch please!
its the first parameter of most d3d functions
Posts 1–8 of 8 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?