PostDevice Game | EndScene

Posts 115 of 19 · Page 1 of 2
Device Game | EndScene
Code:
MOV EAX,DWORD PTR DS:[147FB0C] <- Device Game
MOV ECX,DWORD PTR DS:[EAX] 
MOV EDX,DWORD PTR DS:[ECX+A8]  <- Possible Endscene
PUSH EAX <- Push Device
CALL EDX <- Call EndScene
Get addy update
Code:
Pattern Scan:
#define P_Device "\xA1\x00\x00\x00\x00\x8B\x08\x8B\x91\x00\x00\x00\x00\x50\xFF\xD2\x8D\x8D\x00\x00\x00\x00"
#define M_Device "x????xxxx????xxxxx????'

DWORD FindDevice = FindPatter((DWORD)GetModuleHandleA("AVA.exe"),0xFFFFF,(PBYTE)P_Device,(PCHAR)M_Device );
DWORD FindDevice = *(DWORD*)(FindDevice + 0x1);
Crédits:
Me
ForeverRed, Posted AVA dump .
i tank you bro. great find very helpful i find it 3 years ago now you reminder me thx

Nice job!!
Quote Originally Posted by imhomeless:) View Post
how do you use this sorry im new
You can use the addresses he provided to make a hack for the game and the pattern scan to find the addresses again after the game updates. This won't be of use to anyone who doesn't know C++ and assembly.
Quote Originally Posted by imhomeless:) View Post
how do you use this sorry im new

Code:
DWORD RetnHook;
#define DeviceGame 0x147FB0C

__declspec(naked) void __stdcall MidFunctionHook()
{
	static LPDIRECT3DDEVICE9 pDevice;
	pDevice = *(LPDIRECT3DDEVICE9*)*(DWORD*)DeviceGame ;	

	if (pDevice)
	{
           //yours function here
		
	}
	__asm 	JMP [RetnHook];
}

You need hooked the Game to work this midfunction.
Quote Originally Posted by [.] View Post

Code:
DWORD RetnHook;
#define DeviceGame 0x147FB0C

__declspec(naked) void __stdcall MidFunctionHook()
{
	static LPDIRECT3DDEVICE9 pDevice;
	pDevice = *(LPDIRECT3DDEVICE9*)*(DWORD*)DeviceGame ;	

	if (pDevice)
	{
           //yours function here
		
	}
	__asm 	JMP [RetnHook];
}

You need hooked the Game to work this midfunction.
You forgot to mention you need the D3D9 SDK in order to use this.
Great work !
Thank for sharing
look outdated
Quote Originally Posted by COD3RIN View Post
look outdated
..Why?
the latest version can work ?
nice work but i think memory modifications are detected
Posts 115 of 19 · Page 1 of 2

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?