// // sub_A17CC from 0xa17cc to 0xa18ba (238 bytes) // // 1 xrefs: // > sub_A1218 @ 0xa1764 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // float *__fastcall sub_A17CC(float *result, int a2, int a3, int a4, _QWORD *a5) { int v5; // r8 int v6; // lr __int64 v7; // kr00_8 int v8; // r9 __int64 v9; // kr08_8 int v10; // r10 __int64 v11; // kr10_8 int v12; // r11 int i; // r12 v5 = a2 >> 2; while ( v5 ) { --v5; v6 = *(__int16 *)(a3 + 2 * *(_DWORD *)(a4 + 4)); v7 = *a5 + *(_QWORD *)a4; *(_QWORD *)a4 = v7; v8 = *(__int16 *)(a3 + 2 * HIDWORD(v7)); v9 = v7 + *a5; *(_QWORD *)a4 = v9; v10 = *(__int16 *)(a3 + 2 * HIDWORD(v9)); v11 = v9 + *a5; *(_QWORD *)a4 = v11; v12 = *(__int16 *)(a3 + 2 * HIDWORD(v11)); *(_QWORD *)a4 = v11 + *a5; result[3] = (float)v12 * 0.000030518; result[2] = (float)v10 * 0.000030518; result[1] = (float)v8 * 0.000030518; *result = (float)v6 * 0.000030518; result += 4; } for ( i = a2 & 3; i; --i ) { *result++ = (float)*(__int16 *)(a3 + 2 * *(_DWORD *)(a4 + 4)) * 0.000030518; *(_QWORD *)a4 += *a5; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source