//
// __GSHandlerCheck_EH from 0x18014268c to 0x18014270b (127 bytes)
//
// 2 xrefs:
// > ??> @ 0x180192730
// > ??> @ 0x180203d70
//
// 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:05 +0000
//
__int64 __fastcall _GSHandlerCheck_EH(struct EHExceptionRecord *a1, unsigned __int64 a2, __int64 a3, __int64 a4)
{
__int64 v4; // rbx
__int64 result; // rax
v4 = *(_QWORD *)(a4 + 56);
_GSHandlerCheckCommon(a2, a4);
result = 1;
if ( ((((a1->ExceptionFlags & 0x66) != 0) + 1) & *(_DWORD *)(v4 + 4)) != 0 )
return _CxxFrameHandler3(a1, a2, a3, a4);
return result;
}