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 


Seperate Memory for each Routine Call? [ASM] /MemoryShare

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

Joined: 01 Apr 2012
Posts: 38
Location: earth

PostPosted: Sun Jul 17, 2016 3:21 pm    Post subject: Seperate Memory for each Routine Call? [ASM] /MemoryShare Reply with quote

Hey

I have a code that has this for example:
Code:

alloc(data,512)

mov [data],eax
nop
nop
cmp [data],0


however, another call to the same function is occurring which is changing the content of [data] before the
Code:
cmp [data],0
is having its time to execute.

Is there a way to separate the memory locations? I don't want them to share [data].

Thanks
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 Jul 17, 2016 4:09 pm    Post subject: Reply with quote

You can set up a filter or use a different injection point.
Back to top
View user's profile Send private message
thethiny
Cheater
Reputation: 0

Joined: 01 Apr 2012
Posts: 38
Location: earth

PostPosted: Sun Jul 17, 2016 4:41 pm    Post subject: Reply with quote

I have lots of comparisons, and I can't use a different injection point as the value I need is only there for a short point.
I tried doing a queue, but I can't use the registers cuz they're all busy.
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 Jul 17, 2016 5:17 pm    Post subject: Reply with quote

You're not making sense.
Back to top
View user's profile Send private message
thethiny
Cheater
Reputation: 0

Joined: 01 Apr 2012
Posts: 38
Location: earth

PostPosted: Sun Jul 17, 2016 5:29 pm    Post subject: Reply with quote

This game runs multiple code at the same time, so if I alter r13 for example, it might be getting used somewhere else. It doesn't make sense, but if I change r13 even for one op, the game will crash. Maybe it's just tamper protection.

Anyways,
Assume this:
Code:

mov al,cl
nop
mov al,0

If I want to copy the value of al before it changes into 0, then the only injection point is nop. You get what I mean?
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4702

PostPosted: Sun Jul 17, 2016 6:01 pm    Post subject: Reply with quote

thethiny wrote:
Code:

mov al,cl
nop
mov al,0

If I want to copy the value of al before it changes into 0, then the only injection point is nop.
Or, you know, at any point above that instruction and get cl instead (or whatever is written to cl, etc.).
_________________
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
thethiny
Cheater
Reputation: 0

Joined: 01 Apr 2012
Posts: 38
Location: earth

PostPosted: Mon Jul 18, 2016 12:43 am    Post subject: Reply with quote

ParkourPenguin wrote:
[Or, you know, at any point above that instruction and get cl instead (or whatever is written to cl, etc.).

Above the instruction are references to KERNEL, I don't want to inject there.
However, I noticed a
Code:
ret
shortly afterwards, which took me to a location with everything I need ready there and there's no multi call. Apparently I was injecting into a function. I'm sorry about that.
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