//
// sub_CFE28 from 0xcfe28 to 0xcfe62 (58 bytes)
//
// 2 xrefs:
// > sub_CFBA4 @ 0xcfd56
// > sub_CFBA4 @ 0xcfd60
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:41:58 +0000
//
double __fastcall sub_CFE28(int a1)
{
double v1; // d0
v1 = (double)(a1 & 0x1FFFFF);
if ( a1 < 0 )
v1 = -v1;
return ldexp(v1, (((unsigned int)a1 >> 21) & 0x3FF) - 788);
}