//
// _copysign from 0x180132e04 to 0x180132e38 (52 bytes)
//
// 1 xrefs:
// > ldexp @ 0x18012760f
//
// 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 __cdecl copysign(double Number, double Sign)
{
if ( (__int64)(*(_QWORD *)&Number ^ *(_QWORD *)&Sign) < 0 )
*(_QWORD *)&Number ^= 0x8000000000000000uLL;
return Number;
}