#include <Windows.h>
#include <stdio.h>
#include <iostream>
using namespace std;
DWORDLONG Pointer = 0x??????; // Pointer adress
int deger = ????; // new value
DWORD WINAPI Hile(LPVOID lpParam)
{
while (1)
{
HANDLE GAME = GetCurrentProcess();
WriteProcessMemory(Game, (LPVOID)Pointer, °er, sizeof(deger),0);
}
return 0;
}
BOOL WINAPI DLLMain(HINSTANCE hModule, DWORD dwAttached, LPVOID lpReserved)
{
if (dwAttached == DLL_PROCESS_ATTACH)
{
CreateThread(NULL, 0, &Hile, NULL, 0, NULL);
}
return 1;
}