// // snapRotation360 from 0x6234bc to 0x6234f8 (60 bytes) // // 5 xrefs: // > PlayerObject::limitDashRotation @ 0x62353c // > PlayerObject::limitDashRotation @ 0x623584 // > PlayerObject::limitDashRotation @ 0x623630 // > PlayerObject::startDashing @ 0x62a898 // > @ 0x6c5d0 // // 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 // float __fastcall snapRotation360(float *a1) { float result; // s0 result = *a1; if ( *a1 > 180.0 ) { result = result - 360.0; *a1 = result; } else if ( result < -180.0 ) { result = result + 360.0; *a1 = result; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source