XP系统扫雷作弊器代码,下面的是广告可以无视谢谢
程序代码:
#include <windows.h> unsigned int addr; unsigned int OBJ_ip=0x001005340;//100569F(16798528-16799391) unsigned int OBJ_patch[1]={0x8E}; HWND hwndOBJ=FindWindow(NULL,"扫雷"); DWORD PID; HANDLE hProcess; int WINAPI WinMain (HINSTANCE hThisInstance, HINSTANCE hPrevInstance, LPSTR lpszArgument, int nFunsterStil) { if(hwndOBJ) { GetWindowThreadProcessId(hwndOBJ,&PID); hProcess=OpenProcess(PROCESS_ALL_ACCESS,false,PID); while(OBJ_ip<=16799391) { ReadProcessMemory(hProcess,(LPVOID)OBJ_ip,&addr,1,0); if(addr==143)WriteProcessMemory(hProcess,(void*)OBJ_ip,OBJ_patch,1,0); OBJ_ip++; } CloseHandle(hwndOBJ); CloseHandle(hProcess); SetForegroundWindow(hwndOBJ); } else MessageBox(NULL,"没有运行","失败",MB_OK); }
========================================我是广告========================================
本人不才,给自己的一个小游戏做个广告。
连接地址:http://
游戏时长没有评估过,但估计有4-5小时。
游戏内容是这样的: