Solved How to write/read a pointer with 2+ offsets

Hexui Undetected CSGO Cheats Sinkicheat PUBG Cheat

TooManyColor

Newbie
Full Member
Oct 5, 2015
17
108
0
Hey guys, i'm kinda new in this world since I just programed seriously and now I want have some fun haha!

To start I made a Assault Cube hack, ammo and others stuff hack but now I'm trying to do a Plants vs Zombies hack, I've found all the pointers I need but some of them have more than 1 offset and I don't know how to code with more than 1 offset...

I would like, if possible just a simple example or a explanation

Thanks if you can help me !


PS: Sorry for bad english i'm brazilian :c
 

Solaire

Respected Hacker
Dank Tier VIP
Dec 15, 2013
1,051
16,353
62
Just to explain how the function works:

Lets say we have a two level deep pointer (I'm going to use assaultcube as an example). The player object pointer address is 0x50F4F4, and the offset to health is 0xF8.

First we read into 0x50F4F4, and this gives us the dynamic address of the player object.

Then we add 0xF8 (Our health offset) to that dynamic address. This gives us the dynamic health address.

Afterwards we can either read or write to this dynamic health address by using ReadProcessMemory or WriteProcessMemory.
 

Kilo

Coder
Dank Tier Donator
Nobleman
Feb 4, 2015
98
4,028
1
Just to explain how the function works:

Lets say we have a two level deep pointer (I'm going to use assaultcube as an example). The player object pointer address is 0x50F4F4, and the offset to health is 0xF8.

First we read into 0x50F4F4, and this gives us the dynamic address of the player object.

Then we add 0xF8 (Our health offset) to that dynamic address. This gives us the dynamic health address.

Afterwards we can either read or write to this dynamic health address by using ReadProcessMemory or WriteProcessMemory.
Or we could say fuck everything we know and use that powerful Wisrd class. Done. Easy. Rip knowledge.
Kilo is illuminati
 

Rake

Cesspool Admin
Administrator
Jan 21, 2014
12,151
78,998
2,395
Guys I don't know what to put as base adress :/

These are my pointers and offsets: https://prntscr.com/8oio0m
If I understand you correctly your base addresses are 0x16a546f8 and 0x24f9cf0.
Offset 5578 seems way to large, but maybe I'm wrong.

Add the pointer to the Cheat Table to help you visual it, this is how it should look
 
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