//
// PlayerObject::getCurrentXVelocity from 0x43511a to 0x435148 (46 bytes)
//
// 3 xrefs:
// > PlayerObject::rotateGameplay @ 0x43a6dc
// > PlayerObject::update @ 0x448d7a
// > PlayerObject::playDeathEffect @ 0x6a33f4
//
// 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:18 +0000
//
__int64 __fastcall PlayerObject::getCurrentXVelocity(PlayerObject *this)
{
double v1; // d7
if ( *((_BYTE *)this + 2320) )
v1 = *((double *)this + 275);
else
v1 = *((float *)this + 503) * *((double *)this + 195);
return *(_QWORD *)&v1;
}