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 get multiple access addresses to the same code

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
Y-one
How do I cheat?
Reputation: 0

Joined: 06 Jan 2025
Posts: 3

PostPosted: Mon Jan 06, 2025 8:07 am    Post subject: How to get multiple access addresses to the same code Reply with quote

please help me. I am new and I have a problem that when I use AOBscan to find the static address and get the value I need. But in the code that I need there are 3 addresses accessed and it always takes the value at the last address to display.
- For example:
In [rax+14] there are 3 addresses accessed at the same time:
- 23D83C3C104: 9898
- 23D83C3C014: 52
- 23DB4BF3A04: 6
I need all 3 of these addresses but when I use this code it always displays the last value as 6

Code:

[ENABLE]

aobscanmodule(INJECT,GameAssembly.dll,8B 68 14 F6 81 33 01 00 00 02) // should be unique
alloc(newmem,$1000,INJECT)

label(code)
label(return)
label(HOC)
registersymbol(HOC)


newmem:
  mov [HOC],rax
code:
  mov ebp,[rax+14]
  test byte ptr [rcx+00000133],02
  jmp return
HOC:
dd 0

INJECT:
  jmp newmem
  nop 5
return:
registersymbol(INJECT)

[DISABLE]

INJECT:
  db 8B 68 14 F6 81 33 01 00 00 02

unregistersymbol(INJECT)
unregistersymbol(HOC)
dealloc(newmem)


I create memory records with the addresses:
[HOC+14]

Is there any way I can get all 3 or more values? Thanks a lot



 Description:
 Filesize:  183.66 KB
 Viewed:  861 Time(s)




Back to top
View user's profile Send private message
Csimbi
I post too much
Reputation: 97

Joined: 14 Jul 2007
Posts: 3256

PostPosted: Sat Jan 11, 2025 3:35 am    Post subject: Reply with quote

If you want just one address, you need to implement a filter (a few checks) to see which address is correct.
If you want multiple addresses, you need to save them into an array - not recommended though.
Back to top
View user's profile Send private message
Y-one
How do I cheat?
Reputation: 0

Joined: 06 Jan 2025
Posts: 3

PostPosted: Tue Jan 14, 2025 10:24 pm    Post subject: Reply with quote

Csimbi wrote:
If you want just one address, you need to implement a filter (a few checks) to see which address is correct.
If you want multiple addresses, you need to save them into an array - not recommended though.



Yes, I know how to get 1 of the 3 values ​​I want but is there a way I can get all three addresses using Aobscans?
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 148

Joined: 06 Jul 2014
Posts: 4594

PostPosted: Wed Jan 15, 2025 1:17 am    Post subject: Reply with quote

Find comparisons for all of them (see step 9 of the CE tutorial) and store each address into its own memory location: e.g. HOC1, HOC2, HOC3
_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
Y-one
How do I cheat?
Reputation: 0

Joined: 06 Jan 2025
Posts: 3

PostPosted: Wed Jan 15, 2025 3:55 am    Post subject: Reply with quote

ParkourPenguin wrote:
Find comparisons for all of them (see step 9 of the CE tutorial) and store each address into its own memory location: e.g. HOC1, HOC2, HOC3


Thank you very much. I did it. X>. Very Happy Very Happy
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 Gamehacking 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