// // PlayerObject::runBallRotation from 0x1002bb1e8 to 0x1002bb2e8 (256 bytes) // // 3 xrefs: // > PlayerObject::stopDashing @ 0x1002b9a3c // > PlayerObject::runRotateAction @ 0x1002b9f6c // > PlayerObject::collidedWithSlopeInternal @ 0x1002be298 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:02:26 +0000 // __int64 __fastcall PlayerObject::runBallRotation(__int64 result, float a2) { float v2; // s2 float v3; // s2 int v4; // w9 float v5; // s0 if ( (*(_BYTE *)(result + 2460) & 1) == 0 && (*(_BYTE *)(result + 2832) & 1) == 0 ) { *(_BYTE *)(result + 1640) = a2 != 1.0; *(float *)(result + 1780) = a2; v2 = *(float *)(result + 2476); if ( v2 == 0.7 ) { v3 = 1.2406; } else if ( v2 == 1.1 ) { v3 = 0.80424; } else if ( v2 == 1.3 ) { v3 = 0.66577; } else if ( v2 == 1.6 ) { v3 = 0.54094; } else { v3 = 1.0; } if ( *(_BYTE *)(result + 2423) ) v4 = -120; else v4 = 120; if ( *(_BYTE *)(result + 2426) ) v4 = -v4; v5 = (float)v4 / (float)(flt_1007635C0[*(float *)(result + 2472) == 1.0] * v3); *(float *)(result + 1776) = v5; if ( *(_BYTE *)(result + 2427) == 1 ) *(float *)(result + 1776) = -v5; *(_BYTE *)(result + 1784) = 1; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source