//
// sub_C438C from 0xc438c to 0xc4404 (120 bytes)
//
// 1 xrefs:
// > sub_C4B30 @ 0xc4b3c
//
// 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
//
__int64 __fastcall sub_C438C(__int64 a1, __int64 a2, __int64 a3, unsigned int a4, signed int a5)
{
signed int v5; // w9
unsigned int i; // w10
v5 = *(_DWORD *)(a1 + 2084);
if ( v5 )
{
sub_CDEB8(a1 + 544, a2, a3, (unsigned int)a5, a4, (float)*(int *)(a1 + 2080), *(float *)(a1 + 2140));
}
else
{
while ( v5 < a5 )
{
for ( i = v5; i < a5 * a4; i += a5 )
*(float *)(a3 + 4LL * i) = *(float *)(a1 + 2140) * *(float *)(a2 + 4LL * i);
++v5;
}
}
return 0;
}