//
// sub_9E490 from 0x9e490 to 0x9e4d2 (66 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
//
int __fastcall sub_9E490(int a1)
{
float v1; // s0
int v2; // s2
v1 = (float)(*(float *)(a1 + 524) * 0.00000095367) * (float)*(unsigned int *)(a1 + 44);
if ( v1 > 1000000.0 )
v1 = 1000000.0;
v2 = 0;
if ( v1 >= 0.0 )
return LODWORD(v1);
return v2;
}