Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


multilevel pointer in delphi

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
nielskool
Advanced Cheater
Reputation: 0

Joined: 03 Jun 2007
Posts: 65

PostPosted: Wed Oct 28, 2009 4:17 am    Post subject: multilevel pointer in delphi Reply with quote

simple question: how to write to a multilevel pointer?
could it be like this:

Code:
   //read
        ReadProcessMemory(Pidhandle,Pointer(address7), @buffer2 ,4,bytesWritten);  //read the 4 byte value stored at that location
        address7 := PBYTE(address7 + $43);
 ReadProcessMemory(Pidhandle,Pointer(address7), @buffer2 ,4,bytesWritten);  //read the 4 byte value stored at that location
        address7 := PBYTE(address7 + $55);

        //write
        WriteProcessMemory(Pidhandle,Pointer(address7), @buffer2 ,4,bytesWritten);
      end;


thanks in a advanc

_________________
cheaters are the best race in the world, they love eachother:P, so i would say never fuck poeple of your own race, unless they're beautiful:P
Back to top
View user's profile Send private message
Jani
Grandmaster Cheater
Reputation: 2

Joined: 29 Dec 2006
Posts: 804

PostPosted: Wed Oct 28, 2009 5:22 am    Post subject: Reply with quote

nielskool wrote:
simple question: how to write to a multilevel pointer?
Read the value at the pointer, add offset, read the value at pointer, add the offset, blabla, add the offset, write the value to the address you got after adding the offset.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites