//
// sub_FB4A8 from 0xfb4a8 to 0xfb4dc (52 bytes)
//
// 2 xrefs:
// > sub_FB164 @ 0xfb38c
// > sub_FB164 @ 0xfb398
//
// 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_FB4A8(int a1)
{
double v1; // d0
v1 = (double)(a1 & 0x1FFFFF);
if ( a1 < 0 )
v1 = -(double)(a1 & 0x1FFFFF);
return ldexp(v1, (((unsigned int)a1 >> 21) & 0x3FF) - 788);
}