//
// __raise_securityfailure from 0x1800e0080 to 0x1800e00b4 (52 bytes)
//
// 2 xrefs:
// > __report_gsfailure @ 0x1800e017c
// > ??> @ 0x1801bb130
//
// 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
//
BOOL __fastcall _raise_securityfailure(struct _EXCEPTION_POINTERS *ExceptionInfo)
{
HANDLE CurrentProcess; // rax
SetUnhandledExceptionFilter(nullptr);
UnhandledExceptionFilter(ExceptionInfo);
CurrentProcess = GetCurrentProcess();
return TerminateProcess(CurrentProcess, 0xC0000409);
}