//
// PlayerObject::isBoostValid from 0x1003f3650 to 0x1003f36a6 (86 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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:29:54 +0000
//
bool __fastcall PlayerObject::isBoostValid(__int64 a1, float a2)
{
char v2; // al
v2 = *(_BYTE *)(a1 + 2315);
if ( !*(_BYTE *)(a1 + 2423) )
{
if ( !v2 || *(_BYTE *)(a1 + 1676) != 1 )
return a2 > *(double *)(a1 + 2392);
return *(double *)(a1 + 2392) > a2;
}
if ( v2 || *(_BYTE *)(a1 + 1676) != 1 )
return *(double *)(a1 + 2392) > a2;
return a2 > *(double *)(a1 + 2392);
}