// // PlayerObject::runBallRotation2 from 0x1404eb730 to 0x1404eb827 (247 bytes) // // 3 xrefs: // > PlayerObject::ringJump @ 0x1404f77a6 // > PlayerObject::ringJump @ 0x1404f7bb0 // > PlayerObject::flipGravity @ 0x1404f869b // // This function is hookable on this platform (idp: pc, 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:33:13 +0000 // void __fastcall PlayerObject::runBallRotation2(__int64 a1) { float v2; // xmm3_4 float v3; // xmm1_4 float v4; // xmm0_4 int v5; // ecx int v6; // eax double v7; // xmm1_8 if ( !*(_BYTE *)(a1 + 2540) ) { v2 = 1.0; if ( *(float *)(a1 + 2552) == 1.0 ) v3 = 1.0; else v3 = 0.80000001; v4 = *(float *)(a1 + 2556); if ( v4 == 0.69999999 ) { v2 = 1.2405638; } else if ( v4 == 1.1 ) { v2 = 0.80424345; } else if ( v4 == 1.3 ) { v2 = 0.66576928; } else if ( v4 == 1.6 ) { v2 = 0.54093748; } v5 = 340; if ( !*(_BYTE *)(a1 + 2503) ) v5 = -340; *(_BYTE *)(a1 + 1841) = 1; v6 = -1; v7 = v3; if ( !*(_BYTE *)(a1 + 2506) ) v6 = 1; *(float *)(a1 + 1832) = (float)((float)(v6 * v5) * *(float *)(a1 + 2956)) / (v7 * 0.8 * v2); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source