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 


move please?!

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

Joined: 07 May 2020
Posts: 163
Location: On The Moon

PostPosted: Wed Sep 02, 2020 12:11 pm    Post subject: move please?! Reply with quote

Code:
alloc(newmem,2048,"GameAssembly.dll"+F28D3C)
label(returnhere)
label(originalcode)
label(exit)
label(xcam)
registersymbol(xcam)
newmem:

originalcode:
mov [xcam], rbx
movsd [rbx+5C],xmm0
xcam:
  dq 00

exit:
jmp returnhere

"GameAssembly.dll"+F28D3C:
jmp newmem
returnhere:


I can't understand why does my game crash??
would mov crash the game??
like dq is 8byte and rbx is 64bit...

_________________
I can see you Hitler
Especially When I am On the Moon!!
You are Right now in cheat engine forum Wink
Back to top
View user's profile Send private message
Csimbi
I post too much
Reputation: 97

Joined: 14 Jul 2007
Posts: 3329

PostPosted: Wed Sep 02, 2020 1:43 pm    Post subject: Reply with quote

You store a variable in the middle of the executable code!

Move your variable after the code, like this:
Code:
exit:
jmp returnhere
xcam:
  dq 00

It won't crash then.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Wed Sep 02, 2020 1:45 pm    Post subject: Reply with quote

after the cpu executes movsd [rbx+5c],xmm0 it will execute whatever is at xcam


try
Code:

alloc(newmem,2048,"GameAssembly.dll"+F28D3C)
label(returnhere)
label(originalcode)
label(exit)
label(xcam)
registersymbol(xcam)
newmem:

originalcode:
mov [xcam], rbx
movsd [rbx+5C],xmm0

exit:
jmp returnhere

xcam:
  dq 00

"GameAssembly.dll"+F28D3C:
jmp newmem
returnhere:

_________________
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
Oxijen
Expert Cheater
Reputation: 0

Joined: 07 May 2020
Posts: 163
Location: On The Moon

PostPosted: Thu Sep 03, 2020 1:54 am    Post subject: Reply with quote

worked perfectly Very Happy thx again!!
_________________
I can see you Hitler
Especially When I am On the Moon!!
You are Right now in cheat engine forum Wink
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