// // sub_C05D8 from 0xc05d8 to 0xc05e0 (8 bytes) // // 1 xrefs: // > @ 0x11a090 // // 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_C05D8(float *result, int a2, __int64 a3, __int64 a4, _QWORD *a5) { int v5; // w10 float v6; // s1 int v7; // w11 int v8; // w12 int v9; // w11 for ( ; a2; *(_QWORD *)a4 += *a5 ) { v5 = 0; v6 = (float)*(unsigned int *)a4 * 2.3283e-10; while ( v5 < 4 ) { v7 = *(_DWORD *)(a4 + 4); v8 = *(__int16 *)(a3 + 2LL * (unsigned int)(v5 + 4 * v7)); v9 = *(__int16 *)(a3 + 2LL * (unsigned int)(v5 + 4 * (v7 + 1))); ++v5; *result++ = (float)((float)((float)(1.0 - v6) * (float)v8) + (float)(v6 * (float)v9)) * 0.000030518; } --a2; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source