[Release][C++ Code] GM/AOE/Range

09/29/2017 13:30 Lucky_Patcher#376
PHP Code:
#include <string>
#include "windows.h"
#include <stdio.h>
 
#define NSC 0x00FF12E0
 
void Start();
 
BOOL APIENTRY DllMain(HMODULE hModuleDWORD  ulReasonLPVOID lpReserved) {
    if (
ulReason == DLL_PROCESS_ATTACH) {
        
CreateThread(00, (LPTHREAD_START_ROUTINE)Start000);
    }
    return 
true;
}
 
void Start() {
    while (
1) {
        if (
GetKeyState(0x7A) < 0) {
            *(
DWORD*)NSC 1;
        }
        if (
GetKeyState(0x7B) < 0) {
            *(
DWORD*)NSC 0;
        }
        
Sleep(1);
    }

10/07/2017 15:42 Sector1337*#377
what's this for?