// // sub_1004A1888 from 0x1004a1888 to 0x1004a1908 (128 bytes) // // 2 xrefs: // > sub_1004A0764 @ 0x1004a0834 // > sub_1004A0A1C @ 0x1004a0ab4 // // 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:06:02 +0000 // float __fastcall sub_1004A1888(__int64 a1) { __int64 v2; // x8 float result; // s0 __int64 v4; // x0 unsigned int v5; // w20 __int64 v6; // x8 v2 = *(_QWORD *)(a1 + 680); if ( v2 ) { result = *(float *)(a1 + 1140); *(float *)(v2 + 1456) = result; } else { v4 = *(_QWORD *)(a1 + 688); if ( v4 ) { if ( (unsigned int)sub_1002E757C(v4) ) { v5 = 0; do *(_DWORD *)(sub_1002E75A0(*(_QWORD *)(a1 + 688), v5++) + 1456) = *(_DWORD *)(a1 + 1140); while ( v5 < (unsigned int)sub_1002E757C(*(_QWORD *)(a1 + 688)) ); } } else { v6 = *(_QWORD *)(a1 + 1144); if ( v6 ) { result = *(float *)(a1 + 1140); *(float *)(v6 + 96) = result; } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source