//
// PlayerObject::isBoostValid from 0x4354e8 to 0x43553c (84 bytes)
//
// 1 xrefs:
// > PlayerObject::postCollision @ 0x442bce
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:48:18 +0000
//
bool __fastcall PlayerObject::isBoostValid(PlayerObject *this, float a2)
{
double *v2; // r3
double v3; // d7
v2 = (double *)((char *)this + 1928);
v3 = a2;
if ( *((_BYTE *)this + 1959) )
{
if ( *((_BYTE *)this + 1851) || !*((_BYTE *)this + 1420) )
return *v2 > v3;
}
else if ( *((_BYTE *)this + 1851) && *((_BYTE *)this + 1420) )
{
return *v2 > v3;
}
return *v2 < v3;
}