Logo van Find CNetworkMessages UnserializeMessageInternal

Find CNetworkMessages UnserializeMessageInternal

Organisatie
HLND2T
find-CNetworkMessages_UnserializeMessageInternal

Laatste terugvaloptie als garantie voor de find-CNetworkMessages_UnserializeMessageInternal-preprocessor. Hiermee wordt CNetworkMessages::UnserializeMessageInternal (met func_va/func_rva/func_size/func_sig en de CNetworkMessages-vtableslot) teruggevonden in CS2 networksystem.dll / libnetworksystem.so. Gebruik deze skill wanneer de deterministische preprocessor (ida_preprocessor_scripts/find-CNetworkMessages_UnserializeMessageInternal.py) het doel niet kon vinden, omdat de opgeslagen func_sig niet meer overeenkomt en de xref-stringankers ("size_exceeded_max", "netmessage") geen kandidaten opleveren. Trigger: CNetworkMessages_UnserializeMessageInternal

Add to TypingMind

Overzicht

UitgeverHLND2T
RepositoryCS2_VibeSignatures
Skillnaamfind-CNetworkMessages_UnserializeMessageInternal
Sterren
67
Forks
11
Meegeleverde bestanden
Alleen instructies
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door HLND2T op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Find CNetworkMessages UnserializeMessageInternal in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/HLND2T/CS2_VibeSignatures/tree/main/.claude/skills/find-CNetworkMessages_UnserializeMessageInternal
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/HLND2T/CS2_VibeSignatures.git /tmp/CS2_VibeSignatures
mkdir -p .claude/skills
cp -r /tmp/CS2_VibeSignatures/.claude/skills/find-CNetworkMessages_UnserializeMessageInternal .claude/skills/find-CNetworkMessages_UnserializeMessageInternal
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Find CNetworkMessages UnserializeMessageInternal in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Find CNetworkMessages UnserializeMessageInternal automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Find CNetworkMessages UnserializeMessageInternal niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

Find CNetworkMessages_UnserializeMessageInternal (final-guarantee fallback)

Recover CNetworkMessages::UnserializeMessageInternal in CS2 networksystem.dll / libnetworksystem.so using IDA Pro MCP tools.

This is the Agent fallback for the find-CNetworkMessages_UnserializeMessageInternal skill: it runs only when the preprocessor returned failure. The preprocessor tries to reuse the previous build's func_sig and then falls back to two xref-string anchors; on a new build any of those can miss:

  • the stored func_sig breaks when the prologue is rewritten;
  • the xref-string fallback breaks when "size_exceeded_max" or "netmessage" lose their direct string xref — these are passed to __MakeGlobalSymbolCaseSensitive, a bare call whose string argument is frequently shared or folded so the XrefsTo lookup returns an empty set (this is exactly how it failed on 14189: empty candidate set for string xref: size_exceeded_max).

Your job is to locate the function by semantic anchors that survive those changes, then emit the YAML.

Realworld Function References

Read the platform-relevant real-world YAMLs before searching in IDA. CNetworkMessages::UnserializeMessageInternal has no dedicated reference YAML, so use the neighbouring CNetworkMessages finders and the ground-truth outputs for context and for the vtable cross-check. Treat addresses, offsets and sizes as reference-build values only; verify every result against the current binary.

  • bin_artifacts/14188b/networksystem/CNetworkMessages_UnserializeMessageInternal.windows.yaml
  • bin_artifacts/14188b/networksystem/CNetworkMessages_UnserializeMessageInternal.linux.yaml
  • bin_artifacts/14188b/networksystem/CNetworkMessages_vtable.windows.yaml
  • bin_artifacts/14188b/networksystem/CNetworkMessages_vtable.linux.yaml
  • bin_artifacts/14188b/networksystem/CNetworkMessages_SerializeInternal.windows.yaml
  • bin_artifacts/14188b/networksystem/CNetworkMessages_SerializeMessageInternal.windows.yaml
  • bin_artifacts/14188b/networksystem/CNetworkMessages_UnserializeFromStream.windows.yaml
  • bin_artifacts/14188b/networksystem/CNetworkMessages_FindOrCreateNetMessage.windows.yaml
  • bin_artifacts/14188b/networksystem/CNetworkMessages_RegisterNetworkCategory.windows.yaml

Background — what CNetworkMessages::UnserializeMessageInternal does

CNetworkMessages::UnserializeMessageInternal(this, msg, stream) is the CNetworkMessages virtual that reads one net message body from a stream:

  • it first obtains the message body size (sub_1801BF610 on Windows / sub_303E40 on Linux) and rejects a size that exceeds the remaining stream bit budget;
  • it asks the stream/context object (a3 vtable) for the associated message descriptor and the caller name/id;
  • when the body size exceeds the per-message cap (default 1500, or a value read from the message descriptor's keyvalues) and the -netmessage_size_exceeded_max command-line option is not set, it builds a small keyvalues block and logs a diagnostic — anchored by the four named keys "name", "id", "size", "max_size" and the two global symbol names "size_exceeded_max", "netmessage";
  • it then copies the body into the destination buffer (raw pointer or g_pMemAlloc-allocated scratch) and returns success/failure.

All accesses that matter for anchoring are immediates and immediate arguments, not this + offset — this is a plain function, so it is identified by its unique constants and its vtable position, not by a struct member.

Robustness principle — anchor on constants, not on string xrefs

Do not rely on the preprocessor's func_sig or on the "size_exceeded_max" / "netmessage" string xrefs — both are what failed. Instead anchor on the keyvalues key-hash immediates, which are compiled directly into the function and are globally unique to it (verified on 14188b, both platforms):

Key32-bit immediate (hex)
"id"0x18BE5E5F
"size"0x82E324C5
"max_size"0x9EFBD7ED

Each of these three values appears exactly once in the whole binary, and that occurrence is inside CNetworkMessages::UnserializeMessageInternal. ("name"'s immediate 0x70E8F456 is not unique — do not use it as a primary anchor.)

The vtable slot is then derived from the resolved address, never carried over from the previous build.

Output inventory

This is a real vtable vfunc with a body, so the YAML carries both func_* fields and the vtable slot fields. Offsets/indices/sizes are reference values from build 14188b — verify against the binary, do not assume.

#Output symbolKindWindowsLinuxWriter skill
1CNetworkMessages_UnserializeMessageInternalreal vtable vfuncfunc_va 0x1800e1f60, size 0x2f2, vtable CNetworkMessages slot 4 / 0x20func_va 0x2b1b60, size 0x2da, vtable CNetworkMessages slot 4 / 0x20/write-vfunc-as-yaml

Platform gating: the symbol is produced on both platforms. The vtable slot is 4 (0x20) on both — but still resolve it from the vtable rather than assuming, since the vtable can be reordered independently.

Step 0. Skip targets already produced

If CNetworkMessages_UnserializeMessageInternal.<platform>.yaml already exists in the analyzer-reported artifact module directory and parses to a non-empty mapping, skip it — the preprocessor or an earlier fallback wrote it. Never derive the artifact path from the binary directory; use the directory reported by the analyzer (also readable as CS2VIBE_ARTIFACT_DIR).

Step 1. Load the CNetworkMessages vtable

ALWAYS Use SKILL /get-vtable-from-yaml with class_name=CNetworkMessages to obtain the authoritative vtable_va, vtable_symbol and vtable_entries for the current build. You need this to assign the vtable fields in Step 3 and to cross-check the resolved address.

The expected_input for this skill is exactly this CNetworkMessages_vtable.{platform}.yaml, so it must already exist when the fallback runs. If /get-vtable-from-yaml errors, STOP and report to user.

Step 2. Locate the function by its unique key-hash immediates

Search the whole image for each 4-byte little-endian immediate. Any one of them is sufficient; require that at least two agree on a single function start.

mcp__ida-pro-mcp__py_eval code="""
import ida_bytes, ida_funcs, idc, idaapi
vals = {"id": 0x18BE5E5F, "size": 0x82E324C5, "max_size": 0x9EFBD7ED}
lo, hi = idaapi.inf_get_min_ea(), idaapi.inf_get_max_ea()
for name, v in vals.items():
    b = v.to_bytes(4, 'little')
    found = set(); s = lo; n = 0
    while n < 40:
        a = ida_bytes.find_bytes(b, s, hi)
        if a == idaapi.BADADDR:
            break
        f = ida_funcs.get_func(a)
        if f:
            found.add((hex(f.start_ea), idc.get_func_name(f.start_ea)))
        s = a + 1; n += 1
    print(name, hex(v), sorted(found))
"""

The function start returned for the three values is CNetworkMessages_UnserializeMessageInternal.

Positive confirmation (optional, use when the immediates are ambiguous): the target is the only function that calls __MakeGlobalSymbolCaseSensitive (Windows _MakeGlobalSymbolCaseSensitive) twice in a row with the arguments "size_exceeded_max" then "netmessage", immediately after building the "name"/"id"/"size"/ "max_size" keyvalues block. Confirm by scanning the candidate's own strings/calls:

mcp__ida-pro-mcp__py_eval code="""
import idautils, ida_funcs
f = ida_funcs.get_func(0x0)  # <-- candidate start
strings = idautils.Strings(default_setup=False)
sm = {s.ea: str(s) for s in strings}
hits = []
for ea, txt in sm.items():
    for x in idautils.XrefsTo(ea, 0):
        if f.start_ea <= x.frm < f.end_ea:
            hits.append(txt[:40]); break
print(sorted(set(hits)))
"""

A correct candidate's own strings include "max_size" and usually "size_exceeded_max" / "netmessage".

Note: "size_exceeded_max" / "netmessage" may legitimately have no XrefsTo at all in some builds (the preprocessor hit exactly this on 14189). Their absence is not evidence against a candidate — that is why the key-hash immediates above are the primary anchor and the strings are only a confirmation aid.

Step 3. Assign the vtable fields

Look the resolved function start up in the CNetworkMessages vtable entries from Step 1:

mcp__ida-pro-mcp__py_eval code="""
import yaml, os, idaapi
d = os.environ.get('CS2VIBE_ARTIFACT_DIR') or os.path.dirname(idaapi.get_input_file_path())
plat = 'windows' if idaapi.get_input_file_path().endswith('.dll') else 'linux'
v = yaml.safe_load(open(os.path.join(d, f'CNetworkMessages_vtable.{plat}.yaml'), encoding='utf-8'))
ents = {int(k): int(str(x), 16) for k, x in v['vtable_entries'].items()}
tgt = 0x0  # <-- resolved CNetworkMessages_UnserializeMessageInternal start
idx = [k for k, a in ents.items() if a == tgt]
print('vtable_class', v['vtable_class'])
print('match index', idx, 'offset', [hex(i * 8) for i in idx])
"""

Set:

  • vtable_name = CNetworkMessages
  • vfunc_index = <the matching entry index>
  • vfunc_offset = vfunc_index * 8

Verified neighbours you can sanity-check against (14189 Windows): slot 0 = CNetworkMessages_RegisterNetworkCategory, slot 2 = CNetworkMessages_FindOrCreateNetMessage, slot 5 = CNetworkMessages_SerializeMessageInternal, slot 6 = CNetworkMessages_UnserializeFromStream, slot 8 = CNetworkMessages_AllocateAndCopyConstructNetMessageAbstract, slot 11 = CNetworkMessages_RegisterNetworkArrayFieldSerializer, slot 24 = CNetworkMessages_RegisterNetworkFieldChangeCallbackInternal. If the resolved start matches no vtable entry, the function is not the vtable target — return to Step 2. Do not emit the previous build's slot.

Rename the function to CNetworkMessages_UnserializeMessageInternal if it is not already named that:

mcp__ida-pro-mcp__rename batch={"func":[{"addr":"<start>","name":"CNetworkMessages_UnserializeMessageInternal"}]}

Step 4. Generate the signature and write the YAML

  1. ALWAYS Use SKILL /generate-signature-for-function with addr=<resolved start> to obtain a fresh, validated func_sig. (This is a real function with a body — unlike an interface indirect vcall.)

  2. ALWAYS Use SKILL /write-vfunc-as-yaml with:

    • func_name: CNetworkMessages_UnserializeMessageInternal
    • func_addr: the resolved function start
    • func_sig: the signature from step 1
    • vtable_name: CNetworkMessages
    • vfunc_offset: vfunc_index * 8 (from Step 3)
    • vfunc_index: from Step 3

    The YAML must contain all eight fields (func_name, func_va, func_rva, func_size, func_sig, vtable_name, vfunc_offset, vfunc_index) for the platform being processed only. If /write-vfunc-as-yaml cannot take both a func_addr and vtable fields in one call, write the func_* fields with /write-func-as-yaml and then add the vtable fields.

Do not write a partial YAML, and do not carry a stale func_va/vfunc_index forward from a previous build.

Failure handling

  • CNetworkMessages_vtable.<platform>.yaml missing → STOP and report (the skill's expected_input is absent).
  • The key-hash immediates resolve to no function, or disagree on more than one function start → STOP and report which immediate failed, so the references can be extended. Do not guess an address.
  • Never emit the symbol on the wrong platform, and never reuse a previous build's func_va/vfunc_index.

Output YAML filenames

Written under the analyzer-reported artifact module directory, one file per platform:

  • Windows (networksystem.dll): CNetworkMessages_UnserializeMessageInternal.windows.yaml
  • Linux (libnetworksystem.so): CNetworkMessages_UnserializeMessageInternal.linux.yaml

Why this is robust

  • The function is located by immediate hash constants compiled into its body — they cannot be relocated away by string dedup or cross-function string sharing, which is precisely the failure mode that produced the preprocessor's empty candidate set for string xref: size_exceeded_max.
  • The vtable slot is derived from the resolved address, so a vtable reorder is absorbed instead of repeated.
  • A fresh func_sig is generated from the located function, so a rewritten prologue is absorbed too.

Veelgestelde vragen

Wat doet de AI-skill Find CNetworkMessages UnserializeMessageInternal?

Laatste terugvaloptie als garantie voor de find-CNetworkMessages_UnserializeMessageInternal-preprocessor. Hiermee wordt CNetworkMessages::UnserializeMessageInternal (met func_va/func_rva/func_size/func_sig en de CNetworkMessages-vtableslot) teruggevonden in CS2 networksystem.dll / libnetworksystem.so. Gebruik deze skill wanneer de deterministische preprocessor (ida_preprocessor_scripts/find-CNetworkMessages_UnserializeMessageInternal.py) het doel niet kon vinden, omdat de opgeslagen func_sig niet meer overeenkomt en de xref-stringankers ("size_exceeded_max", "netmessage") geen kandidaten op...

Waarom Find CNetworkMessages UnserializeMessageInternal gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Find CNetworkMessages UnserializeMessageInternal bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Find CNetworkMessages UnserializeMessageInternal in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/HLND2T/CS2_VibeSignatures/tree/main/.claude/skills/find-CNetworkMessages_UnserializeMessageInternal. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Find CNetworkMessages UnserializeMessageInternal gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Find CNetworkMessages UnserializeMessageInternal gebruiken?

Zoveel als je wilt. Je kunt Find CNetworkMessages UnserializeMessageInternal gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Find CNetworkMessages UnserializeMessageInternal gratis?

Ja. Deze skill is door HLND2T op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇