// // PlayerObject::updateSlopeRotation from 0x100223ebc to 0x100223f40 (132 bytes) // // 2 xrefs: // > PlayerObject::collidedWithSlopeInternal @ 0x1002216a4 // > PlayerObject::updateRotation_1 @ 0x1002242f4 // // 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::updateSlopeRotation(PlayerObject *a1, float a2) { float v4; // s0 float v5; // s1 v4 = a1->m_slopeRotation * 57.2957802; v5 = PlayerObject::convertToClosestRotation(a1, v4); if ( a1->m_isPlatformer && a1->m_maybeChangedDirectionAngle > 80.0 && (a1->m_platformerMovingLeft || a1->m_platformerMovingRight) ) { v5 = 0.0; } PlayerObject::updateRotation(a1, a2, v5); }
GD Web Decomp Icon

GD Web Decomp

Raw Source