// // PlayerObject::runNormalRotation from 0x7512c0 to 0x7513c4 (260 bytes) // // 4 xrefs: // > PlayerObject::runNormalRotation @ 0x7513d4 // > PlayerObject::stopDashing @ 0x758cb8 // > PlayerObject::update @ 0x769468 // > @ 0x67348 // // 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:55 +0000 // __int64 __fastcall PlayerObject::runNormalRotation(PlayerObject *this, char a2, float a3) { float v4; // s8 float v5; // s9 int v6; // w19 int v7; // w0 float v8; // s2 __int64 result; // x0 float v10; // [xsp+30h] [xbp+30h] float v11; // [xsp+30h] [xbp+30h] if ( a2 || (v11 = a3, result = (unsigned __int8)PlayerObject::isFlying(this), a3 = v11, !(_BYTE)result) && (result = *((unsigned __int8 *)this + 2421), !*((_BYTE *)this + 2421)) && (result = *((unsigned __int8 *)this + 2422), !*((_BYTE *)this + 2422)) && (result = *((unsigned __int8 *)this + 2460), !*((_BYTE *)this + 2460)) && (!*((_BYTE *)this + 2832) || *((_BYTE *)this + 2721) || *((_BYTE *)this + 2720) || *((_BYTE *)this + 2809) || (result = *((unsigned __int8 *)this + 2810), *((_BYTE *)this + 2810))) ) { if ( *((float *)this + 618) == 1.0 ) { v4 = 0.43333; if ( !*((_BYTE *)this + 2427) ) goto LABEL_4; } else { v4 = 0.33333; if ( !*((_BYTE *)this + 2427) ) { LABEL_4: v5 = 1.0; LABEL_5: v10 = a3; v6 = PlayerObject::flipMod(this); v7 = PlayerObject::reverseMod(this); v8 = *((float *)this + 713); *((_BYTE *)this + 1784) = 1; result = (unsigned int)(180 * v6 * v7); *((float *)this + 444) = (float)(v10 * (float)((float)((float)(int)result * v5) * v8)) / v4; return result; } } v5 = -1.0; goto LABEL_5; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source