//
// sub_100491FD0 from 0x100491fd0 to 0x100492040 (112 bytes)
//
// 1 xrefs:
// > ??> @ 0x100851b88
//
// 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_100491FD0(__int64 *a1, int a2, _DWORD *a3, __int64 a4, int a5, int a6, int a7, int a8)
{
__int64 v8; // x8
float *v9; // x8
double v11; // [xsp+0h] [xbp-10h]
v8 = *a1;
if ( a2 == 1 )
{
*a3 = *(_DWORD *)(v8 + 1156);
if ( a4 )
{
v9 = (float *)(v8 + 1156);
goto LABEL_7;
}
}
else if ( !a2 )
{
*a3 = *(_DWORD *)(v8 + 1160);
if ( a4 )
{
v9 = (float *)(v8 + 1160);
LABEL_7:
v11 = *v9;
sub_1004C7414(a4, 0x20u, (int)"%.02f", a4, a5, a6, a7, a8, SLOBYTE(v11));
}
}
return 0;
}