//
// PlayerObject::playerIsFallingBugged from 0x436eb2 to 0x436f32 (128 bytes)
//
// 7 xrefs:
// > PlayerObject::updateJump @ 0x444c00
// > PlayerObject::updateJump @ 0x444c3a
// > PlayerObject::updateJump @ 0x444d54
// > PlayerObject::updateJump @ 0x444efe
// > PlayerObject::updateJump @ 0x444f3c
// > PlayerObject::updateJump @ 0x4450d0
// > PlayerObject::updateJump @ 0x445358
//
// 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:19 +0000
//
bool __fastcall PlayerObject::playerIsFallingBugged(PlayerObject *this)
{
double *v1; // r3
float v2; // s15
double v4; // d6
float v5; // s14
int v6; // r3
double *v7; // r0
v1 = (double *)((char *)this + 1576);
if ( *((_BYTE *)this + 1963) || *((_BYTE *)this + 2320) || *((_BYTE *)this + 1964) || *((_BYTE *)this + 1177) )
{
v2 = *v1 + *v1;
return PlayerObject::playerIsFalling(this, v2);
}
else
{
v4 = *v1;
v5 = *v1;
if ( *((_BYTE *)this + 2121) )
v5 = -v5;
v6 = *((unsigned __int8 *)this + 1959);
v7 = (double *)((char *)this + 1928);
if ( v6 )
return *v7 > v4 + v4;
else
return *v7 < (float)(v5 + v5);
}
}