mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
abundant update
complete looting rewrite, improve combining pickups, add debug printing logs, fix some agids, fix cheat summon, fix issue with vehicle spawning.
This commit is contained in:
8
vendor/memcury.h
vendored
8
vendor/memcury.h
vendored
@@ -1431,4 +1431,10 @@
|
||||
return PtrRef.ScanFor(Bytes, false).Get();
|
||||
}
|
||||
|
||||
inline bool IsNullSub(uint64 Addr) { return *(uint8_t*)(Addr) == 0xC3 || *(uint8_t*)(Addr) == 0xC2; }
|
||||
inline bool IsNullSub(uint64 Addr)
|
||||
{
|
||||
// if (*(uint8_t*)(Addr) == 0xEB && *(uint8_t*)(Addr + 1) == 0xF7) // positive sp value has been detected, the output may be wrong!
|
||||
// return true;
|
||||
|
||||
return *(uint8_t*)(Addr) == 0xC3 || *(uint8_t*)(Addr) == 0xC2;
|
||||
}
|
||||
Reference in New Issue
Block a user