// // exit_or_terminate_process from 0x1801319b8 to 0x180131a02 (74 bytes) // // 3 xrefs: // > common_exit @ 0x1801319b2 // > @ 0x180202f18 // > @ 0x180202f24 // // 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 // void __fastcall __noreturn exit_or_terminate_process(UINT a1) { HANDLE CurrentProcess; // rax if ( (unsigned int)_acrt_get_process_end_policy() != 1 && (NtCurrentPeb()->NtGlobalFlag & 0x100) == 0 ) { CurrentProcess = GetCurrentProcess(); TerminateProcess(CurrentProcess, a1); } try_cor_exit_process(a1); ExitProcess(a1); }