//
// PlayerObject::getCurrentXVelocity from 0x10021c7d0 to 0x10021c7f8 (40 bytes)
//
// 1 xrefs:
// > PlayerObject::playDeathEffect @ 0x10005c5ac
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
double __fastcall PlayerObject::getCurrentXVelocity(PlayerObject *a1)
{
if ( a1->m_isPlatformer )
return a1->m_platformerXVelocity;
else
return a1->m_speedMultiplier * a1->m_playerSpeed;
}