1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
void info(void)
{
ZeroMemory(&myaddr2, sizeof(myaddr2));
ZeroMemory(&myaddr5, sizeof(myaddr5));
ZeroMemory(&myaddr7, sizeof(myaddr7));
ZeroMemory(&myaddr6, sizeof(myaddr6));
HANDLE hProc = OpenProcess(PROCESS_ALL_ACCESS, FALSE, proc_id);
int myaddr = FindPointerAddr(hProc, point2, 5, offset5, offset6, offset7, offset8, offset9);
int myaddr3 = FindPointerAddr2(hProc, point, 5, offset0, offset1, offset2, offset3, offset4);
int myaddr10 = FindPointerAddr(hProc, point3, 4, offset11, offset12, offset13, offset14);
int myaddr11 = FindPointerAddr(hProc, point4, 5, offset15, offset16, offset17, offset18, offset19);
GetWindowThreadProcessId(hWnd, &proc_id);
ReadProcessMemory(hProc,(LPCVOID)(myaddr), &myaddr2, 5, NULL);
ReadProcessMemory(hProc,(LPCVOID)(myaddr3), &myaddr5, 5, NULL);
ReadProcessMemory(hProc,(LPCVOID)(myaddr10), &myaddr6, 5, NULL);
ReadProcessMemory(hProc,(LPCVOID)(myaddr11), &myaddr7, 5, NULL);
ReadProcessMemory(hProc,(LPCVOID)(pointer), &pointed, 2, NULL);
ReadProcessMemory(hProc,(LPCVOID)(pointer2), &pointed2, 2, NULL);
ReadProcessMemory(hProc,(LPCVOID)(pointer3), &pointed3, 2, NULL);
}
|