//
// sub_C0954 from 0xc0954 to 0xc095c (8 bytes)
//
// 1 xrefs:
// > ??> @ 0x11a0c0
//
// 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_C0954(float *result, int a2, __int64 a3, __int64 a4, _QWORD *a5)
{
int v5; // w9
float v6; // s1
int v7; // w10
unsigned int v8; // w11
float v9; // s4
for ( ; a2; *(_QWORD *)a4 += *a5 )
{
v5 = 0;
v6 = (float)*(unsigned int *)a4 * 2.3283e-10;
while ( v5 < 6 )
{
v7 = *(_DWORD *)(a4 + 4);
v8 = v5 + 6 * v7;
v9 = *(float *)(a3 + 4LL * (unsigned int)(v5 + 6 * (v7 + 1)));
++v5;
*result++ = (float)(*(float *)(a3 + 4LL * v8) * (float)(1.0 - v6)) + (float)(v9 * v6);
}
--a2;
}
return result;
}