(02-15-2020 - 12:44 PM)CRACK_HEAD1337 Wrote: This is unbound's code.nice code
Code:Detour<DWORD> *StatSetIntDetour;
DWORD StatSetIntDetourHook(DWORD Hash, DWORD Amount, BOOL Saved)
{
printf("Hash: 0x%X\n", Hash);
printf("Amount: 0x%X\n", Amount);
printf("Saved: %d\n", Saved);
DWORD ret = StatSetIntDetour->CallOriginal(Hash, Amount, Saved);
printf("Retrun: 0x%X\n", ret);
return ret;
}
StatSetIntDetour = new Detour<DWORD>;
StatSetIntDetour->SetupDetour(0x82D151A8, StatSetIntDetourHook);
This account is currently banned
Ban reason: Leeching
Ban reason: Leeching
(02-15-2020 - 12:44 PM)CRACK_HEAD1337 Wrote: This is unbound's code.Simple old code
Code:Detour<DWORD> *StatSetIntDetour;
DWORD StatSetIntDetourHook(DWORD Hash, DWORD Amount, BOOL Saved)
{
printf("Hash: 0x%X\n", Hash);
printf("Amount: 0x%X\n", Amount);
printf("Saved: %d\n", Saved);
DWORD ret = StatSetIntDetour->CallOriginal(Hash, Amount, Saved);
printf("Retrun: 0x%X\n", ret);
return ret;
}
StatSetIntDetour = new Detour<DWORD>;
StatSetIntDetour->SetupDetour(0x82D151A8, StatSetIntDetourHook);
Users browsing: 1 Guest(s)