# Spyro the Dragon：通过函数挂钩测试 C 代码重构

> Spyro the Dragon 将选定的 PlayStation 游戏函数重构为可读的 C 代码并比较行为。流程比较编译后的指令数量，把替代函数放入额外内存，再重定向原始入口，在 PCSX-Redux 中测试。

- 类型：案例
- 目标：游戏
- 类别：独立重建案例
- 关联：独立重建项目
- 来源复核于：2026-11-06
- 收录于：2026-11-09
- 原始资源：<https://github.com/C0mposer/spyro1-reverse-engineering>
- 一手来源：<https://github.com/C0mposer/spyro1-reverse-engineering/blob/25d0faaa1cf6cf0d9d918d2a4e80dd07726cc9d3/README.md>
- 目录页面：<https://awesomerea.org/zh/resources/spyro-the-dragon-function-reconstruction-case/>
- 记录 JSON：<https://awesomerea.org/resources/spyro-the-dragon-function-reconstruction-case/record.json>
- 英文版：[English](https://awesomerea.org/resources/spyro-the-dragon-function-reconstruction-case/index.md)

## 使用条件与局限

- 文档中的挂钩测试流程使用额外的开发用内存和 PCSX-Redux。
- 文档中的流程使用 Ghidra、spimdisasm 和现代 MIPS 编译器。
- 当前方法通过挂钩测试函数，尚未重建整部游戏。

## 一手来源

1. <https://github.com/C0mposer/spyro1-reverse-engineering/blob/25d0faaa1cf6cf0d9d918d2a4e80dd07726cc9d3/README.md>

## 同分区更多条目：游戏

- [SSX 3：进行中的 GameCube 游戏反编译](https://awesomerea.org/zh/resources/ssx-3-gamecube-decomp-case/index.md) · 案例
- [Star Fox Adventures：调试版反编译](https://awesomerea.org/zh/resources/sfa-debug-decomp/index.md) · 案例
- [Star Fox Adventures：展示版 default.dol 反编译](https://awesomerea.org/zh/resources/star-fox-adventures-kiosk-dol-case/index.md) · 案例
- [Starmaster：带注释的 Atari 2600 反汇编](https://awesomerea.org/zh/resources/starmaster-atari-2600-disassembly-case/index.md) · 案例
- [Starquake：BBC Micro 版反汇编](https://awesomerea.org/zh/resources/starquake-bbc-micro-case/index.md) · 案例
- [Street Fighter Alpha 3 MAX：带原生运行环境的 PSP 游戏部分反编译](https://awesomerea.org/zh/resources/street-fighter-alpha-3-max-decomp-case/index.md) · 案例

## 关于此条目

说明已依据一手来源复核。
原创说明采用 MIT 许可；外部项目、论文与素材保留各自的权利和许可。
