// // PlayerObject::updateRotation from 0x1003efac0 to 0x1003efbe6 (294 bytes) // // 3 xrefs: // > PlayerObject::updateMove @ 0x1003ee46e // > PlayerObject::updateSlopeRotation @ 0x1003f98ef // > PlayerObject::updateRotation_1 @ 0x1003f9e85 // // 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 12:29:53 +0000 // __int64 __fastcall PlayerObject::updateRotation(int *a1, __m128 a2, double a3) { __m128 v3; // xmm2 __int64 result; // rax float v5; // [rsp-1Ch] [rbp-1Ch] if ( !*((_BYTE *)a1 + 2460) ) { v5 = a2.f32[0]; a2.f32[0] = (*(float (__fastcall **)(int *))(*(_QWORD *)a1 + 368LL))(a1) * 0.017453292; v3 = (__m128)(unsigned int)a1[619]; v3.f32[0] = v3.f32[0] * 0.175; if ( *((_BYTE *)a1 + 2417) == 1 ) { v3.f32[0] = v3.f32[0] * 0.5; } else if ( !*((_BYTE *)a1 + 2418) && !*((_BYTE *)a1 + 2420) && !*((_BYTE *)a1 + 2428) && !*((_BYTE *)a1 + 2419) && *((_BYTE *)a1 + 2500) == 1 && !*((_BYTE *)a1 + 2408) && !*((_BYTE *)a1 + 2409) ) { v3.f32[0] = v3.f32[0] * 3.0; } v3.f32[0] = fminf(v3.f32[0] * v5, v5); a2.f32[0] = sub_10026FF80(a2, *(float *)&a3 * 0.017453292, v3) * 57.29578; if ( *((_BYTE *)a1 + 2832) == 1 && (*((_BYTE *)a1 + 2417) || *((_BYTE *)a1 + 2418) || *((_BYTE *)a1 + 2420) || *((_BYTE *)a1 + 2428) == 1) && *((_BYTE *)a1 + 2408) == 1 ) { *(_QWORD *)&a3 = LODWORD(a3); if ( a1[608] <= 0 ) a3 = *(double *)a2.i64; *(double *)a2.i64 = a3; } return (*(__int64 (__fastcall **)(int *, double))(*(_QWORD *)a1 + 360LL))(a1, *(double *)a2.i64); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source