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 


How to read from address/get address "xxx.exe"+019

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
ulysse31
Master Cheater
Reputation: 2

Joined: 19 Mar 2015
Posts: 324
Location: Paris

PostPosted: Thu Jan 05, 2017 5:24 pm    Post subject: Reply with quote

APIs to use :
EnumProcessModules
GetModuleInformation
So, ModuleInfo.lpBaseOfDll is the variable of your code which holds xxx.exe address as you call it, given that the handle you used is the one of the process you are targeting
Applied to your pointer scan this means that
xxx.exe address is ModuleInfo.lpBaseOfDll
to this address you add 0x0198f9b8
so if ModuleInfo.lpBaseOfDll == 0x40000
then the new address is 0x1d8f9b8 (result of 0x400000 + 0x0198f9b8)
this is the address you read ( 0x1d8f9b8)
the value you read, you then add the offset 0x5c8 to it and you read the target process at the corresponding address
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