//
// PlayerObject::runRotateAction from 0x10021d45c to 0x10021d498 (60 bytes)
//
// 13 xrefs:
// > PlayerObject::updateTimeMod @ 0x100219040
// > PlayerObject::updateJump @ 0x10021b20c
// > PlayerObject::updateJump @ 0x10021b554
// > PlayerObject::updateMove @ 0x10021c4b0
// > PlayerObject::doReversePlayer @ 0x10021d388
// > PlayerObject::postCollision @ 0x10021eda8
// > PlayerObject::hitGround @ 0x100223c1c
// > PlayerObject::rotateGameplay @ 0x100226e68
// > PlayerObject::togglePlayerScale @ 0x1002273ec
// > PlayerObject::ringJump @ 0x10022876c
// > PlayerObject::ringJump @ 0x100228ae0
// > PlayerObject::resetPlayerIcon @ 0x100229cac
// > PlayerObject::propellPlayer @ 0x10022cdd8
//
// 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::runRotateAction(PlayerObject *a1, bool a2, int a3)
{
if ( !a1->m_isLocked && !a1->m_isDashing )
{
*(_WORD *)&a1->m_isRotating = 0;
a1->m_isBallRotating = 0;
a1->m_rotationSpeed = 0.0;
if ( a1->m_isBall )
PlayerObject::runBallRotation(a1, 1.0);
else
PlayerObject::runNormalRotation(a1, 0, 1.0);
}
}