# Leaflitter: decompiling Paper Mario: Sticker Star for 3DS

> Leaflitter decompiles the European release of Paper Mario: Sticker Star for Nintendo 3DS. It extracts code.bin from the user's game copy, generates assembly with n3dsdisasm, and builds source with armcc; utilities process Ghidra headers and symbol names, while make generates objdiff configuration.

- Type: Case study
- Targets: Game
- Category: Independent reconstruction cases
- Relationship: Independent reconstruction project
- Sources reviewed: 2026-11-09
- Added to the catalog: 2026-11-09
- Original resource: <https://codeberg.org/Ivylag/leaflitter>
- Primary source: <https://codeberg.org/Ivylag/leaflitter/src/commit/16b34cde8268177c370677af6e581fdf66e9f72d/README.md>
- Catalog page: <https://awesomerea.org/resources/leaflitter-case/>
- Record JSON: <https://awesomerea.org/resources/leaflitter-case/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/leaflitter-case/index.md)

## Requirements & limits

- **Prerequisites:** A European copy of Paper Mario: Sticker Star and either a homebrewed 3DS with godmode9 or ctrtool are required to obtain code.bin.
- **Prerequisites:** Disassembly and compilation require Python 3, make and n3dsdisasm; building calls for armcc 4.1 build 995 and wibo on Linux, or WSL on Windows.
- **Limits:** The build output is not yet matching or in the same format as the code.bin.
- **License:** The project uses BSD 2-Clause licensing except for decompiled code in src, which the page places under CC0.

## Primary sources

1. <https://codeberg.org/Ivylag/leaflitter/src/commit/16b34cde8268177c370677af6e581fdf66e9f72d/README.md>

## More in Games

- [Legacy of Kain: Soul Reaver — a decompilation and port](https://awesomerea.org/resources/kain2/index.md) · Case study
- [Lego Battles: a hand-decompiled Nintendo DS reconstruction](https://awesomerea.org/resources/lego-battles-decomp-case/index.md) · Case study
- [Lego Island 2: GBA decompilation](https://awesomerea.org/resources/lego-island-2-gba-case/index.md) · Case study
- [LEGO Racers: an N64 source reconstruction in progress](https://awesomerea.org/resources/lego-racers-case/index.md) · Case study
- [LEGO Rock Raiders: a C and C++ decompilation project](https://awesomerea.org/resources/lego-rock-raiders-decompile-case/index.md) · Case study
- [libmkb: reconstructing Super Monkey Ball 2 systems as a C++ library](https://awesomerea.org/resources/libmkb-case/index.md) · Case study

## About this entry

The description was reviewed against primary sources.
Original editorial content: MIT. Linked projects, papers and assets retain their own rights and licenses.
