MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / StartupHookMode

Function StartupHookMode

emmy_hook/src/emmy_hook.windows.cpp:417–428  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

415}
416
417int StartupHookMode(void* lpParam)
418{
419 const int pid = (int)GetCurrentProcessId();
420 EmmyFacade::Get().StartupHookMode(pid);
421
422 if (lpParam != nullptr && ((RemoteThreadParam*)lpParam)->bRedirect)
423 {
424 redirect(pid);
425 }
426
427 return 0;
428}
429
430void FindAndHook()
431{

Callers

nothing calls this directly

Calls 2

redirectFunction · 0.85
StartupHookModeMethod · 0.80

Tested by

no test coverage detected