{"type": "func", "start": 6443710728, "end": 6443710829, "name": "_call_matherr", "pseudocode": "// \n// _call_matherr from 0x180133908 to 0x18013396d (101 bytes)\n// \n// 3 xrefs:\n// > _handle_error @ 0x180133b0e\n// > _handle_errorf @ 0x180133c3e\n// > <???> @ 0x1802031a0\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\ndouble __fastcall call_matherr(int a1, __int64 a2, __int64 a3, double a4, __int64 a5, double a6, __int64 a7)\n{\n  int v9; // [rsp+20h] [rbp-38h] BYREF\n  __int64 v10; // [rsp+28h] [rbp-30h]\n  double v11; // [rsp+30h] [rbp-28h]\n  __int64 v12; // [rsp+38h] [rbp-20h]\n  double v13; // [rsp+40h] [rbp-18h]\n\n  v9 = a1;\n  v12 = a5;\n  v13 = a6;\n  v11 = a4;\n  v10 = a3;\n  ctrlfp(a7, 65472);\n  if ( !(unsigned int)_acrt_invoke_user_matherr(&v9) )\n    set_errno_from_matherr(a1);\n  return v13;\n}", "assembly": "; \n; _call_matherr from 0x180133908 to 0x18013396d (101 bytes)\n; \n; 3 xrefs:\n; > _handle_error @ 0x180133b0e\n; > _handle_errorf @ 0x180133c3e\n; > <???> @ 0x1802031a0\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\nmov     rax, rsp                                                       ; +0x0, 0x180133908\npush    rbx                                                            ; +0x3, 0x18013390b\nsub     rsp, 50h                                                       ; +0x4, 0x18013390c\nmovsd   xmm0, [rsp+58h+arg_20]                                         ; +0x8, 0x180133910\nmov     ebx, ecx                                                       ; +0x11, 0x180133919\nmovsd   xmm1, [rsp+58h+arg_28]                                         ; +0x13, 0x18013391b\nmov     edx, 0FFC0h                                                    ; +0x1c, 0x180133924\nmov     [rax-38h], ecx                                                 ; +0x21, 0x180133929\nmov     rcx, [rsp+58h+arg_30]                                          ; +0x24, 0x18013392c\nmovsd   qword ptr [rax-20h], xmm0                                      ; +0x2c, 0x180133934\nmovsd   qword ptr [rax-18h], xmm1                                      ; +0x31, 0x180133939\nmovsd   qword ptr [rax-28h], xmm3                                      ; +0x36, 0x18013393e\nmov     [rax-30h], r8                                                  ; +0x3b, 0x180133943\ncall    _ctrlfp                                                        ; +0x3f, 0x180133947\nlea     rcx, [rsp+58h+var_38]                                          ; +0x44, 0x18013394c\ncall    __acrt_invoke_user_matherr                                     ; +0x49, 0x180133951\ntest    eax, eax                                                       ; +0x4e, 0x180133956\njnz     short loc_180133961                                            ; +0x50, 0x180133958\nmov     ecx, ebx                                                       ; +0x52, 0x18013395a\ncall    _set_errno_from_matherr                                        ; +0x54, 0x18013395c\nmovsd   xmm0, [rsp+58h+var_18]                                         ; +0x59, 0x180133961\nadd     rsp, 50h                                                       ; +0x5f, 0x180133967\npop     rbx                                                            ; +0x63, 0x18013396b\nretn                                                                   ; +0x64, 0x18013396c", "xrefs": ["_handle_error @ 0x180133b0e", "_handle_errorf @ 0x180133c3e", "<???> @ 0x1802031a0"], "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"}