mirror of
https://github.com/djdevin/recnet-plugin.git
synced 2026-09-09 15:11:32 -07:00
commit mostly nonworking code
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
#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);
|
||||
Reference in New Issue
Block a user