gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Beginners > Decompiling .gba

#51799 - MalamuteKid - Tue Aug 23, 2005 4:35 pm

How do you decompile a .gba file?

#51811 - Kyoufu Kawa - Tue Aug 23, 2005 6:45 pm

Interesting question.

"Decompilation" normally means "to convert binary code back to the language it was compiled from". Most GBA games being written in C/C++, this is instantly deemed nigh impossible.

What you mean is "disassembling", which is "to convert binary code into the assembly language it's native platform uses". Right?

#51866 - tepples - Wed Aug 24, 2005 6:20 am

Decompiling involves 1. disassembling the binary code (trivial), and 2. generating plausible C code that could be compiled into such assembly language code (the subject of PhD research). Decompilers exist, but you probably can't afford a good one.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.