//
// PlayerObject::isBoostValid from 0x623148 to 0x623198 (80 bytes)
//
// 2 xrefs:
// > PlayerObject::postCollision @ 0x639808
// > ??> @ 0xaab68
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
bool PlayerObject::isBoostValid(PlayerObject *a1, float a2)
{
if ( a1->m_isUpsideDown )
{
if ( a1->m_isCurrentSlopeTop || !a1->m_slopeFlipGravityRelated )
return a1->m_yVelocity > a2;
}
else if ( a1->m_isCurrentSlopeTop && a1->m_slopeFlipGravityRelated )
{
return a1->m_yVelocity > a2;
}
return a1->m_yVelocity < a2;
}