Initial Commit

This commit is contained in:
tzx
2026-01-30 21:43:50 -08:00
commit 4fabd7cd1a
10 changed files with 302 additions and 0 deletions

24
dllmain.cpp Executable file
View File

@@ -0,0 +1,24 @@
// dllmain.cpp : Defines the entry point for the DLL application.
#include "pch.h"
#include "patcher.h"
BOOL APIENTRY DllMain( HMODULE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved
)
{
switch (ul_reason_for_call)
{
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(hModule);
Main();
break;
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}