// // PlayerObject::updateSlopeRotation from 0x33f5f0 to 0x33f656 (102 bytes) // // 2 xrefs: // > PlayerObject::updateRotation @ 0x33f69c // > PlayerObject::collidedWithSlopeInternal @ 0x34c260 // // 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 v4; // s15 float v5; // r2 v4 = a1->m_slopeRotation * 57.2957802; v5 = PlayerObject::convertToClosestRotation(a1, v4); if ( a1->m_isPlatformer && a1->m_maybeChangedDirectionAngle > 80.0 ) { if ( a1->m_platformerMovingLeft ) { v5 = 0.0; } else if ( a1->m_platformerMovingRight ) { v5 = 0.0; } } PlayerObject::updateRotation(a1, a2, v5); }
GD Web Decomp Icon

GD Web Decomp

Raw Source