//
// feholdexcept from 0x1801414f8 to 0x180141548 (80 bytes)
//
// 3 xrefs:
// > __acrt_fltout @ 0x18013e23d
// > ??> @ 0x180203cbc
// > ??> @ 0x180203cc8
//
// 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:55:05 +0000
//
int __cdecl feholdexcept(fenv_t *Env)
{
fenv_t v2; // rax
fenv_t Enva; // [rsp+38h] [rbp+10h] BYREF
Enva._Fe_ctl = 0;
Enva._Fe_stat = 0;
if ( fegetenv(&Enva) )
return 1;
v2 = Enva;
Enva._Fe_ctl |= 0x1Fu;
*Env = v2;
if ( fesetenv(&Enva) )
return 1;
clearfp();
return 0;
}