//
// PlayerObject::getCurrentXVelocity from 0x33d152 to 0x33d180 (46 bytes)
//
// 3 xrefs:
// > PlayerObject::rotateGameplay @ 0x3467a4
// > PlayerObject::update @ 0x34f2c2
// > PlayerObject::playDeathEffect @ 0x56b2e4
//
// 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 PlayerObject::getCurrentXVelocity(PlayerObject *a1)
{
if ( a1->m_isPlatformer )
return a1->m_platformerXVelocity;
else
return a1->m_playerSpeed * a1->m_speedMultiplier;
}