//
// PlayerObject::isBoostValid from 0x74f010 to 0x74f060 (80 bytes)
//
// 2 xrefs:
// > PlayerObject::postCollision @ 0x7621d0
// > ??> @ 0xdfd20
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:52:54 +0000
//
bool __fastcall PlayerObject::isBoostValid(PlayerObject *this, float a2)
{
if ( *((_BYTE *)this + 2423) )
{
if ( *((_BYTE *)this + 2315) || !*((_BYTE *)this + 1676) )
return *((double *)this + 299) > a2;
}
else if ( *((_BYTE *)this + 2315) && *((_BYTE *)this + 1676) )
{
return *((double *)this + 299) > a2;
}
return *((double *)this + 299) < a2;
}