//
// sub_AE0C4 from 0xae0c4 to 0xae12c (104 bytes)
//
// 1 xrefs:
// > sub_AD210 @ 0xad21c
//
// 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_AE0C4(__int64 a1, unsigned int a2, _DWORD *a3, __int64 a4)
{
float v4; // s0
__int64 v5; // x8
if ( a2 == 16 )
{
*a3 = *(_DWORD *)(a1 + 548);
if ( a4 )
{
v4 = *(float *)(a1 + 548);
LABEL_7:
sub_E3FC8(a4, 32, "%.02f", v4);
}
}
else if ( a2 <= 0xF )
{
v5 = a1 + 4LL * (int)a2;
*a3 = *(_DWORD *)(v5 + 616);
if ( a4 )
{
v4 = *(float *)(v5 + 616);
goto LABEL_7;
}
}
return 0;
}