//
// sub_5C324 from 0x5c324 to 0x5c37a (86 bytes)
//
// 1 xrefs:
// > sub_5C446 @ 0x5c44c
//
// 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
//
int __fastcall sub_5C324(float *a1, int a2, float *a3, int a4)
{
float v4; // s0
switch ( a2 )
{
case 2:
*a3 = sqrtf(a1[98]);
if ( a4 )
{
v4 = a1[98];
goto LABEL_10;
}
break;
case 1:
*a3 = a1[101];
if ( a4 )
{
v4 = a1[101];
goto LABEL_10;
}
break;
case 0:
*a3 = a1[100];
if ( a4 )
{
v4 = a1[100];
LABEL_10:
sub_BE420(a4, 32, "%.02f", v4);
}
break;
}
return 0;
}