I was really bored, so here it is. At least DllMain and the function referenced there. Doubt that there is anything else of relevance in it.
Code:
DWORD WINAPI HackThread(LPVOID lpThreadParameter)
{
while (true)
{
*(uint32_t*)0x2EF9B40 = 0x41700000;
*(uint32_t*)0x2EF9B70 = 0x41700000;
Sleep(100);
}
return 0;
}
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
if (fdwReason == DLL_PROCESS_ATTACH)
CloseHandle(CreateThread(nullptr, 0, &HackThread, hinstDLL, 0, nullptr));
return TRUE;
}
Didn't tried any of that and wrote it in notepad, so if there is a syntactic error, so be it. But the intentions there should be clear.
With best regards