# Spyro the Dragon: testing C reconstructions through function hooks

> 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.

- Type: Case study
- Targets: Game
- Category: Independent reconstruction cases
- Relationship: Independent reconstruction project
- Sources reviewed: 2026-11-06
- Added to the catalog: 2026-11-09
- Original resource: <https://github.com/C0mposer/spyro1-reverse-engineering>
- Primary source: <https://github.com/C0mposer/spyro1-reverse-engineering/blob/25d0faaa1cf6cf0d9d918d2a4e80dd07726cc9d3/README.md>
- Catalog page: <https://awesomerea.org/resources/spyro-the-dragon-function-reconstruction-case/>
- Record JSON: <https://awesomerea.org/resources/spyro-the-dragon-function-reconstruction-case/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/spyro-the-dragon-function-reconstruction-case/index.md)

## Requirements & limits

- 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.

## Primary sources

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

## More in Games

- [SSX 3: a work-in-progress GameCube decompilation](https://awesomerea.org/resources/ssx-3-gamecube-decomp-case/index.md) · Case study
- [Star Fox Adventures: debug build decompilation](https://awesomerea.org/resources/sfa-debug-decomp/index.md) · Case study
- [Star Fox Adventures: kiosk default.dol decompilation](https://awesomerea.org/resources/star-fox-adventures-kiosk-dol-case/index.md) · Case study
- [Starmaster: a commented Atari 2600 disassembly](https://awesomerea.org/resources/starmaster-atari-2600-disassembly-case/index.md) · Case study
- [Starquake: BBC Micro disassembly](https://awesomerea.org/resources/starquake-bbc-micro-case/index.md) · Case study
- [Street Fighter Alpha 3 MAX: a partial PSP decompilation with a native runtime](https://awesomerea.org/resources/street-fighter-alpha-3-max-decomp-case/index.md) · Case study

## About this entry

The description was reviewed against primary sources.
Original editorial content: MIT. Linked projects, papers and assets retain their own rights and licenses.
