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 


Trouble with fstp+fld on multiple adresses

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

Joined: 01 Jun 2014
Posts: 61

PostPosted: Wed Mar 07, 2018 8:48 pm    Post subject: Trouble with fstp+fld on multiple adresses Reply with quote

I'm trying to edit attack speed + move speed through AoB injection, but they all seem to come from the same address.

Code:
aobscan(speed,D9 5E 14 D9 45 F0 8D) // should be unique
alloc(newmem,$1000)

label(code)
label(return)

newmem:

code:
  fstp dword ptr [esi+14]
  fld dword ptr [ebp-10]
  jmp return

speed:
  jmp newmem
  nop
return:
registersymbol(speed)


How can I do this?



memory.png
 Description:
 Filesize:  45.16 KB
 Viewed:  2200 Time(s)

memory.png


Back to top
View user's profile Send private message
FreeER
Grandmaster Cheater Supreme
Reputation: 53

Joined: 09 Aug 2013
Posts: 1091

PostPosted: Thu Mar 08, 2018 8:21 am    Post subject: Reply with quote

same as tutorial step 9... find something different for the value you care about so you can write a check that allows you to only change the value for the ones you want.

If you do some backtracing to see who's calling the function that makes the actual change sometimes you can find a way to edit the individual values before they're written.

For your research, many refer to this as "shared opcodes" or "shared instructions".

_________________
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