//
// __raise_securityfailure from 0x180120010 to 0x180120044 (52 bytes)
//
// 3 xrefs:
// > __report_gsfailure @ 0x18012010c
// > __report_securityfailure @ 0x1801201be
// > ??> @ 0x180202420
//
// 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);
}