//
// sub_CD0B2 from 0xcd0b2 to 0xcd0f0 (62 bytes)
//
// 2 xrefs:
// > sub_CD2B4 @ 0xcd2d2
// > sub_CD2B4 @ 0xcd2da
//
// 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_CD0B2(int a1)
{
double v1; // d0
float v2; // s0
v1 = (double)(a1 & 0x1FFFFF);
if ( a1 < 0 )
v1 = -v1;
v2 = ldexp(v1, (((unsigned int)a1 >> 21) & 0x3FF) - 788);
return LODWORD(v2);
}