//
// __acrt_invoke_user_matherr from 0x18013b7e4 to 0x18013b812 (46 bytes)
//
// 2 xrefs:
// > _umatherr @ 0x180133805
// > _call_matherr @ 0x180133951
//
// 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:02 +0000
//
__int64 __fastcall _acrt_invoke_user_matherr(__int64 a1)
{
__int64 (__fastcall *v1)(__int64); // rdx
v1 = (__int64 (__fastcall *)(__int64))__ROR8__(qword_1801F5620 ^ _security_cookie, _security_cookie & 0x3F);
if ( v1 )
return v1(a1);
else
return 0;
}