//
// PlayerObject::playerIsFalling from 0x33eeb8 to 0x33eefa (66 bytes)
//
// 7 xrefs:
// > PlayerObject::playerIsFallingBugged @ 0x33ef26
// > PlayerObject::updateRotation @ 0x33f6d2
// > PlayerObject::hitGround @ 0x3441e4
// > PlayerObject::hitGround @ 0x3441f6
// > PlayerObject::hitGround @ 0x344206
// > PlayerObject::hitGround @ 0x344216
// > PlayerObject::updateJump @ 0x349aa4
//
// 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::playerIsFalling(PlayerObject *a1, float a2)
{
_BOOL4 m_isUpsideDown; // r3
double *p_m_yVelocity; // r0
m_isUpsideDown = a1->m_isUpsideDown;
p_m_yVelocity = &a1->m_yVelocity;
if ( m_isUpsideDown )
return *p_m_yVelocity > (float)-a2;
else
return *p_m_yVelocity < a2;
}