find-CSource2Client_OnDisconnect

Locate CSource2Client_OnDisconnect in CS2 binaries via string cross-references.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Find and identify the CSource2Client_OnDisconnect function in CS2 binaries (client.dll on Windows or libclient.so on Linux) by locating the debug strings "client_disconnect" and "reason_code" and analyzing cross-references to pinpoint the matching code pattern.

Core Features & Use Cases

  • Locate CSource2Client_OnDisconnect in CS2 client DLLs or libclient.so by inspecting string references and cross-references.
  • Prepare for a robust signature using IDA Pro MCP tooling, including function renaming and YAML export steps.
  • Apply to reverse-engineering CS2 client binaries to map the disconnect handling to the reason_code parameter.

Quick Start

Use IDA Pro MCP to locate the CSource2Client_OnDisconnect function by analyzing references to client_disconnect and reason_code, then rename the function and generate a signature for YAML output.

Frequently Asked Questions about find-CSource2Client_OnDisconnect

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

FAQPage Schema
How do I locate CSource2Client_OnDisconnect in CS2 client binaries?

You can locate CSource2Client_OnDisconnect in CS2 client binaries by finding the debug strings "client_disconnect" and "reason_code" and analyzing their cross-references to pinpoint the matching code pattern and validate event creation logic.

What is the best way to reverse-engineer the OnDisconnect routine in libclient.so?

Reverse-engineering the OnDisconnect routine in libclient.so involves locating the client_disconnect and reason_code strings to map disconnect handling and validate the associated event creation logic.

Can I use IDA Pro MCP to generate signatures for CS2 functions?

Yes, IDA Pro MCP supports generating signatures for CS2 functions by locating the target routine, renaming the function, and exporting the results into YAML format.

Does this string reference analysis work on both Windows client.dll and Linux libclient.so?

Yes, this string reference analysis works on both Windows client.dll and Linux libclient.so by inspecting the client_disconnect and reason_code strings to locate the CSource2Client_OnDisconnect function.

How do I map the disconnect handling to the reason_code parameter in CS2?

To map disconnect handling to the reason_code parameter in CS2, locate the CSource2Client_OnDisconnect function by analyzing cross-references from the reason_code debug string to validate the event creation logic.

What steps are needed to export identified CS2 functions to YAML?

To export identified CS2 functions to YAML, use IDA Pro MCP tooling to locate the function via string cross-references, rename the function, and generate a signature for YAML export.