//
// PlayerObject::playerIsFallingBugged from 0x7510e4 to 0x75115c (120 bytes)
//
// 8 xrefs:
// > PlayerObject::updateJump @ 0x7638e8
// > PlayerObject::updateJump @ 0x7639d4
// > PlayerObject::updateJump @ 0x763b94
// > PlayerObject::updateJump @ 0x763c54
// > PlayerObject::updateJump @ 0x763e48
// > PlayerObject::updateJump @ 0x76406c
// > PlayerObject::updateJump @ 0x7640c4
// > ??> @ 0x954d0
//
// 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:55 +0000
//
bool __fastcall PlayerObject::playerIsFallingBugged(PlayerObject *this)
{
double v1; // d0
float v2; // s1
float v4; // s0
if ( *((_BYTE *)this + 2427) || *((_BYTE *)this + 2832) || *((_BYTE *)this + 2428) || *((_BYTE *)this + 1369) )
{
v4 = *((double *)this + 243) + *((double *)this + 243);
return PlayerObject::playerIsFalling(this, v4);
}
else
{
v1 = *((double *)this + 243);
v2 = v1;
if ( *((_BYTE *)this + 2617) )
v2 = -v2;
if ( *((_BYTE *)this + 2423) )
return *((double *)this + 299) > v1 + v1;
else
return *((double *)this + 299) < (float)(v2 + v2);
}
}