hzqst

find-CCSPlayer_WeaponServices_vtable

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

Install specific skill from multi-skill repository

# Description

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

# SKILL.md


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


Find CCSPlayer_WeaponServices_vtable

Locate CCSPlayer_WeaponServices_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 CCSPlayer_WeaponServices:

/get-vtable-address CCSPlayer_WeaponServices

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: CCSPlayer_WeaponServices
- vtable_va: The vtable address from step 1

VTable Symbol Patterns

Windows (server.dll)

The vtable uses MSVC name mangling:
- ??_7CCSPlayer_WeaponServices@@6B@ - CCSPlayer_WeaponServices vtable

Linux (server.so)

The vtable uses Itanium C++ ABI name mangling:
- _ZTV24CCSPlayer_WeaponServices - CCSPlayer_WeaponServices vtable

Output YAML Format

The output YAML filename depends on the platform:
- server.dll โ†’ CCSPlayer_WeaponServices_vtable.windows.yaml
- server.so / libserver.so โ†’ CCSPlayer_WeaponServices_vtable.linux.yaml

vtable_class: CCSPlayer_WeaponServices
vtable_va: 0x1816bad08    # Virtual address - changes with game updates
vtable_rva: 0x16bad08     # Relative virtual address - changes with game updates
vtable_size: 0x130        # VTable size in bytes - changes with game updates
vtable_numvfunc: 38       # 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.