{"type": "func", "start": 6443767032, "end": 6443767112, "name": "feholdexcept", "pseudocode": "// \n// feholdexcept from 0x1801414f8 to 0x180141548 (80 bytes)\n// \n// 3 xrefs:\n// > __acrt_fltout @ 0x18013e23d\n// > <???> @ 0x180203cbc\n// > <???> @ 0x180203cc8\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nint __cdecl feholdexcept(fenv_t *Env)\n{\n  fenv_t v2; // rax\n  fenv_t Enva; // [rsp+38h] [rbp+10h] BYREF\n\n  Enva._Fe_ctl = 0;\n  Enva._Fe_stat = 0;\n  if ( fegetenv(&Enva) )\n    return 1;\n  v2 = Enva;\n  Enva._Fe_ctl |= 0x1Fu;\n  *Env = v2;\n  if ( fesetenv(&Enva) )\n    return 1;\n  clearfp();\n  return 0;\n}", "assembly": "; \n; feholdexcept from 0x1801414f8 to 0x180141548 (80 bytes)\n; \n; 3 xrefs:\n; > __acrt_fltout @ 0x18013e23d\n; > <???> @ 0x180203cbc\n; > <???> @ 0x180203cc8\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbx                                                            ; +0x0, 0x1801414f8\nsub     rsp, 20h                                                       ; +0x2, 0x1801414fa\nand     [rsp+28h+Env._Fe_ctl], 0                                       ; +0x6, 0x1801414fe\nmov     rbx, rcx                                                       ; +0xb, 0x180141503\nand     [rsp+28h+Env._Fe_stat], 0                                      ; +0xe, 0x180141506\nlea     rcx, [rsp+28h+Env]; Env                                        ; +0x13, 0x18014150b\ncall    fegetenv                                                       ; +0x18, 0x180141510\ntest    eax, eax                                                       ; +0x1d, 0x180141515\njnz     short loc_18014153D                                            ; +0x1f, 0x180141517\nmov     rax, qword ptr [rsp+28h+Env._Fe_ctl]                           ; +0x21, 0x180141519\nlea     rcx, [rsp+28h+Env]; Env                                        ; +0x26, 0x18014151e\nor      [rsp+28h+Env._Fe_ctl], 1Fh                                     ; +0x2b, 0x180141523\nmov     [rbx], rax                                                     ; +0x30, 0x180141528\ncall    fesetenv                                                       ; +0x33, 0x18014152b\ntest    eax, eax                                                       ; +0x38, 0x180141530\njnz     short loc_18014153D                                            ; +0x3a, 0x180141532\ncall    _clearfp                                                       ; +0x3c, 0x180141534\nxor     eax, eax                                                       ; +0x41, 0x180141539\njmp     short loc_180141542                                            ; +0x43, 0x18014153b\nmov     eax, 1                                                         ; +0x45, 0x18014153d\nadd     rsp, 20h                                                       ; +0x4a, 0x180141542\npop     rbx                                                            ; +0x4e, 0x180141546\nretn                                                                   ; +0x4f, 0x180141547", "xrefs": ["__acrt_fltout @ 0x18013e23d", "<???> @ 0x180203cbc", "<???> @ 0x180203cc8"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}