//
// PlayerObject::stopRotation from 0x33d35c to 0x33d370 (20 bytes)
//
// 26 xrefs:
// > PlayerObject::runRotateAction @ 0x33f188
// > PlayerObject::updateRotation @ 0x33f760
// > PlayerObject::boostPlayer @ 0x341ba0
// > PlayerObject::specialGroundHit @ 0x342088
// > PlayerObject::startDashing @ 0x342770
// > PlayerObject::stopDashing @ 0x34405a
// > PlayerObject::playerDestroyed @ 0x34411a
// > PlayerObject::hitGround @ 0x3444d4
// > PlayerObject::hitGround @ 0x3444f0
// > PlayerObject::hitGround @ 0x344506
// > PlayerObject::hitGround @ 0x3445f4
// > PlayerObject::flipGravity @ 0x345292
// > PlayerObject::toggleSwingMode @ 0x346a16
// > PlayerObject::toggleSpiderMode @ 0x346c72
// > PlayerObject::toggleSpiderMode @ 0x346da8
// > PlayerObject::toggleFlyMode @ 0x346e38
// > PlayerObject::toggleBirdMode @ 0x34703e
// > PlayerObject::toggleDartMode @ 0x347226
// > PlayerObject::toggleRollMode @ 0x3474b2
// > PlayerObject::toggleRobotMode @ 0x347544
// > PlayerObject::toggleRobotMode @ 0x34768a
// > PlayerObject::resetObject @ 0x347c54
// > PlayerObject::collidedWithSlopeInternal @ 0x34c34a
// > PlayerObject::lockPlayer @ 0x34ddc6
// > GJBaseGameLayer::activatePlayerControlTrigger @ 0x46fa2a
// > GJBaseGameLayer::activatePlayerControlTrigger @ 0x46fa8c
//
// 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::stopRotation(PlayerObject *a1, bool a2, int a3)
{
float *p_m_rotationSpeed; // r0
p_m_rotationSpeed = &a1->m_rotationSpeed;
*((_BYTE *)p_m_rotationSpeed + 8) = 0;
*((_BYTE *)p_m_rotationSpeed + 9) = 0;
*((_BYTE *)p_m_rotationSpeed - 96) = 0;
*p_m_rotationSpeed = 0.0;
}