//
// PlayerObject::getCurrentXVelocity from 0x1003ee8f0 to 0x1003ee91d (45 bytes)
//
// 1 xrefs:
// > PlayerObject::playDeathEffect @ 0x1001f6a74
//
// 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:52 +0000
//
double __fastcall PlayerObject::getCurrentXVelocity(__int64 a1)
{
if ( *(_BYTE *)(a1 + 2832) == 1 )
return *(double *)(a1 + 2712);
else
return *(float *)(a1 + 2476) * *(double *)(a1 + 1928);
}