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 


C Decompiler

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Extensions
View previous topic :: View next topic  
Author Message
Dark Byte
Site Admin
Reputation: 458

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

PostPosted: Fri Aug 24, 2018 12:50 am    Post subject: C Decompiler Reply with quote

Not really a lua extension (though I guess I could make use of loadPlugin) but handy to put here anyhow

http://cheatengine.org/download/plugin/cesmartdec.zip

Extract all files to the cheat engine binary folder (same folder as cheatengine-x86_64.exe )

Perhaps run VC_redist.x64.exe if you feel like making sure you have the latest runtimes installed

Then inside CE go to settings->plugin . Click new and select cesmartdec.dll
Assuming you have all the runtimes installed and nothing is missing it will now show Smartdec Decompiler plugin for CE

Check the checkbox in front and click ok

Now in the disassembler you can select the start and end address of a function (hold shift for multiline selection) and then rightclick (shift still down) and choose decompile

it's not really good, but it may give some ideas on how calculations are done



source: (requires boost and qt and good luck...)
http://cheatengine.org/download/plugin/cesmartdecsrc.rar

_________________
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


Last edited by Dark Byte on Tue Dec 18, 2018 3:47 pm; edited 1 time in total
Back to top
View user's profile Send private message MSN Messenger
Filipe_Br
Master Cheater
Reputation: 3

Joined: 07 Jan 2016
Posts: 272
Location: My house

PostPosted: Tue Dec 18, 2018 2:45 pm    Post subject: Re: C Decompiler Reply with quote

Did you develop? The source link is not working.
_________________
...
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

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

PostPosted: Tue Dec 18, 2018 3:48 pm    Post subject: Reply with quote

ah right, it was a rar instead of zip, I fixed the link

I haven't touched it in a bit though, but perhaps the decompiler has had a update (I haven't checked their git yet)

_________________
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
Filipe_Br
Master Cheater
Reputation: 3

Joined: 07 Jan 2016
Posts: 272
Location: My house

PostPosted: Wed Dec 19, 2018 6:12 am    Post subject: Reply with quote

This decompiler reminded me a lot of the Snowman decompiler of x64dbg.
I think it would be nice to add this feature to the next version of Cheat Engine, or add it to github. Maybe someone will improve the code.

_________________
...
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

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

PostPosted: Wed Dec 19, 2018 6:57 am    Post subject: Reply with quote

it is the snowman decompiler. I only added a interface for the ce plugin system to it (and forced it to use c syntax instead of c++)
_________________
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 Extensions 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