D
D
danyarob2022-02-01 21:59:00
C++ / C#
danyarob, 2022-02-01 21:59:00

How to do pointer lookup by value?

Can you tell me how to write code that will produce a pointer (pointers) that contain a value (like in a cheat engine)?

int GetPtr(HANDLE &_hProc, int pid, const char[] text) {
  
  .... // поиск 
    if (...) // найдены значений
    {
      cout << ptr; // вывод указателя

    }
    else return 0;

  return 1;
}

void main()
{
  HANDLE  _hProc = OpenProcess(PROCESS_ALL_ACCES, NULL, _pID);

  GetPtr(_hProc, _pID,"Text");
}

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question