ExclamationHooking

Posts 1–5 of 5 · Page 1 of 1
Hooking
You can draw something in this midhook such as: box,CrossHair, memory. But you cant draw font.

Code:
_declspec(naked) void MyMid()
{
	_asm mov edi,edi;
	_asm push ebp;
	_asm mov ebp,esp;
	_asm mov eax,dword ptr [ebp + 0x8];
	_asm mov pDevice,eax;
	_asm jmp back;
}
Code:
BOOL WINAPI DllMain ( HINSTANCE hDll, DWORD dwReason, LPVOID lpReserved )
{
	DisableThreadLibraryCalls(hDll);
	If dwReason == DLL_PROCESS_ATTACH Then
		DWORD hD3D  = (DWORD)LoadLibrary("d3d9.dll");

		DWORD HookedD3D	= FindPattern(hD3D, 0x128000, (PBYTE)"\x8B\xFF\x55\x8B\xEC\x5D\x00\x00\x00\x00\x00\xCC\xCC\xCC\xCC\xCC\x8B\xFF\x55\x8B\xEC\x51", "xxxxxx?????xxxxxxxxxxx"); //XP OS

		if(!HookedD3D)
		{
			DWORD HookedD3DA	= FindPattern(hD3D, 0x128000, (PBYTE)"\xC3\x90\x90\x90\x90\x90\x8B\xFF\x55\x8B\xEC\x5D\xEB\x00\x90\x90\x90\x90\x90\x8B\xFF\x55\x8B\xEC\x6A\xFF", "xxxxxxxxxxxxx?xxxxxxxxxxxx"); //Win 7 OS
			HookedD3D			= HookedD3DA +  0x6;
		}

		back		= HookedD3D  + 5;

		DetourFunc((PBYTE)(HookedD3D), (PBYTE)MyMid,5);
	_End
	return TRUE;
}
Have a good cheat !
Wow, amazing! thx for sharing....
Hmm. It 's still working. But you cant draw text. You can draw border. FillRBG. DrawCrossHair or put memory hack in there
why should font not work.. there are several methods to do that! i think if you can use functions like border and fillrbg there is a way to do the fonts
yeah you can draw font only with DrawEngineString of game
Posts 1–5 of 5 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?