跳到正文
cccskills
免费在 GitHub 公开

find-CDecoyProjectile_Create

Find and identify the CDecoyProjectile_Create factory in CS2 server binary using IDA Pro MCP. Use this skill when reverse engineering CS2 server.dll or libserver.so to locate the decoy projectile spawn factory. It is a non-virtual, direct-call static factory found via the entity classname string "decoy_projectile" it references (excluding the RTTI class string "CDecoyProjectile"). Emits a unique IDA-style byte signature and a func YAML. Mirrors the find-CDecoyProjectile_Create.py preprocessor (xref_strings FULLMATCH:decoy_projectile). Trigger: CDecoyProjectile_Create, CDecoyProjectile::Create, decoy projectile Create

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md3.7 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Find CDecoyProjectile_Create

Locate CDecoyProjectile_Create in CS2 server.dll or libserver.so using IDA Pro MCP tools.

This is a non-virtual, direct-call static factory (no vtable slot - emit a byte sig, not an offset). It is found via the entity classname string "decoy_projectile" it references (passed to the entity-create path when spawning the projectile). The RTTI/class string "CDecoyProjectile" is a different referencer and must be excluded.

Concrete anchors for THIS target (use these first)

  • FULLMATCH:weapon_decoy
  • FULLMATCH:projectile_decoy

KNOWN CONTAMINATION WARNING

VA 0x20c2700 (BuyState_OnUpdate) has WRONGLY been emitted for this target before. It is NOT this function. If your best candidate is 0x20c2700, you have NOT found the target - keep searching or report the shortlist instead of guessing.

Method

1. Reuse previous signature (fast path)

If a prior CDecoyProjectile_Create.{platform}.yaml exists, try its func_sig via mcp__ida-pro-mcp__find_bytes. Single match -> resolve to function start, skip to Step 4. Else continue.

2. Anchor on the classname string

Locate the exact string "decoy_projectile" (FULLMATCH - not the longer "CDecoyProjectile" RTTI string). Take its cross-references (mcp__ida-pro-mcp__xrefs_to).

3. Identify Create among the referencers

Create is the referencer that spawns the projectile entity: it creates the entity by classname, then initializes the decoy-projectile fields (velocity/owner/params) and returns the new object. Exclude any referencer reached via the "CDecoyProjectile" RTTI string. Confirm the candidate is the compact factory wrapper (not a large think/update routine). Record func_addr.

4. Generate signature

ALWAYS use SKILL /generate-signature-for-function with addr=<func_addr>. Emit IDA style verbatim (space hex, ? wildcards) - do NOT convert to CSS \x2A unless a gamedata.json entry is explicitly requested.

Reference sig (sanity check only, regenerate per binary):

  • linux: 55 4C 89 C1 48 89 E5 41 57 45 89 CF 41 56 49 89 FE 41 55 49 89 D5 48 89 F2 48 89 FE 41 54 48 8D 3D ? ? ? ? 4D 89 C4 53 48 83 EC ? E8 ? ? ? ? 45 31 C0
  • windows: 48 8B C4 55 56 48 81 EC 68 01 00 00

5. Write func YAML

ALWAYS use SKILL /write-func-as-yaml:

  • func_name: CDecoyProjectile_Create
  • func_addr: <func_addr>
  • func_sig: validated sig from step 4

Function Characteristics

  • Linkage: non-virtual, direct-call static factory (no vtable entry)
  • Binary: server.dll / libserver.so
  • Distinguishing trait: references the "decoy_projectile" entity classname string; NOT the "CDecoyProjectile" RTTI string

Preprocessor pipeline equivalent

find-CDecoyProjectile_Create   [xref_strings FULLMATCH:decoy_projectile,
                                exclude_strings CDecoyProjectile]

Output YAML Format

  • server.dll -> CDecoyProjectile_Create.windows.yaml
  • libserver.so -> CDecoyProjectile_Create.linux.yaml

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Clean up the local workspace after a dev branch has been merged into main. Verifies the current dev branch is fully merged into origin/main, then switches to main, pulls the latest, deletes the local dev branch, and deletes the remote dev branch if it still exists. STOPS and warns the user if the current branch is not yet merged. Triggers: cleanup workspace, cleanup branch, delete merged branch, finish dev branch, post-merge cleanup

中文简介正在准备中。当前显示原文说明。

mrc4tt/CS2_VibeSignatures32026年10月15日 更新

Convert an existing find-XXXX SKILL.md into a preprocessor Python script, updating configs/<GAMEVER>.yaml and removing the old SKILL.md. Covers xref-string-based and LLM_DECOMPILE-based discovery patterns.

中文简介正在准备中。当前显示原文说明。

mrc4tt/CS2_VibeSignatures32026年10月15日 更新

Create an Agent SKILL.md fallback for an existing find-XXXX finder that relies on a fragile discovery foundation — above all LLM_DECOMPILE (patterns C/D/E), which matches the decompiled shape of a predecessor function against a stored reference and breaks when a symbol is inlined or de-inlined in a way the reference does not cover. The generated fallback coexists with the preprocessor and runs only when it returns failure, recovering every target robustly by decompiling the predecessor and following the inline/de-inline boundary with semantic anchors. Use when a finder broke on a game update, or you want to durably backstop one before it does. The recipe generalizes to any finder foundation. Triggers: create agent skill fallback, add SKILL.md fallback, robust fallback for finder, backstop LLM_DECOMPILE finder, final guarantee skill

中文简介正在准备中。当前显示原文说明。

mrc4tt/CS2_VibeSignatures32026年10月15日 更新

Create a new cpp_tests entry for validating a C++ interface vtable layout against binary reference YAMLs. Creates the .cpp test file in cpp_tests/ and appends a configs/<GAMEVER>.yaml entry under cpp_tests:. Use when a user asks to add vtable layout validation for a new hl2sdk_cs2 interface class.

中文简介正在准备中。当前显示原文说明。

mrc4tt/CS2_VibeSignatures32026年10月15日 更新

create-pr

免费

Create a GitHub pull request from staged task changes or an already-committed current branch. Deliver source/config/ reference changes together with their computed source-owned `bin_artifacts` closure. PR validation routing is owned by the default-branch trusted workflow; snapshots, gamedata, and manifests are Release-derived only.

中文简介正在准备中。当前显示原文说明。

mrc4tt/CS2_VibeSignatures32026年10月15日 更新

Create a new find-XXXX preprocessor Python script from scratch (no existing SKILL.md), add configs/<GAMEVER>.yaml skill and symbol entries. Covers xref-string-based and LLM_DECOMPILE-based discovery patterns. Use when a GitHub issue or user instruction specifies a new function to find.

中文简介正在准备中。当前显示原文说明。

mrc4tt/CS2_VibeSignatures32026年10月15日 更新

查看 mrc4tt 的全部技能

报告此技能的问题