
..
i want to bypass the DrawIndexedPrimitive by 5bytes
when i debug my wallhack
i see this 5 bytes
push ebp
mov ebp,esp
cmp dword ptr [ebp+0Ch],00000001h
jnz L1006439E
call SUB_L100405FF
i want to hook it to 5 bytes but i dont know how to make it
i try to change the code
intoQuote:
int end =NULL;
int dip =NULL;
int svp =NULL;
int sss =NULL;
BYTE Unhook[5] = {0x8B,0xFF,0x55,0x8B,0xEC};//Original Function Bytes.
hand1 = GetCurrentProcess();
DWORD dwmodualBase=(DWORD)GetModuleHandle("d3d8.dll");
end = 0x6d9d93a0;
dip = 0x6d9d73a0;
svp = 0x6d9d5b90;
sss = 0x6d9d6760;
WriteProcessMemory(hand1, (void*) end,Unhook, 5,, &bytes);
WriteProcessMemory(hand1, (void*) dip, Unhook, 5, &bytes);
WriteProcessMemory(hand1, (void*) svp ,Unhook, 5, &bytes);
WriteProcessMemory(hand1, (void*) sss,Unhook, 5, &bytes);
}
but still itsQuote:
int end =NULL;
int dip =NULL;
int svp =NULL;
int sss =NULL;
BYTE Unhook[10] = {0x8B,0xFF,0x55,0x8B,0xEC};//Original Function Bytes.
hand1 = GetCurrentProcess();
DWORD dwmodualBase=(DWORD)GetModuleHandle("d3d8.dll")+5;
end = 0x6d9d93a0;
dip = 0x6d9d73a0;
svp = 0x6d9d5b90;
sss = 0x6d9d6760;
WriteProcessMemory(hand1, (void*) end,Unhook, 10,, &bytes);
WriteProcessMemory(hand1, (void*) dip, Unhook, 10, &bytes);
WriteProcessMemory(hand1, (void*) svp ,Unhook, 10, &bytes);
WriteProcessMemory(hand1, (void*) sss,Unhook, 10, &bytes);
}
push ebp
mov ebp,esp
cmp dword ptr [ebp+0Ch],00000001h
jnz L1006439E
call SUB_L100405FF
any help would appreciate






