//
// sub_10061C2E0 from 0x10061c2e0 to 0x10061c358 (120 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009db820
//
// 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:10:16 +0000
//
__int64 __fastcall sub_10061C2E0(__int64 *a1, unsigned int a2, _DWORD *a3, char *a4, int a5, int a6, int a7, int a8)
{
__int64 v8; // x8
float *v9; // x8
__int64 v10; // x8
double v12; // [xsp+0h] [xbp-10h]
v8 = *a1;
if ( a2 == 16 )
{
*a3 = *(_DWORD *)(v8 + 540);
if ( a4 )
{
v9 = (float *)(v8 + 540);
LABEL_7:
v12 = *v9;
sub_1005ED57C(a4, 0x20u, "%.02f", (int)a4, a5, a6, a7, a8, SLOBYTE(v12));
}
}
else if ( a2 <= 0xF )
{
v10 = v8 + 4LL * a2;
*a3 = *(_DWORD *)(v10 + 608);
if ( a4 )
{
v9 = (float *)(v10 + 608);
goto LABEL_7;
}
}
return 0;
}