//
// __raise_securityfailure from 0x1800e57d8 to 0x1800e580c (52 bytes)
//
// 2 xrefs:
// > __report_gsfailure @ 0x1800e58d4
// > ??> @ 0x1801c55f8
//
// 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 11:22:38 +0000
//
BOOL __fastcall _raise_securityfailure(struct _EXCEPTION_POINTERS *ExceptionInfo)
{
HANDLE CurrentProcess; // rax
SetUnhandledExceptionFilter(nullptr);
UnhandledExceptionFilter(ExceptionInfo);
CurrentProcess = GetCurrentProcess();
return TerminateProcess(CurrentProcess, 0xC0000409);
}