{"type": "func", "start": 6443766956, "end": 6443767032, "name": "fesetenv", "pseudocode": "// \n// fesetenv from 0x1801414ac to 0x1801414f8 (76 bytes)\n// \n// 4 xrefs:\n// > __acrt_fltout @ 0x18013f3cb\n// > feholdexcept @ 0x18014152b\n// > <???> @ 0x180203cb0\n// > <???> @ 0x180203cbc\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 fesetenv(const fenv_t *Env)\n{\n  fenv_t Enva; // [rsp+30h] [rbp+8h] BYREF\n\n  _acrt_fenv_set_control(Env->_Fe_ctl);\n  _acrt_fenv_set_status(Env->_Fe_stat);\n  Enva = 0;\n  return fegetenv(&Enva) || Env->_Fe_ctl != Enva._Fe_ctl || Env->_Fe_stat != Enva._Fe_stat;\n}", "assembly": "; \n; fesetenv from 0x1801414ac to 0x1801414f8 (76 bytes)\n; \n; 4 xrefs:\n; > __acrt_fltout @ 0x18013f3cb\n; > feholdexcept @ 0x18014152b\n; > <???> @ 0x180203cb0\n; > <???> @ 0x180203cbc\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, 0x1801414ac\nsub     rsp, 20h                                                       ; +0x2, 0x1801414ae\nmov     rbx, rcx                                                       ; +0x6, 0x1801414b2\nmov     ecx, [rcx]                                                     ; +0x9, 0x1801414b5\ncall    __acrt_fenv_set_control                                        ; +0xb, 0x1801414b7\nmov     ecx, [rbx+4]                                                   ; +0x10, 0x1801414bc\ncall    __acrt_fenv_set_status                                         ; +0x13, 0x1801414bf\nand     qword ptr [rsp+28h+Env._Fe_ctl], 0                             ; +0x18, 0x1801414c4\nlea     rcx, [rsp+28h+Env]; Env                                        ; +0x1e, 0x1801414ca\ncall    fegetenv                                                       ; +0x23, 0x1801414cf\ntest    eax, eax                                                       ; +0x28, 0x1801414d4\njnz     short loc_1801414ED                                            ; +0x2a, 0x1801414d6\nmov     eax, [rsp+28h+Env._Fe_ctl]                                     ; +0x2c, 0x1801414d8\ncmp     [rbx], eax                                                     ; +0x30, 0x1801414dc\njnz     short loc_1801414ED                                            ; +0x32, 0x1801414de\nmov     eax, [rsp+28h+Env._Fe_stat]                                    ; +0x34, 0x1801414e0\ncmp     [rbx+4], eax                                                   ; +0x38, 0x1801414e4\njnz     short loc_1801414ED                                            ; +0x3b, 0x1801414e7\nxor     eax, eax                                                       ; +0x3d, 0x1801414e9\njmp     short loc_1801414F2                                            ; +0x3f, 0x1801414eb\nmov     eax, 1                                                         ; +0x41, 0x1801414ed\nadd     rsp, 20h                                                       ; +0x46, 0x1801414f2\npop     rbx                                                            ; +0x4a, 0x1801414f6\nretn                                                                   ; +0x4b, 0x1801414f7", "xrefs": ["__acrt_fltout @ 0x18013f3cb", "feholdexcept @ 0x18014152b", "<???> @ 0x180203cb0", "<???> @ 0x180203cbc"], "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"}