// // PlayerObject::runBallRotation from 0x436338 to 0x436432 (250 bytes) // // 3 xrefs: // > PlayerObject::runRotateAction @ 0x43715c // > PlayerObject::stopDashing @ 0x43bbaa // > PlayerObject::collidedWithSlopeInternal @ 0x44225c // // 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::runBallRotation(int this, float a2) { int v2; // r4 float v3; // s17 float v4; // s15 float v5; // s16 int v6; // r5 float v7; // s15 v2 = this; if ( !*(_BYTE *)(this + 1996) && !*(_BYTE *)(this + 2320) ) { v3 = 0.8; *(_BYTE *)(this + 1392) = a2 != 1.0; *(float *)(this + 1476) = a2; v4 = *(float *)(this + 2012); if ( *(float *)(this + 2008) == 1.0 ) v3 = 1.0; if ( v4 == 0.7 ) { v5 = 1.2406; } else if ( v4 == 1.1 ) { v5 = 0.80424; } else if ( v4 == 1.3 ) { v5 = 0.66577; } else { v5 = 0.54094; if ( v4 != 1.6 ) v5 = 1.0; } v6 = PlayerObject::flipMod((PlayerObject *)this); this = PlayerObject::reverseMod((PlayerObject *)v2) * 120 * v6; v7 = (float)this / (float)((float)(v3 * 0.2) * v5); *(float *)(v2 + 1472) = v7; if ( *(_BYTE *)(v2 + 1963) ) *(float *)(v2 + 1472) = -v7; *(_BYTE *)(v2 + 1480) = 1; } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source