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 


How to use "ORIGINAL CODE" in auto assemble script

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

Joined: 04 Aug 2022
Posts: 1
Location: United States

PostPosted: Thu Aug 04, 2022 5:24 pm    Post subject: How to use "ORIGINAL CODE" in auto assemble script Reply with quote

I was making a script and saw an interesting comment block at the bottom of the file

Code:
{
// ORIGINAL CODE - INJECTION POINT: Minecraft.Windows.exe+3432AB8

Minecraft.Windows.exe+3432AA0: E8 0B 0B 00 00  - call Minecraft.Windows.exe+34335B0
Minecraft.Windows.exe+3432AA5: 8B CB           - mov ecx,ebx
Minecraft.Windows.exe+3432AA7: E8 98 14 00 00  - call Minecraft.Windows.exe+3433F44
Minecraft.Windows.exe+3432AAC: 90              - nop
Minecraft.Windows.exe+3432AAD: 8B CB           - mov ecx,ebx
Minecraft.Windows.exe+3432AAF: E8 3C 14 00 00  - call Minecraft.Windows.exe+3433EF0
Minecraft.Windows.exe+3432AB4: 90              - nop
Minecraft.Windows.exe+3432AB5: CC              - int 3
Minecraft.Windows.exe+3432AB6: CC              - int 3
Minecraft.Windows.exe+3432AB7: CC              - int 3
// ---------- INJECTING HERE ----------
Minecraft.Windows.exe+3432AB8: 48 83 EC 28     - sub rsp,28
// ---------- DONE INJECTING  ----------
Minecraft.Windows.exe+3432ABC: E8 F3 09 00 00  - call Minecraft.Windows.exe+34334B4
Minecraft.Windows.exe+3432AC1: 48 83 C4 28     - add rsp,28
Minecraft.Windows.exe+3432AC5: E9 7A FE FF FF  - jmp Minecraft.Windows.exe+3432944
Minecraft.Windows.exe+3432ACA: CC              - int 3
Minecraft.Windows.exe+3432ACB: CC              - int 3
Minecraft.Windows.exe+3432ACC: 83 FA 02        - cmp edx,02
Minecraft.Windows.exe+3432ACF: 75 60           - jne Minecraft.Windows.exe+3432B31
Minecraft.Windows.exe+3432AD1: 48 89 5C 24 08  - mov [rsp+08],rbx
Minecraft.Windows.exe+3432AD6: 57              - push rdi
Minecraft.Windows.exe+3432AD7: 48 83 EC 20     - sub rsp,20
}


What is this doing and can I use it in a memory editing library like
erfg12's Memory.dll?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

Joined: 09 May 2003
Posts: 25262
Location: The netherlands

PostPosted: Thu Aug 04, 2022 11:54 pm    Post subject: Reply with quote

it's just a comment so you know how the memory used to look when you wrote this script.
It can come in handy when the memory changes

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
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