Case study
Xenoblade Chronicles 2: matching decompilation of the Switch executable
xc2-decomp reconstructs Xenoblade Chronicles 2 version 1.0.0 C++ for Nintendo Switch and checks functions against the original AArch64 executable. Its Nix environment provides Clang 3.9.1 and analysis tools; check compiles reconstructed functions and reports byte differences. The author reports 37,087 of 48,739 named functions matched.
- Targets
- Binary · Game
- Category
- Independent reconstruction cases
- Relationship
- Independent reconstruction project
- Sources reviewed
- Evidence class
- C2 code & docs, no demo or download
- Stars
- 10
- Last commit
- 2026-11-09
- Language
- C++
GitHub data as of 2026-11-10
Evidence
- Observed
- Code and documentation observed; no download method or demo found.
- Checked
- 2026-11-09
Requirements & limits
- Requires a user-supplied Xenoblade Chronicles 2 version 1.0.0 XCI dump and matching console prod.keys.
- Requires Nix with flakes enabled; the development shell supplies the compiler and analysis tools.
- The author reports 37,087 of 48,739 named functions matched.
Cite
BibTeX
@misc{xc2-decomp-case,
title = {{Xenoblade Chronicles 2: matching decompilation of the Switch executable}},
howpublished = {\url{https://github.com/KevinBonnoron/xc2-decomp}},
url = {https://github.com/KevinBonnoron/xc2-decomp},
urldate = {2026-11-06},
note = {Awesome REA entry: \url{https://awesomerea.org/resources/xc2-decomp-case/}}
}Plain text
Xenoblade Chronicles 2: matching decompilation of the Switch executable. https://github.com/KevinBonnoron/xc2-decomp (accessed 2026-11-06). Awesome REA entry: https://awesomerea.org/resources/xc2-decomp-case/
Useful? Star Awesome REA on GitHub2.4k
About this entry
The description was reviewed against primary sources.
Primary sources
More in Games
- Xenoblade Chronicles 2: Switch source reconstruction · Case study
- Xenogears Decompilation: matching the US PlayStation release · Case study
- xenogears-decomp-port: matching Xenogears decompilation and native PC port · Case study
- Xenosaga Episode I: an early PS2 matching decompilation · Case study
- xmen2-pc: a matching decompilation and native port of X-Men 2: Clone Wars · Case study
- xmen2disasm: rebuilding X-Men 2 from a matching disassembly · Case study