//
// _set_exp from 0x180132f68 to 0x180132fa0 (56 bytes)
//
// 3 xrefs:
// > ldexp @ 0x1801275c7
// > ldexp @ 0x1801275f3
// > ldexp @ 0x1801275fa
//
// 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
//
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;
}