//
// sub_10044C340 from 0x10044c340 to 0x10044c424 (228 bytes)
//
// 1 xrefs:
// > sub_10044AC78 @ 0x10044b004
//
// 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_10044C340(__int64 a1, int a2, float *a3, __int64 a4, int a5, int a6, int a7, int a8)
{
float *v8; // x8
float *v9; // x8
double v11; // [xsp+0h] [xbp-10h]
v8 = *(float **)(a1 + 8);
switch ( a2 )
{
case 1:
v9 = v8 + 1;
goto LABEL_17;
case 2:
v9 = v8 + 2;
goto LABEL_17;
case 3:
v9 = v8 + 3;
goto LABEL_17;
case 5:
v9 = v8 + 6;
goto LABEL_17;
case 6:
v9 = v8 + 7;
goto LABEL_17;
case 7:
v9 = v8 + 8;
goto LABEL_17;
case 9:
v9 = v8 + 11;
goto LABEL_17;
case 10:
v9 = v8 + 12;
goto LABEL_17;
case 11:
v9 = v8 + 13;
goto LABEL_17;
case 13:
v9 = v8 + 16;
goto LABEL_17;
case 14:
v9 = v8 + 17;
goto LABEL_17;
case 15:
v9 = v8 + 18;
goto LABEL_17;
case 17:
v9 = v8 + 21;
goto LABEL_17;
case 18:
v9 = v8 + 22;
goto LABEL_17;
case 19:
v9 = v8 + 23;
LABEL_17:
*a3 = *v9;
break;
default:
break;
}
if ( a4 )
{
v11 = *a3;
sub_1004C7414(a4, 0x20u, (int)"%.02f", a4, a5, a6, a7, a8, SLOBYTE(v11));
}
return 0;
}