{
  "added_at": "2026-11-09",
  "category": "reconstruction-cases",
  "class": "game",
  "description_en": "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.",
  "description_zh": "Leaflitter 针对欧版 3DS 游戏《Paper Mario: Sticker Star》进行反编译。项目从用户自己的游戏副本提取 code.bin，使用 n3dsdisasm 生成汇编，并通过 armcc 编译源码；辅助工具可处理 Ghidra 头文件和符号名，make 还会生成 objdiff 配置。",
  "entry_url": "https://awesomerea.org/resources/leaflitter-case/",
  "entry_url_zh": "https://awesomerea.org/zh/resources/leaflitter-case/",
  "evidence_url": "https://codeberg.org/Ivylag/leaflitter/src/commit/16b34cde8268177c370677af6e581fdf66e9f72d/README.md",
  "group": "cases",
  "id": "leaflitter-case",
  "json_url": "https://awesomerea.org/resources/leaflitter-case/record.json",
  "kind": "case-study",
  "markdown_url": "https://awesomerea.org/resources/leaflitter-case/index.md",
  "markdown_url_zh": "https://awesomerea.org/zh/resources/leaflitter-case/index.md",
  "name": "Leaflitter: decompiling Paper Mario: Sticker Star for 3DS",
  "name_zh": "Leaflitter：反编译 3DS 游戏《Paper Mario: Sticker Star》",
  "reconstruction_method": "decompilation",
  "record_type": "resource",
  "relationship": "independent-reconstruction",
  "requirement_facets": [
    "prerequisites",
    "prerequisites",
    "limits",
    "license"
  ],
  "requirements": [
    "A European copy of Paper Mario: Sticker Star and either a homebrewed 3DS with godmode9 or ctrtool are required to obtain code.bin.",
    "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.",
    "The build output is not yet matching or in the same format as the code.bin.",
    "The project uses BSD 2-Clause licensing except for decompiled code in src, which the page places under CC0."
  ],
  "requirements_zh": [
    "获取 code.bin 需要欧版《Paper Mario: Sticker Star》，以及安装 godmode9 的自制系统 3DS 或 ctrtool。",
    "反汇编和编译需要 Python 3、make 与 n3dsdisasm；构建还需要 armcc 4.1 build 995，并在 Linux 上使用 wibo，Windows 用户使用 WSL。",
    "目前构建结果尚未与原版匹配，格式也与 code.bin 不同。",
    "项目采用 BSD 2-Clause 许可证；页面将 src 中的反编译代码列为 CC0。"
  ],
  "targets": [
    "game"
  ],
  "url": "https://codeberg.org/Ivylag/leaflitter",
  "verification": "source-reviewed",
  "verified_at": "2026-11-09"
}
