Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int getMemoryValue(int memory){
- DWORD PID;
- memory = 0xAH9AE004;
- int value;
- clientTibia = L"Tibia";
- hwnd_windowTibia = FindWindow(NULL, clientTibia);
- DWORD THid = GetWindowThreadProcessId(hwnd_windowTibia, LPDWORD(PID));
- HANDLE process = OpenProcess(PROCESS_ALL_ACCESS, FALSE, THid);
- //ReadProcessMemory(PH, Ptr(Address), @Value, 4, Ler);
- BOOL readyProcessMe = ReadProcessMemory(process, (LPCVOID)memory, &value, 4, 0);
- return value;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement