// // PlayerObject::runBallRotation2 from 0x436460 to 0x436544 (228 bytes) // // 3 xrefs: // > PlayerObject::flipGravity @ 0x439bf6 // > PlayerObject::ringJump @ 0x449c72 // > PlayerObject::ringJump @ 0x449eda // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:48:19 +0000 // int __fastcall PlayerObject::runBallRotation2(int this) { int v1; // r4 float v2; // s17 float v3; // s15 float v4; // s16 int v5; // r5 float v6; // s14 v1 = this; if ( !*(_BYTE *)(this + 1996) ) { v2 = 0.8; v3 = *(float *)(this + 2012); if ( *(float *)(this + 2008) == 1.0 ) v2 = 1.0; if ( v3 == 0.7 ) { v4 = 1.2406; } else if ( v3 == 1.1 ) { v4 = 0.80424; } else if ( v3 == 1.3 ) { v4 = 0.66577; } else { v4 = 0.54094; if ( v3 != 1.6 ) v4 = 1.0; } v5 = PlayerObject::flipMod((PlayerObject *)this); this = PlayerObject::reverseMod((PlayerObject *)v1) * -340 * v5; v6 = (float)((float)this * *(float *)(v1 + 2340)) / (v2 * 0.8 * v4); *(float *)(v1 + 1472) = v6; *(_BYTE *)(v1 + 1481) = 1; } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source