FindOffset (AutoUpdate)
The OffsetFind main code
Example
Code:
DWORD FindOffset(char* String, DWORD Pos, bool PointerFunc)
{
static char search[6] = "\x68\x00\x00\x00\x00";
DWORD Clear = FindPattern(CShell, 0xE86000, (BYTE*)String, String);
if (Clear)
{
*(DWORD*)(search+1) = Clear;
DWORD loc = FindPattern(CShell, 0xE86000, (BYTE*)search, "xxxxx");
if (loc)
{
return *(DWORD*)(loc+Pos)+PointerFunc*(loc+Pos+4);
}
}
return NULL;
}
Code:
DWORD WeaponMgr = FindOffset("ReloadAnimRatio", WeaponMgrPtr);

