Star on GitHubStar2.4k stars

Case study

Larax & Zaco: an REA-exported evidence base and partial routine recovery

The author uses REA 6.3.0 with Ghidra to export dossiers, pseudocode and assembly for all 215 discovered procedures in the DOS shareware LEZAC.EXE, then recovers a small set of routines as Pascal and portable C. Recovered code is tested against the original x86 instructions, and a pinned DOSBox-X baseline records original-game runs..

Targets
Binary · Game
Category
Community REA investigations
Relationship
Author-reported mixed workflow
Sources reviewed
Stars
0
Last commit
2026-10-19
Language
Python

GitHub data as of 2026-11-09

Copy as MarkdownView JSONCite

Requirements & limits

  • Larax & Zaco v1.0 shareware is the required original input. tools/fetch_original.py downloads a pinned archive or accepts an offline ZIP and verifies file hashes. The original executable and resources are absent from the repository.
  • Verification needs Python 3.12+, a C99 compiler, Free Pascal 3.2.2, make, npm and a Node.js version accepted by REA. DOS probes also need the FPC i8086 cross compiler. Re-export needs REA 6.3.0, Ghidra 12.1.4 and a full JDK; original-game runs use DOSBox-X 2024.03.01 and Xvfb.
  • Seven Pascal routines, sixteen packed layouts, six portable C routines and resource decoders are recovered. Interrupt handlers, most gameplay, rendering, audio and DOS services remain unrecovered.
  • The README reports 174,777 Pascal and 173,725 C comparisons against original x86 code, twelve DOS probe comparisons and 94 loaded-image checks. Gameplay replays use host timing.
  • The repository has no license file; RIGHTS.md grants no blanket open-source license for recovered logic or generated pseudocode. The original game and derived exports retain their rights.

Cite

BibTeX

@misc{lezac-rea-decompilation-case,
  title = {{Larax \& Zaco: an REA-exported evidence base and partial routine recovery}},
  howpublished = {\url{https://github.com/Hubert-Rybak/lezac-decompilation}},
  url = {https://github.com/Hubert-Rybak/lezac-decompilation},
  urldate = {2026-10-18},
  note = {Awesome REA entry: \url{https://awesomerea.org/resources/lezac-rea-decompilation-case/}}
}

Plain text

Larax & Zaco: an REA-exported evidence base and partial routine recovery. https://github.com/Hubert-Rybak/lezac-decompilation (accessed 2026-10-18). Awesome REA entry: https://awesomerea.org/resources/lezac-rea-decompilation-case/

Useful? Star Awesome REA on GitHub2.4k

About this entry

The description was reviewed against primary sources.

Report an outdated entry Suggest a translation fix

Primary sources

  1. README.md GitHub · Hubert-Rybak/lezac-decompilation · Revision 73b4bdb
  2. RIGHTS.md GitHub · Hubert-Rybak/lezac-decompilation · Revision 73b4bdb
  3. docs/analysis.md GitHub · Hubert-Rybak/lezac-decompilation · Revision 73b4bdb
  4. docs/pascal-recovery.md GitHub · Hubert-Rybak/lezac-decompilation · Revision 73b4bdb
  5. docs/reproduction.md GitHub · Hubert-Rybak/lezac-decompilation · Revision 73b4bdb
  6. docs/emulator-baseline.md GitHub · Hubert-Rybak/lezac-decompilation · Revision 73b4bdb
  7. analysis/provenance.json GitHub · Hubert-Rybak/lezac-decompilation · Revision 73b4bdb
  8. analysis/coverage.json GitHub · Hubert-Rybak/lezac-decompilation · Revision 73b4bdb
  9. analysis/emulator.json GitHub · Hubert-Rybak/lezac-decompilation · Revision 73b4bdb
  10. Makefile GitHub · Hubert-Rybak/lezac-decompilation · Revision 73b4bdb
  11. .github/workflows/verify.yml GitHub · Hubert-Rybak/lezac-decompilation · Revision 73b4bdb

More in Games

All 2976 entries in GamesGames case studies (2832)

↑↓ move↵ open⌘↵ new tab