//
// sub_10055B2B4 from 0x10055b2b4 to 0x10055b340 (140 bytes)
//
// 0 xrefs:
//
// 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:01 +0000
//
__int64 __fastcall sub_10055B2B4(float *a1, int a2, float *a3, __int64 a4, int a5, int a6, int a7, int a8)
{
float *v8; // x8
double v10; // [xsp+0h] [xbp-10h]
switch ( a2 )
{
case 2:
*a3 = sqrtf(a1[138]);
if ( a4 )
{
v8 = a1 + 138;
goto LABEL_10;
}
break;
case 1:
*a3 = a1[141];
if ( a4 )
{
v8 = a1 + 141;
goto LABEL_10;
}
break;
case 0:
*a3 = a1[140];
if ( a4 )
{
v8 = a1 + 140;
LABEL_10:
v10 = *v8;
sub_1005ED57C(a4, 0x20u, (int)"%.02f", a4, a5, a6, a7, a8, SLOBYTE(v10));
}
break;
}
return 0;
}