// // PlayerObject::updateRotation from 0x1002b9f7c to 0x1002ba0bc (320 bytes) // // 3 xrefs: // > PlayerObject::updateMove @ 0x1002b8da8 // > sub_1002C0AE0 @ 0x1002c0b60 // > PlayerObject::updateRotation_1 @ 0x1002c1078 // // 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 11:02:25 +0000 // float *__fastcall PlayerObject::updateRotation(float *result, float a2, float a3) { float *v5; // x19 float v6; // s10 __n128 v7; // q0 __n128 v8; // q2 float v9; // s1 float v10; // s1 __n128 v11; // q0 if ( ((_BYTE)result[615] & 1) == 0 ) { v5 = result; v6 = a3 * 0.017453; v7.n128_f32[0] = (*(float (__fastcall **)(float *))(*(_QWORD *)result + 368LL))(result) * 0.017453; v9 = v5[619] * 0.175; if ( *((_BYTE *)v5 + 2417) == 1 ) { v9 = v9 * 0.5; } else if ( (*((_BYTE *)v5 + 2418) & 1) == 0 && ((_BYTE)v5[605] & 1) == 0 && ((_BYTE)v5[607] & 1) == 0 && (*((_BYTE *)v5 + 2419) & 1) == 0 && *((_BYTE *)v5 + 2500) == 1 && ((_BYTE)v5[602] & 1) == 0 && !*((_BYTE *)v5 + 2409) ) { v9 = v9 * 3.0; } v10 = v9 * a2; if ( v10 >= a2 ) v8.n128_f32[0] = a2; else v8.n128_f32[0] = v10; v11.n128_f32[0] = sub_10045A0E8(v7, v6, v8) * 57.296; if ( *((_BYTE *)v5 + 2832) == 1 && ((*((_BYTE *)v5 + 2417) & 1) != 0 || (*((_BYTE *)v5 + 2418) & 1) != 0 || ((_BYTE)v5[605] & 1) != 0 || *((_BYTE *)v5 + 2428) == 1) && *((_BYTE *)v5 + 2408) == 1 && *((int *)v5 + 608) > 0 ) { v11.n128_f32[0] = a3; } return (float *)(*(__int64 (__fastcall **)(float *, __n128))(*(_QWORD *)v5 + 360LL))(v5, v11); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source