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 


Converting Auto Assembly Script to C++

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

Joined: 01 May 2016
Posts: 1

PostPosted: Sun May 01, 2016 11:40 am    Post subject: Converting Auto Assembly Script to C++ Reply with quote

Hello!

I've looked through a lot of different tutorials to find out how to convert an auto assembly script to c++, but I haven't had much luck.

Here is the code:

Code:

aobscan(addressAOB, 55 8B EC 83 EC 1C 53 56 57 8B D9 6A 00 89 5D E8)
alloc(newMem, 2048)
label(returnhere)
label(originalcode)
label(exit)

newMem:
retn

originalcode:
push ebp
mov ebp,esp
sub esp,1C

exit:
jmp 0

addressAOB:
jmp newMem
nop
returnhere:


What I have/know:
-A sig-scanning function to get the AOB
-A start

Here's how far I've gotten. (It isn't that much)

Code:

__declspec(naked) void newMem() {
   DWORD Address = SigScan("\x55\x8B\xEC\x83\xEC\x1C\x53\x56\x57\x8B\xD9\x6A\x00\x89\x5D\xE8","xxxxxxxxxxxxxxxx");
   __asm {

   }
}


What would be my next approach? I know that Assembly and Auto Assembly are different, which makes it confusing. Any help is appreciated!
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