//
// PlayerObject::playerIsFallingBugged from 0x1003f0f60 to 0x1003f1019 (185 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:53 +0000
//
bool __fastcall PlayerObject::playerIsFallingBugged(__int64 a1)
{
double v1; // xmm0_8
float v2; // xmm1_4
double v4; // xmm0_8
float v5; // xmm0_4
if ( *(_BYTE *)(a1 + 2427) || *(_BYTE *)(a1 + 2832) || *(_BYTE *)(a1 + 2428) || *(_BYTE *)(a1 + 1369) == 1 )
{
v1 = *(double *)(a1 + 2392);
v2 = *(double *)(a1 + 1944) + *(double *)(a1 + 1944);
if ( *(_BYTE *)(a1 + 2423) )
return v1 > (float)-v2;
else
return v2 > v1;
}
else
{
v4 = *(double *)(a1 + 1944);
if ( *(_BYTE *)(a1 + 2423) )
{
return *(double *)(a1 + 2392) > v4 + v4;
}
else
{
v5 = v4;
if ( *(_BYTE *)(a1 + 2617) )
v5 = -v5;
return (float)(v5 + v5) > *(double *)(a1 + 2392);
}
}
}