analyze-function

Combine objdiff match data, Ghidra decompilation, and m2c translation into a unified function state view.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Helps RB3 decomp developers quickly assess a function's state by combining objdiff match %, Ghidra decompiled output, and m2c translation into a single view.

Core Features & Use Cases

  • Unified reconnaissance: consolidates objdiff, Ghidra, and m2c results to provide a coherent picture of current state and gaps.
  • Flexible scopes: supports analysis by mangled symbol or explicit unit, with fast switching between full-analysis and targeted runs.
  • Guided decomp workflow: identifies key types, structure, and starting points to accelerate implementation.

Quick Start

Run the analysis for a function by its mangled symbol to generate a current-state report and recommended next steps.

Frequently Asked Questions about analyze-function

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

FAQPage Schema
How do I combine objdiff match data and Ghidra decompilation for function analysis?

Combining objdiff match data and Ghidra decompilation for function analysis merges match percentages and decompiled names into a unified state view. This consolidates current state and gaps to accelerate RB3 decomp reconnaissance.

What is the best way to run m2c translation alongside objdiff for RB3 decomp work?

Running m2c translation alongside objdiff for RB3 decomp work uses m2c to provide mechanical C translation structure. This guides implementation by identifying key types, structure, and starting points from the combined output.

Can I analyze a function by its mangled symbol for decompilation reconnaissance?

You can analyze a function by its mangled symbol for decompilation reconnaissance to generate a current-state report. This supports flexible scopes with fast switching between full-analysis and targeted runs across functions.

Does unified function analysis support targeted runs for specific units?

Unified function analysis supports targeted runs for specific units by allowing explicit unit specification. This enables fast switching between full-analysis and targeted runs to assess a function's state quickly.

Why do I need to consolidate objdiff and Ghidra outputs for decompilation?

You need to consolidate objdiff and Ghidra outputs for decompilation because combining match percentages, decompiled names, and types provides a coherent picture. This helps you quickly assess a function's state and identify gaps.