LanceVorgin
27th June 2005, 00:23
CDetour haxdet;
// 1 2 3 4 5 6
//004709C0 8A 81 5D 06 00 00
DWORD me;
__declspec(naked) void hax(){ __asm {
mov me, ecx
pushad
mov ecx, me
push 100
mov eax, 0x004697F0
call eax
mov ecx, me
push 100
mov eax, 0x00469800
call eax
ret
}}
haxdet.Detour((DWORD)0x004709C0, (DWORD)hax, 0, true, DETOUR_TYPE_JMP, 6);
haxdet.Apply();
lol
// 1 2 3 4 5 6
//004709C0 8A 81 5D 06 00 00
DWORD me;
__declspec(naked) void hax(){ __asm {
mov me, ecx
pushad
mov ecx, me
push 100
mov eax, 0x004697F0
call eax
mov ecx, me
push 100
mov eax, 0x00469800
call eax
ret
}}
haxdet.Detour((DWORD)0x004709C0, (DWORD)hax, 0, true, DETOUR_TYPE_JMP, 6);
haxdet.Apply();
lol