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 


Never dealt with this. what do i do?

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

Joined: 22 Dec 2015
Posts: 214
Location: Jupiter

PostPosted: Sat Jul 02, 2016 8:31 am    Post subject: Never dealt with this. what do i do? Reply with quote

I downloaded Need for Speed Undercover and tried to make a cheat for money and after finding money (encrypted) I had a look at what accesses the address but what I got in the window was:

Code:

movzx eax,byte ptr [eax]

movsx eax,byte ptr [eax]

movzx edx,byte ptr [ecx+01]

movdqa xmm6,[esi+60]


after noping all the instruction I found out that the instruction "movsx eax,byte ptr [eax]" is the money because when noped money is showen as 0 and you cant buy anything but after putting the instruction back the money reappears and everything is back to normal. Problem is... I have never dealt with that type of instruction before so could someone help me make a script or something... Confused Confused Confused Confused

Code:

[ENABLE]

alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)

newmem:

originalcode:
movsx eax,byte ptr [ecx]
movzx edx,byte ptr [ecx+01]

exit:
jmp returnhere

"nfs.exe"+3E6B0B:
jmp newmem
nop
nop
returnhere:


 
 
[DISABLE]

dealloc(newmem)
"nfs.exe"+3E6B0B:
movsx eax,byte ptr [ecx]
movzx edx,byte ptr [ecx+01]


I did some research but nothing really helped sadly.
Back to top
View user's profile Send private message
hhhuut
Grandmaster Cheater
Reputation: 6

Joined: 08 Feb 2015
Posts: 607

PostPosted: Sat Jul 02, 2016 8:36 am    Post subject: Reply with quote

Could you post a screenshot of the disassembler with about 10 lines before and after that instruction?
Back to top
View user's profile Send private message
rog9001
Expert Cheater
Reputation: 2

Joined: 22 Dec 2015
Posts: 214
Location: Jupiter

PostPosted: Sat Jul 02, 2016 8:44 am    Post subject: Reply with quote

Quote:
Could you post a screenshot of the disassembler with about 10 lines before and after that instruction?


Here ye go.



Instruction.png
 Description:
 Filesize:  63.99 KB
 Viewed:  4810 Time(s)

Instruction.png


Back to top
View user's profile Send private message
hhhuut
Grandmaster Cheater
Reputation: 6

Joined: 08 Feb 2015
Posts: 607

PostPosted: Sat Jul 02, 2016 8:51 am    Post subject: Reply with quote

It seems like the "encryption" just reverses the regular byte order ...

Code:
[ENABLE]
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)

newmem:
mov dx,#50000   //50k money
mov [ecx],dh
mov [ecx+01],dl

originalcode:
movsx eax,byte ptr [ecx]
movzx edx,byte ptr [ecx+01]

exit:
jmp returnhere

"nfs.exe"+3E6B0B:
jmp newmem
nop
nop
returnhere:



[DISABLE]

dealloc(newmem)
"nfs.exe"+3E6B0B:
movsx eax,byte ptr [ecx]
movzx edx,byte ptr [ecx+01]


You can try this code, but first make sure that really only your money is accessed by this function, otherwise you may get some weird results Wink
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