//
// sub_10048EC84 from 0x10048ec84 to 0x10048ed10 (140 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_10048EC84(_DWORD *a1, int a2, _DWORD *a3, __int64 a4, int a5, int a6, int a7, int a8)
{
_DWORD *v8; // x8
const char *v9; // x2
double v11; // [xsp+0h] [xbp-10h]
v8 = a1 + 8345;
switch ( a2 )
{
case 2:
v8 = a1 + 8347;
*a3 = a1[8347];
if ( !a4 )
return 0;
goto LABEL_9;
case 1:
*a3 = *v8;
if ( !a4 )
return 0;
LABEL_9:
v9 = "%.02f";
goto LABEL_10;
case 0:
v8 = a1 + 8346;
*a3 = a1[8346];
if ( a4 )
{
v9 = "%.1f";
LABEL_10:
v11 = *(float *)v8;
sub_1004C7414(a4, 0x20u, (int)v9, a4, a5, a6, a7, a8, SLOBYTE(v11));
}
break;
}
return 0;
}