//
// __raise_securityfailure from 0x1404d07e0 to 0x1404d0814 (52 bytes)
//
// 3 xrefs:
// > __report_gsfailure @ 0x1404d08dc
// > __report_securityfailure @ 0x1404d098e
// > ??> @ 0x1406dd664
//
// 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);
}