find-WeaponBuy

Locate and identify the WeaponBuy handler in CS2 binaries via IDA Pro MCP.

60|11|Updated Jan 23, 2026
One-click install
npx skills add https://github.com/HLND2T/CS2_VibeSignatures --skill find-weaponbuy-hlnd2t
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: find-WeaponBuy
Source: https://github.com/HLND2T/CS2_VibeSignatures/tree/main/.claude/skills/find-WeaponBuy
Command: npx skills add https://github.com/HLND2T/CS2_VibeSignatures --skill find-weaponbuy-hlnd2t

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Locate and identify the WeaponBuy (item purchase handler) function in CS2 server binaries using IDA Pro MCP. Use this skill when reverse engineering CS2 server.dll or libserver.so to locate the WeaponBuy function by searching for the "item_purchase" string reference and analyzing cross-references.

Core Features & Use Cases

  • Locate the WeaponBuy function by searching for the "item_purchase" string and collecting cross-references.
  • Decompile and verify the function to confirm it handles weapon purchase logic and fires the item_purchase event with fields like userid, team, loadout, and weapon.
  • Rename the function for clarity and generate a robust signature, then document the analysis in YAML beside the binary.

Quick Start

Locate the WeaponBuy function in the CS2 server binaries using the steps in this Skill and generate a YAML analysis for the function.

Frequently Asked Questions about find-WeaponBuy

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

FAQPage Schema
How do I find the item_purchase handler in CS2 server binaries?

To find the item_purchase handler in CS2 binaries, search for the "item_purchase" string reference and trace cross-references to locate the WeaponBuy function. This process maps the weapon purchase flow and event structure for analysis.

What is the best way to reverse engineer the WeaponBuy function in CS2?

Reverse engineering the WeaponBuy function involves searching for the "item_purchase" string, analyzing cross-references, decompiling the function, and generating a signature. This confirms the function handles weapon purchase logic and event firing.

Can I use IDA Pro to trace the item_purchase event in server.dll?

Yes, you can use IDA Pro to trace the item_purchase event in server.dll. By searching for the string reference and collecting cross-references, you can locate the WeaponBuy handler and verify the event structure containing userid, team, loadout, and weapon fields.

How do I generate a signature for a function found via binary analysis in CS2?

Generate a signature for a function found via binary analysis by first decompiling and verifying the function, then renaming it for clarity. This creates a robust signature that can be documented alongside the binary analysis in YAML format.

Does the CS2 item_purchase event contain weapon and loadout fields?

Yes, the CS2 item_purchase event contains weapon and loadout fields. By decompiling and verifying the WeaponBuy function, you can confirm the event structure includes these fields along with userid and team data.

Why should I document binary analysis results in YAML?

Documenting binary analysis results in YAML provides a structured, readable format for the function analysis. It records the verified WeaponBuy function, its generated signature, and the item_purchase event structure for future reference.