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 


Code Injection crash.

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

Joined: 20 May 2010
Posts: 11

PostPosted: Mon Mar 14, 2016 11:08 am    Post subject: Code Injection crash. Reply with quote

I'm trying to use the code injection template to modify an instruction, but the application crashes as soon as I execute it.
Even If I make no code changes and inject the default code injection template.

Code:

alloc(newmem,2048,"Application.exe"+423D12)
label(returnhere)
label(originalcode)
label(exit)

newmem: //this is allocated memory, you have read,write,execute access
//place your code here

originalcode:
movss [rdi+04],xmm6

exit:
jmp returnhere

"Application.exe"+423D12:
jmp newmem
returnhere:


When I comment out the jump to newmem nothing crashes. I even tried to add a jump in newmem right back to original code but it still doesn't work.
Code:

exit:
jmp returnhere

"Application.exe"+423D12:
//jmp newmem
returnhere:
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