resolve-vcall

Resolves a vtable slot to its mangled symbol for MWCC PowerPC classes.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Resolve a single vcall slot to its function symbol for a named class. In MWCC PowerPC binaries, the vtable layout can be opaque, and pinpointing the exact symbol a call resolves to helps verify overrides and detect misalignments.

Core Features & Use Cases

  • Resolve a specific vtable slot in a given class to the corresponding mangled symbol.
  • Validate vtable slot indices against the initial vtable header (RTTI, offset_to_top) to avoid misreads.
  • Use case: debugging an objdiff mismatch where r12 loads from a vptr and the expected function differs.

Quick Start

Provide CLASS, SUB_OBJECT_OFFSET, and SLOT to retrieve the corresponding mangled symbol from the vtable.

Frequently Asked Questions about resolve-vcall

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

FAQPage Schema
How do I resolve a vtable slot to its function symbol in MWCC PowerPC binaries?▼

To resolve a vtable slot, provide the class name, sub-object offset, and slot index to retrieve the corresponding mangled symbol from the vtable. This validates slot indices against the initial vtable header to avoid misreads.

What is a vcall mismatch and how do I pinpoint the expected function in PowerPC?▼

A vcall mismatch occurs when objdiff shows an r12 load from a vptr that differs from the expected function. You pinpoint the exact function by resolving the specific vtable slot using the class name and sub-object offset.

How does vtable slot validation work for sub-objects in MWCC?▼

Vtable slot validation for sub-objects checks the specified slot index against the initial vtable header, including RTTI and offset_to_top values, ensuring you accurately retrieve the correct mangled function symbol.

What do I need to provide to look up a mangled symbol in a PowerPC vtable?▼

You need to provide the class name, the sub-object offset, and the slot index. These three inputs allow the tool to locate the exact vtable entry and return the corresponding mangled symbol.

Can I use this to debug objdiff mismatches for primary and sub-object vtables?▼

Yes, you can use this to debug objdiff mismatches by verifying specific slots in both primary and sub-object vtables. It resolves the exact function symbol a vcall targets to detect overrides and misalignments.

Why does my vtable slot index misread the function symbol in MWCC?▼

Your vtable slot index misreads the function symbol because the initial vtable header containing RTTI and offset_to_top values was not accounted for. Validating the slot index against this header prevents the misalignment.