Skip to content
Back to skills

215 Name Skill 0f0bd530

ASecurity

Find and identify the CEntitySystem_AddEntityIOEvent function in CS2 binary using IDA Pro MCP. Use this skill when reverse engineering CS2 server.dll or server.so to locate the AddEntityIOEvent function by searching for the "_DisableUpdateTarget" string reference and analyzing cross-references to find the function called with "SetPosition" parameter.

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

Works with

  • 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_0f0bd530 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 215 Name Skill 0f0bd530?

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

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

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-CEntitySystem_AddEntityIOEvent
description: Find and identify the CEntitySystem_AddEntityIOEvent function in CS2 binary using IDA Pro MCP. Use this skill when reverse engineering CS2 server.dll or server.so to locate the AddEntityIOEvent function by searching for the "_DisableUpdateTarget" string reference and analyzing cross-references to find the function called with "SetPosition" parameter.
---

# Find CEntitySystem_AddEntityIOEvent

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

## Method

1. Search for the input event string:
   ```
   mcp__ida-pro-mcp__find_regex pattern="_DisableUpdateTarget"
   ```

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

3. Decompile the referencing functions to find the pattern:
   ```
   mcp__ida-pro-mcp__decompile addr="<function_addr>"
   ```

4. Identify the CEntitySystem_AddEntityIOEvent function:
   - Look for a function that contains calls to a function with "SetPosition" as a parameter
   - The pattern looks like:
     ```c
     sub_XXXXXX(qword_XXXXXX, a1, "_DisableUpdateTarget", a1, a1, 0, 0, 0LL, 0LL);
     // ... setup code ...
     sub_YYYYYYYY(qword_XXXXXX, a1, "SetPosition", a1, a1, &v27, v16, v20, 0LL, 0LL);
     ```
   - The function `sub_YYYYYYYY` called with "SetPosition" parameter is `CEntitySystem_AddEntityIOEvent`

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

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`: `CEntitySystem_AddEntityIOEvent`
   - `func_addr`: The function address from step 4
   - `func_sig`: The validated signature from step 6

## String References

The function is identified by finding code that:
- Calls `CEntitySystem_FireEntityIOEvent` (or similar) with `"_DisableUpdateTarget"`
- Then calls `CEntitySystem_AddEntityIOEvent` multiple times with `"SetPosition"`
- Finally calls with `"_EnableUpdateTarget"`

## Function Characteristics

- **Parameters**:
  - `arg0`: Entity system pointer (global)
  - `arg1`: Target entity pointer
  - `arg2`: Input name (const char*, e.g., "SetPosition")
  - `arg3`: Activator entity
  - `arg4`: Caller entity
  - `arg5`: Value pointer
  - `arg6`: Delay (float as int)
  - `arg7`: Output ID
  - `arg8`: Reserved (0)
  - `arg9`: Reserved (0)

- **Purpose**: Adds an entity I/O event to be fired after a specified delay

## Related Functions

- `CEntitySystem_FireEntityIOEvent` - Fires entity I/O events immediately (called with "_DisableUpdateTarget", "_EnableUpdateTarget")
- `CEntitySystem_AddEntityIOEvent` - Queues entity I/O events with delay (called with "SetPosition")

## Output YAML Format

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

```yaml
func_va: 0x181170ed0   # Virtual address of the function - This can change when game updates.
func_rva: 0x1170ed0    # Relative virtual address (VA - image base) - This can change when game updates.
func_size: 0x1e3       # 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.md914 B
  • skill.md3.6 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…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.