// // PlayerObject::runBallRotation2 from 0x7503a8 to 0x7504a8 (256 bytes) // // 4 xrefs: // > PlayerObject::flipGravity @ 0x75505c // > PlayerObject::ringJump @ 0x76a678 // > PlayerObject::ringJump @ 0x76a914 // > @ 0x8a838 // // 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 12:52:54 +0000 // __int64 __fastcall PlayerObject::runBallRotation2(__int64 this) { float v1; // s8 float v2; // s0 float v3; // s9 __int64 v4; // x20 int v5; // w19 int v6; // w0 float v7; // s0 if ( !*(_BYTE *)(this + 2460) ) { v1 = 1.0; if ( *(float *)(this + 2472) == 1.0 ) { v2 = *(float *)(this + 2476); if ( v2 == 0.7 ) { LABEL_4: v3 = 1.2406; LABEL_5: v4 = this; v5 = PlayerObject::flipMod((PlayerObject *)this); v6 = PlayerObject::reverseMod((PlayerObject *)v4); *(_BYTE *)(v4 + 1785) = 1; this = (unsigned int)(-340 * v5 * v6); v7 = (float)((float)(int)this * *(float *)(v4 + 2852)) / (v1 * 0.8 * v3); *(float *)(v4 + 1776) = v7; return this; } } else { v2 = *(float *)(this + 2476); v1 = 0.8; if ( v2 == 0.7 ) goto LABEL_4; } 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; } goto LABEL_5; } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source