Files
LHY1339 41c79d8254 update
2026-01-15 22:04:27 +08:00

29 lines
445 B
C++

#pragma once
#include <Windows.h>
#include "cheat.h"
#include "gvalue.h"
void domain()
{
cheat::get()->main();
}
BOOL WINAPI DllMain(
HINSTANCE h_inst_dll,
DWORD fdw_reason,
LPVOID lpv_reserved
)
{
if (fdw_reason == DLL_PROCESS_ATTACH)
{
gvalue::dll_inst = h_inst_dll;
HANDLE h_thread = CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)domain, NULL, NULL, NULL);
if (h_thread)
{
CloseHandle(h_thread);
}
}
return TRUE;
}