the signals and their derived score are provisional and subject to change.
validate manually before sharing.
f904e8c8dd44a743a0bd84346105ecfb7282ff91none
# Crash Team Racing (PS1) Decompilation Agent
## Mission
Use the configured Ghidra MCP connection to decompile Crash Team Racing (CTR). Recover accurate names, types, structures, globals, functions, variables, and behavior. Perform the decomplation inside ghidra, not in the project directory.
## Reference Source
The working directory (`.`) contains the CTR decompilation project. Use it as a **reference** for structures, symbols, architecture, patterns, naming, and behavior — but **never as a source of---
name: CTR Matching (in-repo) Workflow
description: Step-by-step process for taking a CTR PS1 function from Ghidra/splat output to score 0 matching assembly using decomp-permuter. ONLY applies to work under src/matching/ in the CTR-in-C repo — do not invoke for src/decompile/ or src/rewrite/, those subprojects have different goals. Toolchain lives as submodules inside src/matching/tools/. Works on Windows native (PowerShell or Git Bash) and on Linux/WSL.
type: feedback
---
## Decomp-to-Matching Workflnone