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 


Cheat Engine Wrongly redirects X32 to X64 API's

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
TsTg
Master Cheater
Reputation: 5

Joined: 12 Dec 2012
Posts: 340
Location: Somewhere....

PostPosted: Wed Dec 12, 2012 11:23 pm    Post subject: Cheat Engine Wrongly redirects X32 to X64 API's Reply with quote

Hello,

I would like to report a bug which is very important sometimes when writing scripts or viewing a referenced address in the memory viewer of cheat engine.

The problem is related with 64 bit systems, when hacking a 32bit process(our game for example) and want to call a windows api in an assembler script, cheat engine redirects the call to the x64 version of the DLL, especially when calling one of the Ntdll functions like memcpy and others, the game immediatly crashes with an access violation(because both ntdll.dll versions are loaded together in the process).

If i correct the script to use the exact location of 32 bit version of the dll, all goes fine, but we will not edit the api's address everytime.

Please fix that, cheat engine should get the correct api address through checking first the IsWow64Process for the debugged process, thanks.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Thu Dec 13, 2012 4:22 am    Post subject: Reply with quote

There is one workarround (but it will make dll injection a bit more complex)
Get the forcedinjection plugin from the main site and load it.
It contains a bugfix for the symbol handler, where it replaces symbols starting with ntdll.* to ntdll64.* if it's the 64-bit version (I can't just ge rid of it entirely ad there are some reasons you might want to hook the 64-bit version of a function instead)

_________________
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
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine 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