//
// sub_1005B4DEC from 0x1005b4dec to 0x1005b4e78 (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:09:12 +0000
//
__int64 __fastcall sub_1005B4DEC(_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_1005ED57C(a4, 0x20u, (int)v9, a4, a5, a6, a7, a8, SLOBYTE(v11));
}
break;
}
return 0;
}