Use when adding new error messages to React, or seeing "unknown error code" warnings.
npx skills add hzqst/CS2_VibeSignatures --skill "find-UTIL_Remove"
Install specific skill from multi-skill repository
# Description
Find and identify the UTIL_Remove function in CS2 binary using IDA Pro MCP. Use this skill when reverse engineering CS2 server.dll or server.so to locate the UTIL_Remove function by analyzing the Molotov extinguish pattern and identifying the finalization call after particle effects.
# SKILL.md
name: find-UTIL_Remove
description: Find and identify the UTIL_Remove function in CS2 binary using IDA Pro MCP. Use this skill when reverse engineering CS2 server.dll or server.so to locate the UTIL_Remove function by analyzing the Molotov extinguish pattern and identifying the finalization call after particle effects.
Find UTIL_Remove
Locate UTIL_Remove in CS2 server.dll or server.so using IDA Pro MCP tools.
Method
-
Search for the extinguish event string:
mcp__ida-pro-mcp__find_regex pattern="Molotov\.Extinguish" -
Get cross-references to the string:
mcp__ida-pro-mcp__xrefs_to addrs="<string_addr>" -
Decompile the referencing function:
mcp__ida-pro-mcp__decompile addr="<function_addr>" -
Analyze the decompiled function to identify the extinguish-finalization pattern:
Look for this sequence:
- A call with "Molotov.Extinguish" string
- A call to sub_1576A10 with "particles/inferno_fx/extinguish_fire.vpcf" particle resource
- Positional data from object pointer (e.g., *(double *)(a1 + offset))
- Immediately after: A function call taking only this (a1) as argument
This final call is UTIL_Remove.
-
Rename the function:
mcp__ida-pro-mcp__rename batch={"func": [{"addr": "<util_remove_addr>", "name": "UTIL_Remove"}]} -
Generate and validate unique signature:
DO NOT use find_bytes as it won't work for function.
ALWAYS Use SKILL /generate-signature-for-function to generate a robust and unique signature for the function.
- 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: UTIL_Remove
- func_addr: The function address from step 4
- func_sig: The validated signature from step 6
Signature Pattern
The function is identified by analyzing the extinguish-finalization pattern:
sub_1857410(&v52, a1, "Molotov.Extinguish", 0, 1, &v67, 0.0);
sub_1576A10(
"particles/inferno_fx/extinguish_fire.vpcf",
0, 0, 0xFFFFFFFFLL, 0, 0,
*(double *)(a1 + 5584),
*(float *)(a1 + 5592),
*(double *)&v58,
*((float *)&v58 + 2));
sub_14FE9C0(a1); // <- This is UTIL_Remove
Function Characteristics
- Parameters:
(this)wherethisis an entity pointer - Purpose: Entity removal/cleanup function called after extinguish effects
- Context: Part of the Molotov/Incendiary grenade extinguish workflow
- Call Pattern: Takes only the entity pointer, no additional arguments
- Position: Called immediately after particle effect spawn, before function return
Output YAML Format
The output YAML filename depends on the platform:
- server.dll → UTIL_Remove.windows.yaml
- server.so → UTIL_Remove.linux.yaml
func_va: 0x14fe9c0 # Virtual address of the function - This can change when game updates.
func_rva: 0x14fe9c0 # Relative virtual address (VA - image base) - This can change when game updates.
func_size: 0x21 # Function size in bytes - This can change when game updates.
func_sig: 48 89 FE 48 85 FF 74 18 48 8D 05 ?? ?? ?? ?? 48 8B 38 E9 ?? ?? ?? ?? # Unique byte signature for pattern scanning
# Supported AI Coding Agents
This skill is compatible with the SKILL.md standard and works with all major AI coding agents:
Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.