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 


Help with AA?

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

Joined: 06 Feb 2016
Posts: 8

PostPosted: Sat May 14, 2016 8:28 pm    Post subject: Help with AA? Reply with quote

I have some code that I want to jump to and execute, but I have no idea how to do it
Code:
[enable]
alloc(AutoAssembler,1024)
AutoAssembler:
jmp 7FF636CED230
[disable]
dealloc(AutoAssembler,1024)

I want to jump to the code at 7FF636CED230 and make it do it's thing
Back to top
View user's profile Send private message
Reaper79
Advanced Cheater
Reputation: 2

Joined: 21 Nov 2013
Posts: 68
Location: Germany

PostPosted: Sat May 14, 2016 9:00 pm    Post subject: Reply with quote

Mabye you should read some of the AA Guides at http://forum.cheatengine.org/viewforum.php?f=15

or

http://forum.cheatengine.org/viewtopic.php?t=95363

very good
Back to top
View user's profile Send private message
lalafell
How do I cheat?
Reputation: 0

Joined: 06 Feb 2016
Posts: 8

PostPosted: Sat May 14, 2016 9:14 pm    Post subject: Reply with quote

Reaper79 wrote:
Mabye you should read some of the AA Guides at


I have, that's what I came up with, and I don't understand what I'm doing wrong


Last edited by lalafell on Sun May 15, 2016 7:45 am; edited 2 times in total
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4700

PostPosted: Sun May 15, 2016 7:09 am    Post subject: Reply with quote

If you don't want to hook any particular instruction in the game, use:
Code:
createThread(AutoAssembler)

Just make sure that jmp has a ret statement eventually. If it doesn't, change that jmp to a call (deal with the stack appropriately in the called subroutine) and put a ret after the call.

_________________
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
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4700

PostPosted: Sun May 15, 2016 12:56 pm    Post subject: Reply with quote

A lot of functions (aka subroutines in asm) need arguments in order to work. If you don't set up any of the registers or the stack in the same way the game does, then of course it's going to crash. Your best hope would be to set rcx, rdx, r8, r9, and maybe the stack the same way the game does and call Game_dx11.exe+9CD200 (the start of that subroutine). Make sure to give the subroutine the scratch space it needs by subtracting 0x20 from rsp before your call.
_________________
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
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Sun May 15, 2016 1:20 pm    Post subject: Reply with quote

Depending on what you're actually wanting to accomplish, will determine how you should proceed. Are you sure you even need to jump somewhere?
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