//
// sub_CD0B2 from 0xcd0b2 to 0xcd0f0 (62 bytes)
//
// 2 xrefs:
// > sub_CD2B4 @ 0xcd2d2
// > sub_CD2B4 @ 0xcd2da
//
// 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:56 +0000
//
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);
}