find-CNetworkMessages_LookupNetworkSerializationContextDataId
Find and identify the CNetworkMessages_LookupNetworkSerializationContextDataId virtual function in CS2 binary using IDA Pro MCP. Use this skill when reverse engineering CS2 networksystem.dll or libnetworksystem.so to locate the context-ID lookup vfunc by reusing the known CNetworkMessages_SetNetwork
v2026.11.13-dcf20203 installs+3 in 7 days67 StarsMITsynced 12 hours ago
Install
No NotHoly CLI yet? Install it first.
$ curl -fsSL https://notholy.com/install.sh | sh$ notholy skills install hlnd2t/find-cnetworkmessages-lookupnetworkserializationcontextdataidWrites to ~/.notholy/skills after checking the signature and the SHA-256.
SignatureSigned, ed25519
Packagee0023540…c27720a9
e0023540d777…aea3c27720a91 file · 2.0 KBScanLowno findings
Sourcegithub.com/HLND2T/CS2_VibeSignatures/tree/main/.claude/skills/find-CNetworkMessages_LookupNetworkSerializationContextDataId@dcf2020
On this page
Locate CNetworkMessages_LookupNetworkSerializationContextDataId vfunc in CS2 networksystem.dll or libnetworksystem.so using IDA Pro MCP tools.
Method
1. Load CNetworkMessages_SetNetworkSerializationContextData from YAML
ALWAYS Use SKILL /get-func-from-yaml with func_name=CNetworkMessages_SetNetworkSerializationContextData.
If the skill returns an error, STOP and report to user.
Otherwise, extract:
vfunc_indexvfunc_offset
2. Load CNetworkMessages VTable from YAML
ALWAYS Use SKILL /get-vtable-from-yaml with class_name=CNetworkMessages.
If the skill returns an error, STOP and report to user.
Otherwise, extract:
vtable_numvfuncvtable_entries
3. Resolve the Adjacent Context-ID Lookup Slot
Compute the candidate slot for CNetworkMessages_LookupNetworkSerializationContextDataId:
target_vfunc_index = CNetworkMessages_SetNetworkSerializationContextData.vfunc_index + 1target_vfunc_offset = CNetworkMessages_SetNetworkSerializationContextData.vfunc_offset + 8
Validate that target_vfunc_index < vtable_numvfunc, then read:
candidate_func_addr = CNetworkMessages_vtable[target_vfunc_index]
This adjacent-slot rule is required because LookupNetworkSerializationContextDataId immediately follows
SetNetworkSerializationContextData in the CNetworkMessages vtable for networksystem.dll / libnetworksystem.so.
The following slot, GetNetworkSerializationContextData(uint16, NetworkSerializationMode_t), returns
the stored data pointer. Do not confuse that data getter with this string-to-ID lookup.
4. Decompile the Context-ID Lookup Candidate
Decompile the resolved adjacent entry:
mcp__ida-pro-mcp__decompile addr="<candidate_func_addr>"Confirm the candidate matches the serialization-context ID lookup pattern.
Expected behavior:
- Takes
(this, key_name)arguments - Uses an internal lock around the lookup
- Looks up
key_namefrom the internal symbol table owned byCNetworkMessages - Returns the resolved 16-bit context value, or
0xFFFF/-1when not found
Windows example shape:
__int64 __fastcall CNetworkMessages_LookupNetworkSerializationContextDataId(..., __int64 key_name)
{
AcquireSRWLockExclusive(...);
CUtlSymbolTable::Find(..., key_name);
...
ReleaseSRWLockExclusive(...);
return ...;
}Linux example shape:
__int64 __fastcall CNetworkMessages_LookupNetworkSerializationContextDataId(__int64 thisptr, __int64 key_name)
{
...
sub_176D10(..., thisptr + ..., key_name);
...
return ...;
}The exact helper names and structure offsets may change across game updates. The identification rule is:
- The function is the next vtable entry after
SetNetworkSerializationContextData - It performs a locked lookup from the
CNetworkMessagesserialization-context symbol table - It returns the resolved small integer context value instead of writing data into the object
If all three conditions hold, the candidate is CNetworkMessages_LookupNetworkSerializationContextDataId.
5. Generate Function Signature
ALWAYS Use SKILL /generate-signature-for-function with addr=<candidate_func_addr> to generate a robust and unique func_sig for CNetworkMessages_LookupNetworkSerializationContextDataId.
Use the returned validated func_sig in the next step.
6. Write IDA Analysis Output as YAML
ALWAYS Use SKILL /write-vfunc-as-yaml to write the analysis results.
Required parameters:
func_name:CNetworkMessages_LookupNetworkSerializationContextDataIdfunc_addr:<candidate_func_addr>func_sig: The validated signature from step 5vfunc_sig:None
VTable parameters:
vtable_name:CNetworkMessagesvfunc_offset:<target_vfunc_offset>in hexvfunc_index:<target_vfunc_index>
Function Characteristics
- Purpose: Returns the network serialization context id associated with a key name from the
CNetworkMessagessymbol table - Binary:
networksystem.dll/libnetworksystem.so - Parameters:
(this, key_name) - Return value: A small integer / symbol id for the serialization context, typically
0xFFFFwhen the key is not found
Discovery Strategy
- Reuse the existing
CNetworkMessages_SetNetworkSerializationContextDataYAML to obtain the authoritative slot index - Reuse the existing
CNetworkMessages_vtableYAML to resolve the adjacent vtable entry - Confirm the adjacent candidate is a locked symbol-table lookup getter for serialization-context data
- Generate a stable
func_sigfrom the resolved getter body
This is robust because:
- The vtable adjacency between setter and getter is explicit
- The getter has a distinctive locked symbol-table lookup structure on both Windows and Linux
- The final YAML stores both the function signature and the precise vtable metadata
Output YAML Format
The output YAML filename depends on the platform:
networksystem.dll->CNetworkMessages_LookupNetworkSerializationContextDataId.windows.yamllibnetworksystem.so->CNetworkMessages_LookupNetworkSerializationContextDataId.linux.yaml
Files in this version
- SKILL.md5.7 KB
Permissions
| Permission | Declared | Found by the scan |
|---|---|---|
| Reads files | No | No |
| Writes files | Yes | Yes |
| Runs shell commands | No | No |
| Uses the network | No | No |
| Uses connectors | Yes | Yes |
| Drives a browser | No | No |
Scan findings
Reviewed on Nov 13, 2026
The scan found nothing to flag in this version.
A clean scan lowers the risk but does not prove a package is safe. Read what you install.
| Version | Published | Commit | SHA-256 | Signature | Permission change |
|---|---|---|---|---|---|
| v2026.11.13-dcf2020 | Nov 13, 2026 | dcf2020 | e0023540 | Signed | – |
More from HLND2T
All from this publisherMore in Reverse engineering and fuzzing
See the categoryAsk anything your scope allows.
Create an account, add credits and ask the first question in the chat or the terminal.
- 1/3
Create the account
Individual or company. You can switch to a company later without losing balance or keys.
IndividualCompany - 2/3
Add credits
By card. Pay per token, no subscription.
$5.00minimum deposit - 3/3
Ask
In the chat, or install the CLI and run notholy login in your terminal.
$ notholy login