// // PlayerObject::runBallRotation2 from 0x6245c8 to 0x6246c8 (256 bytes) // // 4 xrefs: // > PlayerObject::flipGravity @ 0x62e9b4 // > PlayerObject::ringJump @ 0x63c394 // > PlayerObject::ringJump @ 0x63c630 // > @ 0x66018 // // 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::runBallRotation2(PlayerObject *a1) { float v1; // s8 float m_playerSpeed; // s0 float v3; // s9 int v5; // w19 int v6; // w0 float v7; // s0 if ( !a1->m_isDashing ) { v1 = 1.0; if ( a1->m_vehicleSize == 1.0 ) { m_playerSpeed = a1->m_playerSpeed; if ( m_playerSpeed == 0.7 ) { LABEL_4: v3 = 1.2406; LABEL_5: v5 = PlayerObject::flipMod(a1); v6 = PlayerObject::reverseMod(a1); a1->m_isBallRotating2 = 1; v7 = (float)((float)(-340 * v5 * v6) * a1->m_gravityMod) / (v1 * 0.8 * v3); a1->m_rotationSpeed = v7; return; } } else { m_playerSpeed = a1->m_playerSpeed; v1 = 0.8; if ( m_playerSpeed == 0.7 ) goto LABEL_4; } if ( m_playerSpeed == 1.1 ) { v3 = 0.80424; } else if ( m_playerSpeed == 1.3 ) { v3 = 0.66577; } else if ( m_playerSpeed == 1.6 ) { v3 = 0.54094; } else { v3 = 1.0; } goto LABEL_5; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source