Solved find pointer and offset of process

Hexui Undetected CSGO Cheats Sinkicheat PUBG Cheat
Status
Not open for further replies.

kyriakos70

Newbie
Feb 11, 2015
1
62
0
Hello,
I need some help, I have this code :
C++:
ReadProcessMemory(hProcess, (LPVOID)dwLocationOfFunction, &FirstByte, sizeof(FirstByte), NULL)
I want to know how to find the dwLocationOfFunction variable, I know it has to do with finding the pointer and offset of process, I am NEW to c++, I found this tutorial any help to clear me out on how to do it?

There are a couple of ways to go about it, I'll tell you the ones I know:

1. Use a memory scanning tool to find out your address and then find the pointer + offset ( ollydbg, Cheat Engine etc...)
once you have found the pointer + offset do this:
unsigned long pointer = 0x123456; // arbitrary numbers
unsigned long offset = 0xEC; // arbitrary numbers

unsigned long address = pointer + offset;

ReadProcessMemory(appHandle, (LPVOID)address, (LPVOID) &buffer, buffersize, 0);

declare a buffer to hold your value and the size of the buffer and that should be it.
 

Scizoo

TrialNError
Trump Tier Donator
Dank Tier Donator
Nov 10, 2013
5
854
0
Another good one is AssaultCube. Everything is really easy to find, and there is no anti-cheat to have to try and get passed.
Oh yes sorry forgot about that :D But minesweeper FTW for c++ newbies :D Because you can do easily a minehack without knowing something about D3D, W2S and so on :)
Just for the achievement ;)
 

Solaire

Respected Hacker
Dank Tier VIP
Dec 15, 2013
1,051
16,353
62
Oh yes sorry forgot about that :D But minesweeper FTW for c++ newbies :D Because you can do easily a minehack without knowing something about D3D, W2S and so on :)
Just for the achievement ;)
Haha yep :D
 
Status
Not open for further replies.
Attention! Before you post:

Read the How to Ask Questions Guide
99% of questions are answered in the Beginner's Guide, do it before asking a question.

No Hack Requests. Post in the correct section.  Search the forum first. Read the rules.

How to make a good post:

  • Fill out the form correctly
  • Tell us the game name & coding language
  • Post everything we need to know to help you
  • Ask specific questions, be descriptive
  • Post errors, line numbers & screenshots
  • Post code snippets using code tags
  • If it's a large project, zip it up and attach it

If you do not comply, your post may be deleted.  We want to help, please make a good post and we will do our best to help you.

Community Mods