<!-- Canonical page: https://reversedwithai.com/p/heroes-of-mana-ds-decomp-agents -->
Canonical page: https://reversedwithai.com/p/heroes-of-mana-ds-decomp-agents

# Matched a fifth of Heroes of Mana (DS) as an agent-driven decompilation

> The Square Enix DS strategy game, rebuilt against the original ARM code.

liolu Heroes of Mana decomp reaches 20.65 percent byte-matched code through the DS Decomp Studio agent pipeline, with the ROM rebuilding exactly and no game assets committed.

## Key facts

- Target: Heroes of Mana (Nintendo DS)
- Category: Games and mods
- Platform: Nintendo DS (ARM)
- Outcome: Partial
- Checks: Source available: not reported; Repro steps: not reported; Real hardware: not reported; Verified by others: not reported
- Author: [liolu](https://github.com/liolu)
- Added: 2026-10-19
- Updated: 2026-10-19
- Sources reviewed: 2026-10-19 (editor)

## What was done

liolu Heroes of Mana decompilation rebuilds the 2007 Square Enix DS game against its original ARM code, matching functions so the ROM rebuilds byte for byte. It runs on the DS Decomp Studio pipeline, the same agent market already listed on this site as a work queue for dozens of Nintendo DS titles, and its AGENTS.md carries the rules the agents work from. No game assets are in the repository.

### How it was done
The project targets the European release with game code AHEP, builds with Metrowerks mwccarm while the exact compiler version is still identified, and counts nothing until it compiles to the exact same bytes with the whole ROM rebuilding. 4,061 functions are matched as raw m2c output still to clean up, 229 more are reused from other decompilations before merging, and the NitroSDK, NitroSystem and MSL library sections are being finished one at a time. The bytematch badge on the repository recomputes the numbers itself, so progress stays honest.

### Results
As of 19 October 2026 the code match stands at 20.65 percent, with 4,829 of 9,265 functions done and data at 75.27 percent. It is early work on a long decompilation, useful for anyone continuing this game or the shared NitroSDK library work across the pipeline. The same author runs parallel agent decompilations of Ultimate Spider-Man, Spider-Man: Web of Shadows, The Simpsons Game, Spyro: Shadow Legacy and Resident Evil: Deadly Silence on DS, and this one is the furthest along of the bunch after Ultimate Spider-Man.

## What the commit history shows

176 of 342 commits in the public repository credit an AI, over 22 days between 2026-10-12 and 2026-11-12. Credited: Claude Opus 5.5 (94), Claude Sonnet 5.5 (63), Claude Haiku 5.5 (8), Qwen (5).

Measured by this site from public git history.

## Questions about Heroes of Mana (Nintendo DS)

### What is the Heroes of Mana (Nintendo DS) project?

liolu Heroes of Mana decomp reaches 20.65 percent byte-matched code through the DS Decomp Studio agent pipeline, with the ROM rebuilding exactly and no game assets committed. It is listed under Games and mods for Nintendo DS (ARM).

### Did the AI reverse engineering of Heroes of Mana (Nintendo DS) work?

Its author reports that it partly works.

### Is the source code for Heroes of Mana (Nintendo DS) available?

The entry links a repository, https://github.com/liolu/heroes-of-mana-decomp, but does not record whether the code is public.

## Sources

- [Repository](https://github.com/liolu/heroes-of-mana-decomp)

Figures are reported by the author and not measured by this site, except the commit history. Entry drafted with AI from the linked sources and checked against them.

Cite as: liolu (2026). Matched a fifth of Heroes of Mana (DS) as an agent-driven decompilation. Reversed with AI. https://reversedwithai.com/p/heroes-of-mana-ds-decomp-agents
