{
  "added_at": "2026-11-09",
  "additional_evidence_urls": [
    "https://github.com/KevinBonnoron/xc2-decomp/blob/0386b128c26cfa992440ebb2f4990abf6cec736b/AGENTS.md"
  ],
  "category": "reconstruction-cases",
  "class": "game",
  "description_en": "xc2-decomp reconstructs Xenoblade Chronicles 2 version 1.0.0 C++ for Nintendo Switch and checks functions against the original AArch64 executable. Its Nix environment provides Clang 3.9.1 and analysis tools; check compiles reconstructed functions and reports byte differences. The author reports 37,087 of 48,739 named functions matched.",
  "description_zh": "xc2-decomp 重建 Nintendo Switch 版《异度神剑 2》1.0.0 的 C++ 代码，并逐函数与原始 AArch64 可执行文件比较。Nix 环境提供 Clang 3.9.1 和分析工具；check 编译重建函数并报告字节差异。作者报告 48,739 个具名函数中已有 37,087 个匹配。",
  "entry_url": "https://awesomerea.org/resources/xc2-decomp-case/",
  "entry_url_zh": "https://awesomerea.org/zh/resources/xc2-decomp-case/",
  "evidence_class": 2,
  "evidence_status": "observed",
  "evidence_url": "https://github.com/KevinBonnoron/xc2-decomp/blob/0386b128c26cfa992440ebb2f4990abf6cec736b/README.md",
  "group": "cases",
  "id": "xc2-decomp-case",
  "json_url": "https://awesomerea.org/resources/xc2-decomp-case/record.json",
  "kind": "case-study",
  "markdown_url": "https://awesomerea.org/resources/xc2-decomp-case/index.md",
  "markdown_url_zh": "https://awesomerea.org/zh/resources/xc2-decomp-case/index.md",
  "name": "Xenoblade Chronicles 2: matching decompilation of the Switch executable",
  "name_zh": "Xenoblade Chronicles 2：Switch 可执行文件逐函数匹配反编译",
  "reconstruction_method": "matching-decompilation",
  "record_type": "resource",
  "relationship": "independent-reconstruction",
  "requirements": [
    "Requires a user-supplied Xenoblade Chronicles 2 version 1.0.0 XCI dump and matching console prod.keys.",
    "Requires Nix with flakes enabled; the development shell supplies the compiler and analysis tools.",
    "The author reports 37,087 of 48,739 named functions matched."
  ],
  "requirements_zh": [
    "需要用户自行提供《异度神剑 2》1.0.0 的 XCI 镜像及对应主机的 prod.keys。",
    "需要启用 flakes 的 Nix；开发环境提供编译器和分析工具。",
    "作者报告 48,739 个具名函数中已有 37,087 个匹配。"
  ],
  "scope": "unknown",
  "targets": [
    "binary",
    "game"
  ],
  "url": "https://github.com/KevinBonnoron/xc2-decomp",
  "verification": "source-reviewed",
  "verified_at": "2026-11-06"
}
