Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Find CEntityInstance AcceptInput

ASecurity

Find and identify the CEntityInstance_AcceptInput function in CS2 binary using IDA Pro MCP. Use this skill when reverse engineering CS2 server.dll / libserver.so to locate the generic Source2 entity I/O input dispatcher by scanning for its distinctive short prologue directly and confirming via decompile that it forwards through the entity's identity pointer into an internal AcceptInputInternal-style dispatcher. Trigger: CEntityInstance_AcceptInput

3 stars
0 votes
0 copies
0 views
Added 9/27/2026
business

Works with

mcp

Security Analysis

A100/100

Scanned 9/27/2026

Install to Claude Code

$npx -y skills add mrc4tt/CS2_VibeSignatures --skill find-CEntityInstance_AcceptInput --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Find CEntityInstance AcceptInput?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Find CEntityInstance AcceptInput
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mrc4tt-find-centityinstance-acceptinput/badge)](https://www.skillsdirectory.com/skills/mrc4tt-find-centityinstance-acceptinput)

More formats (shields.io, HTML) on the badges page.

Download with Pro
Files
SKILL.md
---
name: find-CEntityInstance_AcceptInput
description: |
  Find and identify the CEntityInstance_AcceptInput function in CS2 binary using IDA Pro MCP. Use this skill when
  reverse engineering CS2 server.dll / libserver.so to locate the generic Source2 entity I/O input dispatcher by
  scanning for its distinctive short prologue directly and confirming via decompile that it forwards through the
  entity's identity pointer into an internal AcceptInputInternal-style dispatcher.
  Trigger: CEntityInstance_AcceptInput
disable-model-invocation: true
---

# Find CEntityInstance_AcceptInput

Locate `CEntityInstance_AcceptInput` in CS2 `server.dll` / `libserver.so` using IDA Pro MCP tools.

## Method

### 1. Locate via Direct Byte-Pattern Scan

`CEntityInstance::AcceptInput`'s prologue is short and distinctive (`push rbp; mov rbp, rsp; push r14; mov r14,
rdi; push r13; lea r13, [rbp+...]`), scannable directly across the whole image:

```text
mcp__ida-pro-mcp__find_bytes patterns=["55 48 89 E5 41 56 49 89 FE 41 55 48 8D 7D"]
```

This returns exactly **one** hit on the 14168 Linux binary.

### 2. Confirm via Decompile

```text
mcp__ida-pro-mcp__decompile addr="<candidate_addr>"
```

Confirm the function:
- Takes 5 parameters: `(CEntityInstance *this, const char *inputName, int a3, int a4, int a5)` — i.e.
  `(this, pszInputName, activator, caller, outputId/value)`.
- First builds a wrapped/hashed representation of `inputName` via a small helper (a `CUtlSymbol`/string-hash
  construction).
- Reads a pointer at `this + 0x10` (this build's `CEntityInstance::m_pEntity`, the owning `CEntityIdentity*`) and
  **tail-calls** into an internal dispatcher with `(identity, &wrappedInputName, activator, caller, value, 0, 0)`.
  The internal dispatcher is the sibling `CEntityIdentity_AcceptInputInternal`-family function — do **not**
  confuse the two; `CEntityInstance_AcceptInput` is the thin, 1-basic-block, 5-parameter forwarding wrapper on
  `CEntityInstance`, not the identity-level or script-level dispatcher.

> Linux 14168 reference: candidate at `0x2105860` (size `0x68`, single basic block, 27 direct callers — consistent
> with a generic per-entity-class I/O forwarding wrapper called from many places across the module).

### 3. Reject Similarly-Named Symbols

Do not accept a candidate if decompile shows any of the following shapes instead:
- **`CEntityIdentity_AcceptInput`** — takes a `CEntityIdentity*` directly as `this` rather than forwarding through
  a `+0x10` field read.
- **`CEntityIdentity_AcceptInputInternal`** — the larger callee this function tail-calls into; it does the actual
  named-input hash-table lookup and handler invocation, and is a separate, larger function.
- **`CEntityInstance_ScriptAcceptInput`** — a VScript-facing variant with a different parameter shape (typically
  script-value-boxed arguments rather than raw `int`s).

### 4. Generate Function Signature

**ALWAYS** Use SKILL `/generate-signature-for-function` with `addr=<candidate_addr>` to generate a robust and
unique `func_sig`.

### 5. Write IDA Analysis Output as YAML

**ALWAYS** Use SKILL `/write-func-as-yaml`.

Required parameters:
- `func_name`: `CEntityInstance_AcceptInput`
- `func_addr`: `<candidate_addr>`
- `func_sig`: The validated signature from step 4

## Function Characteristics

- **Purpose**: Generic Source2 entity I/O input dispatcher on `CEntityInstance` — receives a named input (e.g.
  `"Kill"`, `"Use"`), wraps it, and forwards to the owning `CEntityIdentity`'s internal input-handler lookup/
  invocation routine.
- **Binary**: `server.dll` / `libserver.so`
- **Parameters**: `(CEntityInstance *this, const char *pszInputName, CEntityInstance *activator, CEntityInstance
  *caller, int value)` (approximate; exact activator/caller/value typing not fully recovered from the stripped
  decompile).
- **Return value**: forwarded from the internal dispatcher (not independently observed).
- **VTable**: none — concrete (non-virtual) forwarding wrapper; the real dispatch/handler-lookup logic lives in
  the internal callee it tail-calls into.

## Discovery Strategy

1. The prologue (`push rbp; mov rbp,rsp; push r14; mov r14,rdi; push r13; lea r13,[rbp+...]`) is distinctive
   enough to scan directly with `find_bytes` across the whole image and returns a single hit without needing a
   resolved anchor.
2. The 5-parameter shape and the `this+0x10` field read into a tail-call are a strong semantic fingerprint for a
   thin `CEntityInstance`-level forwarding wrapper, as opposed to the identity-level/script-level siblings with
   the same "AcceptInput" root name.
3. The high caller count (27 on this build) is consistent with a generic, widely-used I/O entry point invoked
   from many different entity classes' logic, further supporting the identification.

This is robust because the prologue byte pattern is unique in the whole 40MB image, and the forwarding shape
(read `this+0x10`, tail-call with the same arguments plus two trailing zero constants) cleanly distinguishes this
function from its three same-family siblings.

## Output YAML Format

The output YAML filename depends on the platform:
- `server.dll` -> `CEntityInstance_AcceptInput.windows.yaml`
- `libserver.so` -> `CEntityInstance_AcceptInput.linux.yaml`

Fields: `func_name`, `func_va`, `func_rva`, `func_size`, `func_sig`.

> Linux 14168 reference: func_sig = `55 48 89 E5 41 56 49 89 FE 41 55 48 8D 7D`, `func_va = 0x2105860`,
> `func_size = 0x68`.

Attribution

mrc4ttmrc4tt
View sourceMore from mrc4tt →
SSkills DirectorySkills Directory

Know which skills are safe — weekly.

Best new skills + every skill we flagged as malicious. From the team that scanned 103,619.

Join free

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 (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Know which skills are safe — weekly.

Best new skills + every skill we flagged as malicious. From the team that scanned 103,619.

Join free

Related Skills

Solution Architect

Designs system architecture, component specifications, and technical integration strategy. Use when: designing solutions, system architecture, technology stack, or integration approaches.

192 votes

Akorchak:Venture Assessment

Generate a comprehensive VC investment assessment report for a company

72 votes

Stock Analysis

Analyze stocks and cryptocurrencies using Yahoo Finance data. Supports portfolio management (create, add, remove assets), crypto analysis (Top 20 by market cap), and periodic performance reports (daily/weekly/monthly/quarterly/yearly). 8 analysis dimensions for stocks, 3 for crypto. Use for stock analysis, portfolio tracking, earnings reactions, or crypto monitoring.

6511 votes

Just Fucking Cancel

Find and cancel unwanted subscriptions by analyzing bank transactions. Detects recurring charges, calculates annual waste, and helps you cancel with direct URLs and browser automation. Use when: 'cancel subscriptions', 'audit subscriptions', 'find recurring charges', 'what am I paying for', 'save money', 'subscription cleanup', 'stop wasting money'. Supports CSV import (Apple Card, Chase, Amex, Citi, Bank of America, Capital One, Mint, Copilot) OR Plaid API for automatic transaction pull. Out...

6511 votes

Telegram Compose

Compose rich, readable Telegram messages using HTML formatting via direct Telegram API. Use when: (1) Sending any Telegram message beyond a simple one-line reply, (2) Creating structured messages with sections, lists, or status updates, (3) Need formatting unavailable via Clawdbot's Markdown conversion (underline, spoilers, expandable blockquotes, user mentions by ID), (4) Sending alerts, reports, summaries, or notifications to Telegram, (5) Want professional, scannable message formatting wit...

6511 votes
View all in business →