hzqst

find-CBaseEntity_vtable

5
0
# Install this skill:
npx skills add hzqst/CS2_VibeSignatures --skill "find-CBaseEntity_vtable"

Install specific skill from multi-skill repository

# Description

Find and identify the CBaseEntity vtable in CS2 binary using IDA Pro MCP. Use this skill when reverse engineering CS2 server.dll or server.so to locate the CBaseEntity virtual function table by searching for the mangled vtable symbol name.

# SKILL.md


name: find-CBaseEntity_vtable
description: Find and identify the CBaseEntity vtable in CS2 binary using IDA Pro MCP. Use this skill when reverse engineering CS2 server.dll or server.so to locate the CBaseEntity virtual function table by searching for the mangled vtable symbol name.


Find CBaseEntity_vtable

Locate CBaseEntity_vtable in CS2 server.dll or server.so using IDA Pro MCP tools.

Method

1. Get VTable Address and Size

Use /get-vtable-address skill with CBaseEntity:

/get-vtable-address CBaseEntity

This will return:
- vtableAddress: The address of the vtable
- sizeInBytes: Total size of the vtable in bytes
- numberOfVirtualFunctions: Count of virtual function entries

2. Write VTable Info as YAML

Use /write-vtable-as-yaml skill with:
- vtable_class: CBaseEntity
- vtable_va: The vtable address from step 1

VTable Symbol Patterns

Windows (server.dll)

The vtable uses MSVC name mangling:
- ??_7CBaseEntity@@6B@ - CBaseEntity vtable

Linux (server.so)

The vtable uses Itanium C++ ABI name mangling:
- _ZTV11CBaseEntity - CBaseEntity vtable

Output YAML Format

The output YAML filename depends on the platform:
- server.dllCBaseEntity_vtable.windows.yaml
- server.so / libserver.soCBaseEntity_vtable.linux.yaml

vtable_class: CBaseEntity
vtable_va: 0x216d960      # Virtual address - changes with game updates
vtable_rva: 0x216d960     # Relative virtual address - changes with game updates
vtable_size: 0x778        # VTable size in bytes - changes with game updates
vtable_numvfunc: 239      # Number of virtual functions - changes with game updates

# Supported AI Coding Agents

This skill is compatible with the SKILL.md standard and works with all major AI coding agents:

Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.