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 


First time Assembly in CE

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

Joined: 23 Feb 2021
Posts: 1

PostPosted: Tue Feb 23, 2021 6:51 am    Post subject: First time Assembly in CE Reply with quote

Hi, So im kinda new to this and i've tried to watch some tutorials and examples to do this but i can't figure out how to modify in this assembly thing. i've like only done IOS hacks/mods before but this looks almost alike but also not..

Like would it even be possible to do something to this?

Here is the script injection code i was trying to change:

Code:
{ Game   :
  Version:
  Date   : 2021-02-23
  Author :

  This script does blah blah blah
}

define(address,7FF6884D5BD3)
define(bytes,F3 0F 11 03 48 83 C4 20)

[ENABLE]

assert(address,bytes)
alloc(newmem,$1000,7FF6884D5BD3)

label(code)
label(return)

newmem:

code:
  movss [rbx],xmm0
  add rsp,20
  jmp return

address:
  jmp newmem
  nop 3
return:

[DISABLE]

address:
  db bytes
  // movss [rbx],xmm0
  // add rsp,20

dealloc(newmem)

{
// ORIGINAL CODE - INJECTION POINT: 7FF6884D5BD3

7FF6884D5BB0: 40 53           - push rbx
7FF6884D5BB2: 48 83 EC 20     - sub rsp,20
7FF6884D5BB6: 48 8B 42 20     - mov rax,[rdx+20]
7FF6884D5BBA: 45 33 C9        - xor r9d,r9d
7FF6884D5BBD: 48 85 C0        - test rax,rax
7FF6884D5BC0: 49 8B D8        - mov rbx,r8
7FF6884D5BC3: 41 0F 95 C1     - setne r9l
7FF6884D5BC7: 4C 03 C8        - add r9,rax
7FF6884D5BCA: 4C 89 4A 20     - mov [rdx+20],r9
7FF6884D5BCE: E8 2D 69 86 FF  - call 7FF687D3C500
// ---------- INJECTING HERE ----------
7FF6884D5BD3: F3 0F 11 03     - movss [rbx],xmm0
// ---------- DONE INJECTING  ----------
7FF6884D5BD7: 48 83 C4 20     - add rsp,20
7FF6884D5BDB: 5B              - pop rbx
7FF6884D5BDC: C3              - ret
7FF6884D5BDD: CC              - int 3
7FF6884D5BDE: CC              - int 3
7FF6884D5BDF: CC              - int 3
7FF6884D5BE0: 40 53           - push rbx
7FF6884D5BE2: 48 83 EC 20     - sub rsp,20
7FF6884D5BE6: 48 8B 42 20     - mov rax,[rdx+20]
7FF6884D5BEA: 45 33 C9        - xor r9d,r9d
}
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 90

Joined: 06 Jul 2014
Posts: 2879

PostPosted: Tue Feb 23, 2021 11:33 am    Post subject: Reply with quote

Use the aobscan template, and change the third argument to alloc (7FF6884D5BD3 in this example) to the symbol used in the aobscan (INJECT by default, but change it to something unique).

You've provided almost no information on what you're trying to do. e.g. is that instruction accessing your health? Do you want to be invincible?

_________________
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
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