//
// __acrt_invoke_user_matherr from 0x18013b7e4 to 0x18013b812 (46 bytes)
//
// 2 xrefs:
// > _umatherr @ 0x180133805
// > _call_matherr @ 0x180133951
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__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;
}