//
// PlayerObject::getCurrentXVelocity from 0x1002b929c to 0x1002b92c4 (40 bytes)
//
// 1 xrefs:
// > PlayerObject::playDeathEffect @ 0x100064d2c
//
// 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 11:02:25 +0000
//
double __fastcall PlayerObject::getCurrentXVelocity(__int64 a1)
{
if ( *(_BYTE *)(a1 + 2832) == 1 )
return *(double *)(a1 + 2712);
else
return *(double *)(a1 + 1928) * *(float *)(a1 + 2476);
}