//
// sub_100495280 from 0x100495280 to 0x100495308 (136 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_100495280(float *a1, int a2, _DWORD *a3, __int64 a4, int a5, int a6, int a7, int a8)
{
float *v8; // x8
double v10; // [xsp+0h] [xbp-10h]
switch ( a2 )
{
case 2:
*a3 = *((_DWORD *)a1 + 274);
if ( a4 )
{
v8 = a1 + 274;
goto LABEL_10;
}
break;
case 1:
*a3 = *((_DWORD *)a1 + 273);
if ( a4 )
{
v8 = a1 + 273;
goto LABEL_10;
}
break;
case 0:
*a3 = *((_DWORD *)a1 + 272);
if ( a4 )
{
v8 = a1 + 272;
LABEL_10:
v10 = *v8;
sub_1004C7414(a4, 0x20u, (int)"%.02f", a4, a5, a6, a7, a8, SLOBYTE(v10));
}
break;
}
return 0;
}