//
// sub_10049A97C from 0x10049a97c to 0x10049a9b8 (60 bytes)
//
// 2 xrefs:
// > ??> @ 0x1008280a0
// > ??> @ 0x100828138
//
// 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
//
float __fastcall sub_10049A97C(__int64 a1)
{
float v1; // s0
float v2; // s1
bool v3; // nf
float result; // s0
v1 = *(float *)(a1 + 724) * (float)((float)*(unsigned int *)(a1 + 44) * 0.00000095367);
v2 = fminf(v1, 1000000.0);
v3 = v1 < 0.0;
result = 0.0;
if ( !v3 )
return v2;
return result;
}