//
// sub_10048C77C from 0x10048c77c to 0x10048c830 (180 bytes)
//
// 0 xrefs:
//
// 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_10048C77C(float *a1, int a2, _DWORD *a3, __int64 a4, int a5, int a6, int a7, int a8)
{
float *v8; // x8
const char *v9; // x2
double v11; // [xsp+0h] [xbp-10h]
switch ( a2 )
{
case 0:
*a3 = *((_DWORD *)a1 + 158);
if ( a4 )
{
v8 = a1 + 158;
v9 = "%.02f";
goto LABEL_11;
}
break;
case 1:
*a3 = *((_DWORD *)a1 + 159);
if ( a4 )
{
v8 = a1 + 159;
goto LABEL_10;
}
break;
case 2:
*a3 = *((_DWORD *)a1 + 161);
if ( a4 )
{
v8 = a1 + 161;
goto LABEL_10;
}
break;
case 3:
*a3 = *((_DWORD *)a1 + 162);
if ( a4 )
{
v8 = a1 + 162;
LABEL_10:
v9 = "%.1f";
LABEL_11:
v11 = *v8;
sub_1004C7414(a4, 0x20u, (int)v9, a4, a5, a6, a7, a8, SLOBYTE(v11));
}
break;
default:
return 0;
}
return 0;
}