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 


Need help with ASM

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

Joined: 08 Aug 2012
Posts: 40

PostPosted: Sun Oct 21, 2012 1:34 pm    Post subject: Need help with ASM Reply with quote

I need to change 2 values in order to affect one

in order for it to affect super acuracy i need change the
movss [esi+00000120],xmm1 to movss [esi+00000120],xmm2
and the cmp byte ptr [esi+0000016C],00 to cmp byte ptr [esi+0000016C],02

If anyone could post the code needed to make these in one code injection id love you thanks[/img]



bandicam 2012-10-21 20-38-55-165.jpg
 Description:
This is the Picture of assembler
 Filesize:  202.58 KB
 Viewed:  2676 Time(s)

bandicam 2012-10-21 20-38-55-165.jpg


Back to top
View user's profile Send private message
SteveAndrew
Master Cheater
Reputation: 30

Joined: 02 Sep 2012
Posts: 323

PostPosted: Fri Oct 26, 2012 4:57 pm    Post subject: Reply with quote

Okay this is simple enough... You don't even have to do any allocating and redirecting the code flow as your only changing a single byte in each of the two instructions you are changing! Nice Wink

I really wish you would've had the address column expanded just a tiny bit more but I don't think I'm missing a hex digit so its all good it was just a little cluttered that's all Very Happy

Oh and I wasn't 100% sure about the exe name either, but it looks like bf3.exe... Battle Field 3 ? lol just a guess...

Code:

[enable]

bf3.exe+4d5538:
cmp byte ptr [esi+16c],2

bf3.exe+4d557a:
movss [esi+120],xmm2

[disable]

bf3.exe+4d5538:
cmp byte ptr [esi+16c],0

bf3.exe+4d557a:
movss [esi+120],xmm1


Or to be pro at it do this:
Code:

[enable]

bf3.exe+4d553e:
db 02

bf3.exe+4d557d:
db 96

[disable]

bf3.exe+4d553e:
db 00

bf3.exe+4d557d:
db 8e


See since we only need to change a single byte, we can just define the byte we are changing... You can see the image I attached to see what I mean...

In the first instruction, the 7th byte is the one we need to change (as shown in the attached image)

So since we're already at the first byte add 6 to 4d5538 and you get 4d553e

The next one, the 4th byte is changed so we add 3 to 4d557a and get 4d557d

Very Happy Hope I helped! Very Happy



cefhelp.png
 Description:
 Filesize:  68.76 KB
 Viewed:  2561 Time(s)

cefhelp.png



_________________
Back to top
View user's profile Send private message
Gaz
Cheater
Reputation: 0

Joined: 08 Aug 2012
Posts: 40

PostPosted: Sun Oct 28, 2012 12:36 pm    Post subject: Reply with quote

Thanks a ton bro that really helped my assembly isn't up to scratch yeah its bf3 and I noticed that no spread was bug and I had to reverse a je to jne and then change an xmm value !!! Do you have skype bro? Would like to chat to you more since you know ur shit and I'm always needing help
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