Case study
Sonic Battle: a matching GBA decompilation
Sonic Battle decomp reconstructs the USA Rev 0 Game Boy Advance game as matching C and assembly. Its build checks the user's ROM hash, compiles recovered code with agbcc and compares a linked whole-ROM image with the original. The author reports 51.81% of executable text decompiled to C; handwritten assembly accounts for additional reproduced bytes.
- Targets
- Game
- Category
- Independent reconstruction cases
- Relationship
- Independent reconstruction project
- Sources reviewed
- Evidence class
- C2 code & docs, no demo or download
- Stars
- 0
- Last commit
- 2026-08-23
- 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
- Prerequisites: A USA Rev 0 Sonic Battle ROM matching the documented SHA-1 is required.
- Prerequisites: Python 3, ARM binutils and the pinned agbcc toolchain are required.
- Limits: The author estimates that some executable code cannot be matched as C.
- License: No licence file in the repository.
Cite
BibTeX
@misc{sonic-battle-decomp-case,
title = {{Sonic Battle: a matching GBA decompilation}},
howpublished = {\url{https://github.com/nicklesimba/sonic-battle-decomp}},
url = {https://github.com/nicklesimba/sonic-battle-decomp},
urldate = {2026-11-06},
note = {Awesome REA entry: \url{https://awesomerea.org/resources/sonic-battle-decomp-case/}}
}Plain text
Sonic Battle: a matching GBA decompilation. https://github.com/nicklesimba/sonic-battle-decomp (accessed 2026-11-06). Awesome REA entry: https://awesomerea.org/resources/sonic-battle-decomp-case/
Useful? Star Awesome REA on GitHub2.4k
About this entry
The description was reviewed against primary sources.
Primary sources
- README.md GitHub · nicklesimba/sonic-battle-decomp · Revision d150f0d
- decomp/README.md GitHub · nicklesimba/sonic-battle-decomp · Revision d150f0d
More in Games
- Sonic Riders: matching decompilation of the GameCube game · Case study
- Sonic Rush Adventure: an in-progress matching DS decompilation · Case study
- Sonic the Fighters: an i960 program ROM disassembly · Case study
- Sonic the Hedgehog (2006): Xbox 360 source reconstruction · Case study
- Sonic the Hedgehog 2: byte-identical REV00 and REV01 source reconstruction · Case study
- Soul Reaverse: reconstructing Legacy of Kain: Soul Reaver · Case study