//
// PlayerObject::updateSlopeRotation from 0x140390bc0 to 0x140390c32 (114 bytes)
//
// 2 xrefs:
// > PlayerObject::collidedWithSlopeInternal @ 0x140390afc
// > ??> @ 0x1406d6128
//
// 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
//
void PlayerObject::updateSlopeRotation(PlayerObject *a1, float a2)
{
float v3; // xmm0_4
v3 = PlayerObject::convertToClosestRotation(a1, a1->m_slopeRotation * 57.29578018188477);
if ( a1->m_isPlatformer
&& a1->m_maybeChangedDirectionAngle > 80.0
&& (a1->m_platformerMovingLeft || a1->m_platformerMovingRight) )
{
v3 = 0.0;
}
PlayerObject::updateRotation(a1, a2, v3);
}