Stack Overflow на русском Asked on November 10, 2021
SIZE_T bytesRead;
DWORDLONG DecimalBaseAddr = GetModuleBase (gameName, pID);
cout << "The Base Address is: " << DecimalBaseAddr << "n"; <----- Здесь значение 3868262400
vector<DWORD> pointsOffsets{ 0x1700, 0x0, 0x10, 0x8, 0x988 };
DWORD WorldPtr = 0x258C9D0;
DWORDLONG buff = (DecimalBaseAddr + WorldPtr); <----- 0xe8e9c9d0
DWORDLONG WorldAddr = NULL;
if (ReadProcessMemory(pHandle, (LPVOID)buff, &WorldAddr, sizeof(DWORDLONG), &bytesRead)) {
cout << "World Pointer2 is: " << "0x" << hex << WorldAddr << "n";
cin.get();
}
else {
cout << "Failed to read memory" << GetLastError() << endl;
cout << "Bytes read: " << bytesRead << endl;
cin.get();
}
Функция ReadProcessMemory выдает ошибку 12b, с чем это может быть связано?
Ошибка: ERROR_PARTIAL_COPY
299 (0x12B)
Only part of a ReadProcessMemory or WriteProcessMemory request was completed.
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP