Resident Evil 4 for GameCube has been completely decompiled

Developers completely decompiled Resident Evil 4 for the GameCube into C++, matching the original binary down to the exact byte.
A open-source reverse-engineering project hosted on GitHub reconstructed the game's full codebase using an unreleased 2004 GameCube debug build. The repository contains roughly 555,000 lines of C/C++ code across 15,641 functions, matching Capcom's compiled output across all 114 game modules.
Why it matters: Turning raw machine code back into clean, readable source code unlocks how the game engine works under the hood. It opens the door for native modern PC ports, frame-rate fixes, and deeper modding without needing a GameCube emulator.
The repository contains zero copyrighted assets or code copied from the original discs. To build the source on Linux using Python 3 and Ninja, you must supply your own debug disc ISO images to extract the original target binaries.
Not bad for a 20-year-old masterpiece that once took custom hardware tricks just to run.
Sources
- adonis-singh/re4 — https://github.com/adonis-singh/re4
- Hacker News discussion — https://news.ycombinator.com/item?id=49778022

