Decompile a Function
Decompiles a function from assembly to C code for the Snowboard Kids 2 N64 decompilation project.
The source repository doesn't declare a license. Check its terms before reusing the code.
Key features
- Enforces strict code quality standards, including the elimination of manual pointer arithmetic in favor of typed struct access.
- Defines a clear process for handling both successful matches and difficult-to-decompile functions.
- Provides a step-by-step workflow for decompiling functions, from environment setup to final commit.
- Integrates with project-specific tools for building, verification (`build-and-verify.sh`), and assembly comparison (`diff.py`).
- Includes guidance for handling project-specific patterns, such as asset loading.
Use cases
- Reverse-engineering a specific function within the Snowboard Kids 2 N64 game.
- Refactoring existing C code to correctly match the original assembly and pass build verification.
- Contributing a matching function to the `snowboardkids2-decomp` open-source project.
FAQ
When should I use this skill?
Use this skill when you are contributing to the Snowboard Kids 2 decompilation project and have been tasked with translating a specific, non-matching assembly function into C.
How does this skill improve my workflow?
It streamlines decompilation by integrating project-specific tools for building and verification, enforcing high code quality standards, and providing clear steps for both successful matches and difficult-to-decompile functions.
What capabilities does it provide?
This skill guides you through environment setup, iterative C code matching, build verification, and committing changes. It enforces strict code quality, such as replacing manual pointer arithmetic with typed struct access for cleaner code.
What does this skill do?
This skill provides a structured workflow to decompile a specific function from MIPS assembly into matching C code for the Snowboard Kids 2 N64 decompilation project.
Related skills
Understand Networked Events
Analyzes and explains the communication flow of networked events between clients and servers in a Highrise Studio project.
Game Development12 ptsCreate Highrise Studio UI
Creates and edits user interface components for Highrise Studio projects using UXML, Lua, and USS files.
Game Development12 pts