//
// sub_1004F7464 from 0x1004f7464 to 0x1004f74d8 (116 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_1004F7464(__int64 a1, unsigned int a2, _DWORD *a3, char *a4, int a5, int a6, int a7, int a8)
{
float *v8; // x8
__int64 v9; // x8
double v11; // [xsp+0h] [xbp-10h]
if ( a2 == 16 )
{
*a3 = *(_DWORD *)(a1 + 540);
if ( a4 )
{
v8 = (float *)(a1 + 540);
LABEL_7:
v11 = *v8;
sub_1004C7414(a4, 0x20u, "%.02f", (int)a4, a5, a6, a7, a8, SLOBYTE(v11));
}
}
else if ( a2 <= 0xF )
{
v9 = a1 + 4LL * a2;
*a3 = *(_DWORD *)(v9 + 608);
if ( a4 )
{
v8 = (float *)(v9 + 608);
goto LABEL_7;
}
}
return 0;
}