//
// sub_1004E691C from 0x1004e691c to 0x1004e6950 (52 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
//
float __fastcall sub_1004E691C(int a1)
{
double v1; // d0
v1 = (double)(a1 & 0x1FFFFF);
if ( a1 < 0 )
v1 = -v1;
return ldexp(v1, (((unsigned int)a1 >> 21) & 0x3FF) - 788);
}