

















if(OnMPGH)
{
iWrote = iCopiedPasted;
}
#include <windows.h>
#include <stdio.h>
int *Addy = (int*)0x2D624604; //Adress
DWORD ThreadID;
DWORD WINAPI Action(LPVOID lParam) {
long ammo=30; //Value to write
DWORD Protection;
while(1==1){
Sleep(10);
if(GetAsyncKeyState('Z') == -32767){ //Check for hotkey
VirtualProtect(Addy, 4, PAGE_READWRITE, &Protection);
memcpy(Addy, &t , sizeof(t));
VirtualProtect(Addy, 4, Protection, &Protection);
}
}
ExitThread(0);
}
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
if(fdwReason == DLL_PROCESS_ATTACH) {
MessageBox(0, "CA = Injected ", "Notice", MB_ICONEXCLAMATION | MB_OK);
CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)&Hack, 0, 0, &ThreadID);
}
return 0;
}
