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 


AutoAssemble help (ASM help in general)

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
efjay
Newbie cheater
Reputation: 0

Joined: 17 Apr 2014
Posts: 12

PostPosted: Mon May 08, 2017 5:29 pm    Post subject: AutoAssemble help (ASM help in general) Reply with quote

Hello all, I've been trying to figure out hacking past locking values, and have started to try to learn about ASM/dissembler.

I've put breakpoints on values and found functions which are called with them on the stack, and now I'm hoping to see if I can possibly either

a. call the function from AA? Or lua? Not sure
b. Modify one of the parameters on the stack everytime the game calls it
c. possibly call it from an injected dll written in C++, or modify paramaters when it is called.

what i've done so far to try and do b.
did AOB Injection on the start of the function where I got this


esp+4 holds a pointer to a string that I want to change


Code:


random:
db '0D 00 C1 00 1E CE FF 20 20 10 00 A1 A0'

newmem:
mov ebp, random

code:
push ebp
//mov ebp, esp
sub esp,24
jmp return

INJECT:
jmp newmem
nop
return:
registersymbol(INJECT)



What I'm trying to do is instead of using the pointer on the stack, to use my pointer...? I think this is wrong in so many ways though and I can't figure it out.

I'm just trying to do b. at the moment, but if you guys have any advice about a. and c., I'd be happy to hear it. (especially calling it with my own parameters, can that be done with cheat table?)
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 121

Joined: 09 Jun 2013
Posts: 3276

PostPosted: Mon May 08, 2017 7:19 pm    Post subject: Reply with quote

Not sure what your bytes are supposed to represent.
Code:
random:
db 'This is my string',0
newmem:
mov [esp+4],random
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