// // _umatherr from 0x180133764 to 0x180133838 (212 bytes) // // 2 xrefs: // > _except2 @ 0x180133115 // > @ 0x180203164 // // 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:54:59 +0000 // double __fastcall umatherr(int a1, int a2, double a3, double a4, double a5, __int64 a6) { _DWORD *v7; // rax int v8; // r8d __int64 v9; // rax int v11; // [rsp+20h] [rbp-38h] BYREF __int64 v12; // [rsp+28h] [rbp-30h] double v13; // [rsp+30h] [rbp-28h] double v14; // [rsp+38h] [rbp-20h] double v15; // [rsp+40h] [rbp-18h] v7 = &unk_180173180; v8 = 0; while ( *v7 != a2 ) { ++v8; v7 += 4; if ( (__int64)v7 >= (__int64)&dword_180173350 ) { v9 = 0; goto LABEL_6; } } v9 = *((_QWORD *)&unk_180173180 + 2 * v8 + 1); LABEL_6: v12 = v9; if ( v9 ) { v13 = a3; v14 = a4; v15 = a5; v11 = a1; ctrlfp(a6, 65472); if ( !(unsigned int)_acrt_invoke_user_matherr(&v11) ) set_errno_from_matherr(a1); return v15; } else { ctrlfp(a6, 65472); set_errno_from_matherr(a1); return a5; } }