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 


Want to know a little bit about this code and why it happen.

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

Joined: 29 Jan 2019
Posts: 1
Location: Japan restaurant basement

PostPosted: Tue Jan 29, 2019 4:52 pm    Post subject: Want to know a little bit about this code and why it happen. Reply with quote

I am interested in this bit of code here. Or where to go from here.


The address is 3D361FD8 and value is 30000
I can freeze the data in ce and it doesnt deplete or increment. Good but I want to learn how to just do inject no this.

then i go to what writes to this address and this code subtracts it


Program.exe+2FBC2C - 01 97 14230000 - add [edi+00002314],edx

so I make the inject

code:
add [edi+00002314],edx
jmp return

To what I understand

it adds the destination edi + whatever is here 00002314 and edx

so I make replace edx with 0 and no longer depletes,

so i believe 0 is added to whatever destination edi+00002314
add [edi+00002314],0

I would like to know if I am correct or why this happen?
Or if you can guide me, this is really fun thank you

I hope I make good english
Back to top
View user's profile Send private message AIM Address
FreeER
Grandmaster Cheater Supreme
Reputation: 53

Joined: 09 Aug 2013
Posts: 1091

PostPosted: Wed Jan 30, 2019 8:25 am    Post subject: Reply with quote

Yes "add [edi+00002314],edx" adds the value of edx to the value stored at the address edi + 0x2314, if you change it to add 0 instead then it effectively does nothing (other than change the flags).
_________________
https://github.com/FreeER/ has a few CE related repos
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine 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