ghidra-decompile

Decompile RB3 Wii ELF functions into readable C code with DWARF symbols.

4|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/freeqaz/rb3 --skill ghidra-decompile
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ghidra-decompile
Source: https://github.com/freeqaz/rb3/tree/main/.claude/skills/ghidra-decompile
Command: npx skills add https://github.com/freeqaz/rb3 --skill ghidra-decompile

SYSTEM DOCUMENTATION & REQUIREMENTS

## What problem does it solve? Decompile a function from RB3's Wii debug ELF into readable C code with accurate DWARF symbol information, helping you understand behavior without manual reverse engineering.

## Core Features & Use Cases

  • Decompile a function from the RB3 Wii debug ELF via Ghidra's decompiler (MCP).
  • View decompiled C code with full DWARF symbols for accurate types.
  • Use when investigating function behavior prior to implementing fixes or optimizations.

### Quick Start Use the analyze-function workflow by providing a function name or address to obtain decompiled C results from Ghidra with full DWARF symbols.

Frequently Asked Questions about ghidra-decompile

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I decompile a function from a Wii debug ELF using Ghidra?

To decompile a Wii debug ELF function using Ghidra, you provide a function name, qualified name, or direct address. The Skill uses Ghidra's decompiler via MCP to return readable C code with accurate DWARF symbols.

What is the best way to view C code with DWARF symbols for RB3 reverse engineering?

Viewing C code with DWARF symbols for RB3 reverse engineering involves using Ghidra's decompiler through a local MCP service. It processes the RB3 Wii debug ELF to reveal accurate types and function structure.

Can I decompile RB3 functions by direct address or do I need the exact symbol name?

You can decompile RB3 functions by direct address without needing the exact symbol name. The Skill supports resolution by symbol, qualified name, or direct address to investigate function behavior and control flow.

Does Ghidra MCP work with DWARF-rich debug ELFs for Wii decompilation?

Yes, Ghidra MCP works with DWARF-rich debug ELFs for Wii decompilation. It leverages the DWARF symbol information to produce decompiled C code with accurate types when investigating the RB3 debug ELF.

When should I use Ghidra decompilation for reverse engineering Wii functions?

Use Ghidra decompilation for reverse engineering Wii functions when investigating function structure, types, or control flow during decomp work on the RB3 debug ELF, particularly before implementing fixes or optimizations.