Decompiles a function from assembly to C code for the Snowboard Kids 2 N64 decompilation project.
Provides a comprehensive, step-by-step workflow for decompiling a function from MIPS assembly to matching C code within the Snowboard Kids 2 N64 project. This skill guides the user through setting up a dedicated environment, iteratively writing C code to match the original binary, integrating the final code, and verifying the entire project build. It enforces strict code quality standards, such as replacing pointer arithmetic with proper struct usage, and includes procedures for handling both successful and unsuccessful decompilation attempts.
Características Principales
0154 GitHub stars
02Enforces strict code quality standards, including the elimination of manual pointer arithmetic in favor of typed struct access.
03Defines a clear process for handling both successful matches and difficult-to-decompile functions.
04Provides a step-by-step workflow for decompiling functions, from environment setup to final commit.
05Integrates with project-specific tools for building, verification (`build-and-verify.sh`), and assembly comparison (`diff.py`).
06Includes guidance for handling project-specific patterns, such as asset loading.
Casos de Uso
01Reverse-engineering a specific function within the Snowboard Kids 2 N64 game.
02Refactoring existing C code to correctly match the original assembly and pass build verification.
03Contributing a matching function to the `snowboardkids2-decomp` open-source project.