//
// sub_1005724A8 from 0x1005724a8 to 0x10057258c (228 bytes)
//
// 1 xrefs:
// > sub_100570DE0 @ 0x10057116c
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:08:19 +0000
//
__int64 __fastcall sub_1005724A8(__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_1005ED57C(a4, 0x20u, (int)"%.02f", a4, a5, a6, a7, a8, SLOBYTE(v11));
}
return 0;
}