//
// sub_C56590 from 0xc56590 to 0xc565e4 (84 bytes)
//
// 2 xrefs:
// > sub_C56154 @ 0xc563dc
// > sub_C56154 @ 0xc563e4
//
// 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_C56590(__int64 a1, __int64 a2, __int64 a3)
{
__int64 v5; // x21
__int64 v6; // x19
float result; // s0
v5 = *(_QWORD *)(a1 + 16);
v6 = 0;
if ( a3 > 0 )
{
do
{
result = LogL16toY(*(_WORD *)(v5 + 2 * v6));
*(float *)(a2 + 4 * v6++) = result;
}
while ( v6 != a3 );
}
return result;
}