//
// PlayerObject::runNormalRotation from 0x1003ffeb0 to 0x1003fffb5 (261 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
//
void __fastcall PlayerObject::runNormalRotation(PlayerObject *a1, bool a2, float a3)
{
__m128 v3; // rt1
__int64 v4; // rax
int v5; // edx
int v6; // ecx
float v7; // xmm1_4
if ( a2
|| !a1->m_isShip
&& !a1->m_isBird
&& !a1->m_isDart
&& !a1->m_isSwing
&& !a1->m_isRobot
&& !a1->m_isSpider
&& !a1->m_isDashing
&& (!a1->m_isPlatformer
|| a1->m_holdingLeft
|| a1->m_holdingRight
|| a1->m_platformerMovingLeft
|| a1->m_platformerMovingRight) )
{
v3.i32[0] = LODWORD(a1->m_vehicleSize);
v4 = _mm_cvtsi128_si32((__m128i)_mm_cmpeq_ss((__m128)0x3F800000u, v3)) & 1;
v5 = 180;
if ( a1->m_isUpsideDown )
v5 = -180;
v6 = -v5;
if ( !a1->m_isGoingLeft )
v6 = v5;
v7 = (float)v6;
if ( a1->m_isSideways )
v7 = -v7;
a1->m_rotationSpeed = (float)((float)(v7 * a1->m_gravityMod) * a3) / flt_10081B570[v4];
a1->m_isRotating = 1;
}
}