Files
recnet-plugin/include/quit_trace.h
T
2026-08-18 15:53:45 -04:00

10 lines
406 B
C

#pragma once
// Detours UnityEngine.Application.Quit() / Quit(int) to log the managed caller and (optionally)
// suppress the shutdown. See src/unity/quit_trace.c.
void PatchQuitTrace(void);
// Call-through hooks on kernel32!ExitProcess / !TerminateProcess that log who tore the process
// down. Installed by PatchQuitTrace; separate entry point so it can be used standalone.
void HookProcessExit(void);