{
  "added_at": "2026-11-09",
  "category": "reconstruction-cases",
  "class": "game",
  "description_en": "Spyro the Dragon reconstructs selected PlayStation game functions as readable C for behavioral comparison. The workflow compares compiled instruction counts, places replacement functions in extra RAM and redirects original entry points to test them in PCSX-Redux.",
  "description_zh": "Spyro the Dragon 将选定的 PlayStation 游戏函数重构为可读的 C 代码并比较行为。流程比较编译后的指令数量，把替代函数放入额外内存，再重定向原始入口，在 PCSX-Redux 中测试。",
  "entry_url": "https://awesomerea.org/resources/spyro-the-dragon-function-reconstruction-case/",
  "entry_url_zh": "https://awesomerea.org/zh/resources/spyro-the-dragon-function-reconstruction-case/",
  "evidence_class": 2,
  "evidence_status": "observed",
  "evidence_url": "https://github.com/C0mposer/spyro1-reverse-engineering/blob/25d0faaa1cf6cf0d9d918d2a4e80dd07726cc9d3/README.md",
  "group": "cases",
  "id": "spyro-the-dragon-function-reconstruction-case",
  "json_url": "https://awesomerea.org/resources/spyro-the-dragon-function-reconstruction-case/record.json",
  "kind": "case-study",
  "markdown_url": "https://awesomerea.org/resources/spyro-the-dragon-function-reconstruction-case/index.md",
  "markdown_url_zh": "https://awesomerea.org/zh/resources/spyro-the-dragon-function-reconstruction-case/index.md",
  "name": "Spyro the Dragon: testing C reconstructions through function hooks",
  "name_zh": "Spyro the Dragon：通过函数挂钩测试 C 代码重构",
  "reconstruction_method": "decompilation",
  "record_type": "resource",
  "relationship": "independent-reconstruction",
  "requirements": [
    "The documented hook workflow uses extra developer RAM and PCSX-Redux for testing.",
    "Ghidra, spimdisasm and a modern MIPS compiler are used in the documented workflow.",
    "The current approach tests hooked functions and does not rebuild the game."
  ],
  "requirements_zh": [
    "文档中的挂钩测试流程使用额外的开发用内存和 PCSX-Redux。",
    "文档中的流程使用 Ghidra、spimdisasm 和现代 MIPS 编译器。",
    "当前方法通过挂钩测试函数，尚未重建整部游戏。"
  ],
  "scope": "unknown",
  "targets": [
    "game"
  ],
  "url": "https://github.com/C0mposer/spyro1-reverse-engineering",
  "verification": "source-reviewed",
  "verified_at": "2026-11-06"
}
