Solved Reading from Multi Pointer

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

Clarityworld

Jr.Coder
Full Member
Nobleman
Feb 20, 2015
71
523
2
Hello guys!

I'm having trouble how to read from a Multi Pointer. But I'm able to read from a Pointer with only ONE Offset, with this Code:



C++:
void ReadInformation() 
	{ 

                int CurrentHP4 = 0;
		
                DWORD Pointer2 = 0x0127CE7C;
                DWORD Pointed2;
		DWORD Offset = 0xf4;
		
ReadProcessMemory(fProcess.__HandleProcess, (LPCVOID)(fProcess.__dwordClient + Pointer2), &Pointed2, 4, NULL);
ReadProcessMemory(fProcess.__HandleProcess, (LPCVOID)(Pointed2 + Offset), &CurrentHP4, 4, NULL);
		
		cout << "HP is : " << CurrentHP4<< endl;

As I said this code above works perfect with one Offset. The fProcess.__dwordClient read out the base od the DLL
But now I'm facing something like this:



View attachment 3065

As you can see it have 3 Offsets!
I tryed differnt things but nothing got me out the right Value...
 
Last edited:

Clarityworld

Jr.Coder
Full Member
Nobleman
Feb 20, 2015
71
523
2
I Tryied with

C++:
		DWORD thefirst = (DWORD)(*(DWORD*)fProcess.__dwordClient + 0x26);
		DWORD thesecond = (DWORD)(*(DWORD*)thefirst + 0xF4);
		DWORD thethird = (DWORD)(*(DWORD*)thesecond + 0x1EC);
		DWORD theresult = (DWORD)(*(DWORD*)thethird + 0x9F2);
programm crash...welll
 
Last edited by a moderator:

Truth

Meme Tier VIP
Dank Tier Donator
Nov 14, 2012
337
2,628
2
I Tryied with

C++:
		DWORD thefirst = (DWORD)(*(DWORD*)fProcess.__dwordClient + 0x26);
		DWORD thesecond = (DWORD)(*(DWORD*)thefirst + 0xF4);
		DWORD thethird = (DWORD)(*(DWORD*)thesecond + 0x1EC);
		DWORD theresult = (DWORD)(*(DWORD*)thethird + 0x9F2);
programm crash...welll
Please can you not Attach Images, use a free image hosting service like Imgur, Photobucket, Tinypic, etc, and hotlink the image. Thanks :D
 
Last edited:

Clarityworld

Jr.Coder
Full Member
Nobleman
Feb 20, 2015
71
523
2
I tryied this:
C#:
DWORD Base = 0x0129CA54;
		DWORD Offset1 = 0x1328;
		DWORD Offset22 = 0xfc4;
		DWORD Offset3 = 0xb78;
		
		
		DWORD Pointed1;
	    DWORD Pointed22;
		DWORD Pointed3;
		

		int final = 0;
		

		
		ReadProcessMemory(fProcess.__HandleProcess, (LPCVOID)(fProcess.__dwordClient + Base), &Pointed1, 4, NULL);
		ReadProcessMemory(fProcess.__HandleProcess, (LPCVOID)(Pointed1 + Offset1), &Pointed22, 4, NULL);
		ReadProcessMemory(fProcess.__HandleProcess, (LPCVOID)(Pointed22 + Offset22), &Pointed3, 4, NULL);
		ReadProcessMemory(fProcess.__HandleProcess, (LPCVOID)(Pointed3 + Offset3), &final, 4, NULL);

But Suddenly Pointed22 is 0.... Pointed 1 is correct tho...

https://imgur.com/SPhrVvn
 

Syntax Error

Coder
Silenced
Meme Tier VIP
Nov 6, 2014
239
2,928
6
I tryied this:
C#:
DWORD Base = 0x0129CA54;
		DWORD Offset1 = 0x1328;
		DWORD Offset22 = 0xfc4;
		DWORD Offset3 = 0xb78;
		
		
		DWORD Pointed1;
	    DWORD Pointed22;
		DWORD Pointed3;
		

		int final = 0;
		

		
		ReadProcessMemory(fProcess.__HandleProcess, (LPCVOID)(fProcess.__dwordClient + Base), &Pointed1, 4, NULL);
		ReadProcessMemory(fProcess.__HandleProcess, (LPCVOID)(Pointed1 + Offset1), &Pointed22, 4, NULL);
		ReadProcessMemory(fProcess.__HandleProcess, (LPCVOID)(Pointed22 + Offset22), &Pointed3, 4, NULL);
		ReadProcessMemory(fProcess.__HandleProcess, (LPCVOID)(Pointed3 + Offset3), &final, 4, NULL);

But Suddenly Pointed22 is 0.... Pointed 1 is correct tho...

https://imgur.com/SPhrVvn
Wouldn't you want to read it like:
Base + offset1 into pointed1
Pointed1 + offset2 into pounted2
Pointed2 + offset3 into final?
 

Clarityworld

Jr.Coder
Full Member
Nobleman
Feb 20, 2015
71
523
2
Wouldn't you want to read it like:
Base + offset1 into pointed1
Pointed1 + offset2 into pounted2
Pointed2 + offset3 into final?
No I need to first get fProcess.__dwordClient + Base.

fProcess.__dwordClient is the the base of my client.dll
 
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