find-CNetworkSystem_RemoveNetChannelByAddress-14197
Skill67 starsChanged 58 days agoMITView on GitHub
Recover CNetworkSystem_RemoveNetChannelByAddress in CS2 networksystem.dll / libnetworksystem.so when the deterministic removal-pair proof fails. Validate the fresh removal anchor and trace its address-based sibling's channel lookup and constant-false dispatch. Trigger: CNetworkSystem_RemoveNetChannelByAddress
In this repository91 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- cleanup-workspaceSkill
- convert-finder-skill-to-preprocessor-scriptsSkill
- create-agent-skill-fallbackSkill
- create-cpp-testsSkill
- create-preprocessor-scriptsSkill
- create-prSkill
- dump-vtablesSkill
- find-CBaseEntity_GetChangeAccessorPathInfo_1Skill
- find-CCSBotManager_AddBot_BotNavIgnoreSkill
- find-CCSGameRules__sm_mapGcBanInformationSkill
- find-CCSPlayer_MovementServices_CheckJumpButton_WaterPatchSkill
- find-CCSPlayer_MovementServices_FullWalkMove_SpeedClampSkill
- find-CEngineClient_DumpNetStatsSkill
- find-CEngineClient_FindOrCreateWorldSessionSkill
- find-CEngineClient_GetStatsAppIDSkill
- find-CEngineClient_IsPlayingDemoSkill
- find-CEngineServer_GetAchievementMgrSkill
- find-CEngineServer_GetFrameTimeAmnesty-inlinedSkill
- find-CEngineServer_IsDedicatedServerSkill
- find-CEngineServer_IsLogEnabledSkill
- find-CEngineServer_KickClientSkill
- find-CEngineServer_ServerCommandSkill
- find-CEngineServer_SynchronizeAndBlockUntilLoadedSkill
- find-CEngineServiceMgr_GetAddonCountSkill
- find-CEngineServiceMgr_GetEngineWindowSkill
- find-CEngineServiceMgr_GetEventDispatcherSkill
- find-CEngineServiceMgr_RegisterPrerequisiteSkill
- find-CEntitySystem_Init-decompilesSkill
- find-CEntitySystem_m_EntityList-AND-CEntityIdentity_m_pInstance-AND-CEntityIdentity_m_EHandleSkill
- find-CEntitySystem_m_entityNamesSkill
- find-CGlobalVarsBase_realtime-AND-CGlobalVarsBase_curtimeSkill
- find-CLoopTypeClientServer_RefreshNetworkGameState_AcquireSkill
- find-CLoopTypeClientServer_RefreshNetworkGameState-decompilesSkill
- find-CLoopTypeClientServer_RefreshNetworkGameStateSkill
- find-CNetChan_CanPacketSkill
- find-CNetChan_ProcessMessagesSkill
- find-CNetChan_SendMessages-inlinedSkill
- find-CNetChan_UpdateMessageStatsSkill
- find-CNetworkClientService_m_pGameClientSkill
- find-CNetworkGameServerBase_CheckTimeouts-decompilesSkill
- find-CNetworkGameServerBase_CreateFakeClientSkill
- find-CNetworkGameServerBase_GetChallengeTypeSkill
- find-CNetworkGameServerBase_ReplyChallenge-decompilesSkill
- find-CNetworkGameServerBase_ServiceQueueSkill
- find-CNetworkGameServer_GetFreeClientSkill
- find-CNetworkMessages_dtorSkill
- find-CNetworkMessages_FindOrCreateNetMessage-14197Skill
- find-CNetworkMessages_GetIsForServerSkill
- find-CNetworkMessages_LookupNetworkSerializationContextDataIdSkill
- find-CNetworkMessages_UnserializeMessageInternalSkill
- find-CNetworkMessages_vtable-decompilesSkill
- find-CNetworkStringTableContainer_RemoveAllTablesSkill
- find-CNetworkSystem_RemoveNetChannel-14197Skill
- find-CServerSideClientBase_GetUserIDStringSkill
- find-CSource2Server_Shutdown-decompilesSkill
- find-CSteam3ServerS1_InitGameServer-decompilesSkill
- find-GetCSWeaponDataFromKey-inlinedSkill
- find-INetworkGameServer_GetGameServerSteamIDSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. About 0 are common, 8 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 24
Read the platform-relevant source-owned artifacts as reference identities and signature styles.
- Distinctive: line 25
All addresses and offsets are reference-build values.
- Distinctive: line 26
Do not copy a tracked reference YAML to satisfy the output.
- Very specific: line 41
Use the analyzer-provided active artifact module directory (CS2VIBE_ARTIFACT_DIR), never the directory inferred from the binary path.
- Very specific: line 48
Use /get-func-from-yaml with func_name=CNetworkSystem_RemoveNetChannel and /get-vtable-from-yaml with class_name=CNetworkSystem to read the …
- Distinctive: line 50
Stop if either is missing or invalid.
- Very specific: line 52
Verify that removal's vtable_name is CNetworkSystem, its vfunc_offset equals its vfunc_index * 8, and the current table entry at that index …
- Distinctive: line 66
If the supplied anchor does not implement removal, stop and report its inconsistent semantics.
- Very specific: line 70
Read the entry immediately following removal in the current CNetworkSystem table.
- Distinctive: line 82
If ctree argument counts, local-buffer types, casts, or unnamed PLT stubs obscure this data flow, inspect the disassembly, call targets, …
- Very specific: line 90
Use /generate-signature-for-function with addr=<proven address-based entry> and validate the returned unique func_sig.
- Distinctive: line 108
If dependencies are missing, the anchor is stale, the data flow is unproven, or no unique signature is available, stop and report the exact …
- Distinctive: line 110
Never substitute a fixed slot, old signature, or guessed address.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Find CNetworkSystem_RemoveNetChannelByAddress
Recover the concrete virtual function on the active platform using IDA Pro MCP. Independently
verify the semantic relationship when
ida_preprocessor_scripts/find-CNetworkSystem_RemoveNetChannelByAddress-14197.py fails.
Realworld Function References
bin_artifacts/14197/networksystem/CNetworkSystem_RemoveNetChannel.windows.yamlbin_artifacts/14197/networksystem/CNetworkSystem_RemoveNetChannel.linux.yamlbin_artifacts/14197/networksystem/CNetworkSystem_RemoveNetChannelByAddress.windows.yamlbin_artifacts/14197/networksystem/CNetworkSystem_RemoveNetChannelByAddress.linux.yaml
Read the platform-relevant source-owned artifacts as reference identities and signature styles. All addresses and offsets are reference-build values; verify against the current binary. Do not copy a tracked reference YAML to satisfy the output.
Output inventory
| Output | Kind | Windows 14197 reference | Linux 14197 reference |
CNetworkSystem_RemoveNetChannelByAddress | Concrete vtable function | 0x1800fcec0, index 24 | 0x2edf30, index 24 |
The output is required on both platforms. Its reference offset is 0xc0; derive the actual
slot from the current table and verify its behavior. Only write this skill's one output.
Required fields: func_name, func_va, func_rva, func_size, func_sig, vtable_name,
vfunc_offset, vfunc_index.
Step 0. Check the output and load dependencies
Use the analyzer-provided active artifact module directory (CS2VIBE_ARTIFACT_DIR), never
the directory inferred from the binary path. Skip
CNetworkSystem_RemoveNetChannelByAddress.<platform>.yaml if it already exists there and
parses to a non-empty mapping.
Resolve the active networksystem.dll / libnetworksystem.so session with idb_list /
idb_open, verify its input and platform, and pass its identifier to subsequent tools.
Use /get-func-from-yaml with func_name=CNetworkSystem_RemoveNetChannel and
/get-vtable-from-yaml with class_name=CNetworkSystem to read the active dependencies.
Stop if either is missing or invalid.
Verify that removal's vtable_name is CNetworkSystem, its vfunc_offset equals its
vfunc_index * 8, and the current table entry at that index equals its func_va. Reject a
stale or inconsistent anchor before following the next slot.
Step 1. Recheck the removal anchor
Decompile the current removal body and trace (this, channel, flag). It checks and locks
the channel, closes its underlying connection when needed, removes it from a collection on
this, and may notify listeners and destroy it. The shared connection-close helper can be
identified from direct five-argument calls on this whose fourth argument is the exact
CloseSocket literal in other callers. The old Linux shutdown literal is absent in 14197.
The 14197 close helper references are 0x1800fd040 on Windows and 0x2e9140 on Linux;
removal references are 0x1800fda80 / 0x2edc90. They are not fixed discovery answers.
If the supplied anchor does not implement removal, stop and report its inconsistent semantics.
Step 2. Prove the address-based sibling
Read the entry immediately following removal in the current CNetworkSystem table. Ensure
the slot exists and its function differs from removal. Decompile the candidate and prove:
- It receives
(this, socket, address)and finds a channel corresponding to that socket and address. On Linux this may call a separate three-argument lookup using a local converted address buffer. On Windows the lookup may be an inline scan of a collection also used by removal. Follow de-inlined lookup callees when needed. - The successful lookup's channel value, possibly through local aliases, becomes the second argument of a direct call to the verified removal body.
- The removal call uses the original
thisand a constant false third argument. A missing channel leads to a failure result; the successful call leads to a success result.
If ctree argument counts, local-buffer types, casts, or unnamed PLT stubs obscure this data flow, inspect the disassembly, call targets, registers, and stack addresses. Do not merely rerun the failing deterministic probe. Adjacency without the proven lookup and dispatch is insufficient. Reject different receivers, unrelated channel values, nonzero flags, stale anchors, and ambiguous candidates.
Step 3. Generate a fresh signature and write YAML
Use /generate-signature-for-function with addr=<proven address-based entry> and validate
the returned unique func_sig. Use /write-vfunc-as-yaml with:
artifact_nameandfunc_name:CNetworkSystem_RemoveNetChannelByAddressfunc_addr: the proven address-based entryfunc_sig: the validated current signaturevtable_name:CNetworkSystemvfunc_index: the verified removal index plus onevfunc_offset:vfunc_index * 8vfunc_sig:None
Write CNetworkSystem_RemoveNetChannelByAddress.windows.yaml or
CNetworkSystem_RemoveNetChannelByAddress.linux.yaml only in the active artifact module
directory. Verify a non-empty mapping and equality of the output address with the current
table entry. Leave canonicalization to the analyzer.
Failure handling
If dependencies are missing, the anchor is stale, the data flow is unproven, or no unique signature is available, stop and report the exact failing condition and inspected addresses. Never substitute a fixed slot, old signature, or guessed address.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

