//
// PlayerObject::updatePlayerForce from 0x100411e90 to 0x100411efd (109 bytes)
//
// 0 xrefs:
//
// 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
//
// local variable allocation has failed, the output may be wrong!
void __fastcall PlayerObject::updatePlayerForce(PlayerObject *a1, cocos2d::CCPoint a2, bool a3)
{
int v3; // edx
double v4; // xmm0_8
double v5; // xmm0_8
a1->m_isAccelerating = 1;
v4 = *(float *)(a3 + 4LL);
if ( v3 )
{
a1->m_yVelocity = v4 + a1->m_yVelocity;
if ( !a1->m_isPlatformer )
return;
v5 = *(float *)a3 + a1->m_platformerXVelocity;
}
else
{
a1->m_yVelocity = v4;
if ( !a1->m_isPlatformer )
return;
v5 = *(float *)a3;
}
a1->m_platformerXVelocity = v5;
a1->m_affectedByForces = 1;
}