{
  "added_at": "2026-11-09",
  "category": "reconstruction-cases",
  "class": "game",
  "description_en": "Grand Prix 4 Decompilation reconstructs GP4.exe functions as C++ and compares each candidate with the original under generated emulator inputs. Its repository includes a function ledger, input layouts and an in-game hook; the author reports 5,669 functions accepted by differential emulation while a playable replacement remains unfinished.",
  "description_zh": "Grand Prix 4 Decompilation 将 GP4.exe 的函数重构为 C++，并用生成输入在模拟器中对照原函数。仓库提供函数进度清单、输入布局和游戏内挂钩；作者报告已有 5,669 个函数通过差分模拟，仍未形成可玩的替代程序。",
  "entry_url": "https://awesomerea.org/resources/grand-prix-4-decomp-case/",
  "entry_url_zh": "https://awesomerea.org/zh/resources/grand-prix-4-decomp-case/",
  "evidence_url": "https://github.com/leighrobertabbott/decomp-grandprix4/blob/d71cbd42dc2d358c9c716de628871177e7a90ba1/README.md",
  "group": "cases",
  "id": "grand-prix-4-decomp-case",
  "json_url": "https://awesomerea.org/resources/grand-prix-4-decomp-case/record.json",
  "kind": "case-study",
  "markdown_url": "https://awesomerea.org/resources/grand-prix-4-decomp-case/index.md",
  "markdown_url_zh": "https://awesomerea.org/zh/resources/grand-prix-4-decomp-case/index.md",
  "name": "Grand Prix 4 Decompilation: behavior-matched GP4.exe functions",
  "name_zh": "Grand Prix 4 Decompilation：行为匹配的 GP4.exe 函数重构",
  "reconstruction_method": "decompilation",
  "record_type": "resource",
  "relationship": "independent-reconstruction",
  "requirement_facets": [
    "prerequisites",
    "limits",
    "limits",
    "license"
  ],
  "requirements": [
    "Requires the user's copy of the specified Grand Prix 4 GP4.exe build.",
    "The author reports 5,669 functions accepted by differential emulation and 306 awaiting in-game checks.",
    "The reconstruction does not yet build a playable replacement executable.",
    "MIT licence."
  ],
  "requirements_zh": [
    "需要用户提供指定版本《Grand Prix 4》的 GP4.exe。",
    "作者报告 5,669 个函数已通过差分模拟，另有 306 个等待游戏内检查。",
    "重构代码目前尚不能构建可玩的替代可执行文件。",
    "采用 MIT 许可证。"
  ],
  "targets": [
    "game"
  ],
  "url": "https://github.com/leighrobertabbott/decomp-grandprix4",
  "verification": "source-reviewed",
  "verified_at": "2026-11-09"
}
