Skip to content
Back to skills

215 Name Skill E641a7a0

ASecurity

Find and identify the ClientPrint function in CS2 binary using IDA Pro MCP. Use this skill when reverse engineering CS2 server.dll or server.so to locate the ClientPrint function by searching for known localization string references like "#Player_Cash_Award_ExplainSuicide_TeammateGotCash" and analyzing cross-references to find the print function.

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 11, 2026
toolsgo

Works with

  • cli
  • mcp

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 215-name-skill_e641a7a0 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 215 Name Skill E641a7a0?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 215 Name Skill E641a7a0
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-215-name-skill-e641a7a0/badge)](https://www.skillsdirectory.com/skills/tools-only-215-name-skill-e641a7a0)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: find-ClientPrint
description: Find and identify the ClientPrint function in CS2 binary using IDA Pro MCP. Use this skill when reverse engineering CS2 server.dll or server.so to locate the ClientPrint function by searching for known localization string references like "#Player_Cash_Award_ExplainSuicide_TeammateGotCash" and analyzing cross-references to find the print function.
---

# Find ClientPrint

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

## Method

1. Search for the localization string:
   ```
   mcp__ida-pro-mcp__find_regex pattern="#Player_Cash_Award_ExplainSuicide_TeammateGotCash"
   ```

2. Get cross-references to the string:
   ```
   mcp__ida-pro-mcp__xrefs_to addrs="<string_addr>"
   ```

3. Decompile the referencing function to find the ClientPrint call:
   ```
   mcp__ida-pro-mcp__decompile addr="<function_addr>"
   ```

4. Identify the ClientPrint function:
   - Look for a call that takes the localization string as a parameter
   - The function signature pattern: `ClientPrint(recipient_filter, msg_type, localization_string, param1, param2, param3, param4)`
   - In the decompiled code, look for calls like:
     ```c
     sub_XXXXXX((__int64)v100, 3, "#Player_Cash_Award_ExplainSuicide_TeammateGotCash", v54, v90, v89, 0);
     ```

5. Rename the function:
   ```
   mcp__ida-pro-mcp__rename batch={"func": [{"addr": "<function_addr>", "name": "ClientPrint"}]}
   ```

6. Generate and validate unique signature:

   **ALWAYS** Use SKILL `/generate-signature-for-function` to generate a robust and unique signature for the function.

7. Write IDA analysis output as YAML beside the binary:

   **ALWAYS** Use SKILL `/write-func-as-yaml` to write the analysis results.

   Required parameters:
   - `func_name`: `ClientPrint`
   - `func_addr`: The function address from step 4
   - `func_sig`: The validated signature from step 6

## String References

The function is commonly called with these localization strings:
- `#Player_Cash_Award_ExplainSuicide_TeammateGotCash`
- `#Player_Cash_Award_ExplainSuicide_EnemyGotCash`
- `#Player_Cash_Award_ExplainSuicide_Spectators`
- `#Player_Cash_Award_ExplainSuicide_YouGotCash` (used by similar function)

## Function Characteristics

- **Parameters**:
  - `arg0`: Recipient filter (player/team filter object)
  - `arg1`: Message type (int, typically 3 for HUD_PRINTTALK)
  - `arg2`: Localization string (const char*)
  - `arg3-arg6`: Format parameters (const char*)

- **Message Types**:
  - `1`: HUD_PRINTNOTIFY
  - `2`: HUD_PRINTCONSOLE
  - `3`: HUD_PRINTTALK
  - `4`: HUD_PRINTCENTER

## Related Functions

- `UTIL_ClientPrintAll` - Prints to all clients (uses different recipient filter)
- `ClientPrint` - Prints to specific recipient filter

## Output YAML Format

The output YAML filename depends on the platform:
- `server.dll` → `ClientPrint.windows.yaml`
- `server.so` → `ClientPrint.linux.yaml`

```yaml
func_va: 0x15d0480       # Virtual address of the function - This can change when game updates.
func_rva: 0x15d0480      # Relative virtual address (VA - image base) - This can change when game updates.
func_size: 0x22d         # Function size in bytes - This can change when game updates.
func_sig: XX XX XX XX XX # Unique byte signature for pattern scanning - This can change when game updates.
```

Files in this skill

  • README.md838 B
  • skill.md3.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…