//
// _set_exp from 0x180132f68 to 0x180132fa0 (56 bytes)
//
// 3 xrefs:
// > ldexp @ 0x1801275c7
// > ldexp @ 0x1801275f3
// > ldexp @ 0x1801275fa
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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 10:54:59 +0000
//
double __fastcall set_exp(double a1, __int16 a2)
{
double v3; // [rsp+18h] [rbp+18h]
v3 = a1;
HIWORD(v3) = (16 * (a2 + 1022)) | HIWORD(a1) & 0x800F;
return v3;
}