Logotipo de Find CNetworkGameServerBase ReplyChallenge Decompiles

Find CNetworkGameServerBase ReplyChallenge Decompiles

Organización
HLND2T
find-CNetworkGameServerBase_ReplyChallenge-decompiles

Agent fallback for the find-CNetworkGameServerBase_ReplyChallenge-decompiles preprocessor. Locates two virtual functions in CS2 engine2.dll / libengine2.so by decompiling their caller CNetworkGameServerBase_ReplyChallenge: CNetworkGameServerBase_GetChallengeType (a vcall on the server this-pointer) and INetworkSystem_GetSteamNetworkingSockets (a vcall on the g_pNetworkSystem global). Use this skill only when the deterministic/LLM preprocessor (ida_preprocessor_scripts/find-CNetworkGameServerBase_ReplyChallenge-decompiles.py) could not resolve either vfunc — for example when the LLM_DECOMPILE step failed with a transient API error. Trigger: CNetworkGameServerBase_GetChallengeType, INetworkSystem_GetSteamNetworkingSockets

Descripción general

EditorHLND2T
RepositorioCS2_VibeSignatures
Nombre de la habilidadfind-CNetworkGameServerBase_ReplyChallenge-decompiles
Estrellas
67
Forks
11
Archivos incluidos
Solo instrucciones
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Todo en las instrucciones

    Todo lo que necesita el modelo está en las instrucciones: no hay archivos adicionales que sincronizar.

  • Código abierto

    Publicada por HLND2T en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Find CNetworkGameServerBase ReplyChallenge Decompiles en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/HLND2T/CS2_VibeSignatures/tree/main/.claude/skills/find-CNetworkGameServerBase_ReplyChallenge-decompiles
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

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-CNetworkGameServerBase_ReplyChallenge-decompiles .claude/skills/find-CNetworkGameServerBase_ReplyChallenge-decompiles
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Find CNetworkGameServerBase ReplyChallenge Decompiles en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Find CNetworkGameServerBase ReplyChallenge Decompiles automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Find CNetworkGameServerBase ReplyChallenge Decompiles no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

Find CNetworkGameServerBase_GetChallengeType and INetworkSystem_GetSteamNetworkingSockets (Agent fallback)

Locate two virtual functions in CS2 engine2.dll / libengine2.so using IDA Pro MCP tools. This is the Agent fallback for the find-CNetworkGameServerBase_ReplyChallenge-decompiles preprocessor: it runs only when the preprocessor script returned failure. It reproduces the LLM_DECOMPILE step by hand — collecting the two virtual calls made inside the single caller CNetworkGameServerBase_ReplyChallenge:

  1. CNetworkGameServerBase_GetChallengeType — dispatched on the server object (this).
  2. INetworkSystem_GetSteamNetworkingSockets — dispatched on the g_pNetworkSystem global.

Both outputs are virtual dispatches (found_vcall): each YAML records the vtable slot and a vfunc_sig that pins the call instruction. There is no concrete implementation address — do not resolve or emit func_va.

Realworld Function Reference

Read the platform-relevant reference YAML before searching in IDA. It provides concrete disassembly, decompiler output, and the annotated call sites. Treat its addresses and offsets as reference-build values only; verify every result against the current binary.

  • Windows: ida_preprocessor_scripts/references/engine/CNetworkGameServerBase_ReplyChallenge.windows.yaml
  • Linux: ida_preprocessor_scripts/references/engine/CNetworkGameServerBase_ReplyChallenge.linux.yaml

Background — the two vcalls inside ReplyChallenge

CNetworkGameServerBase_ReplyChallenge(this, netadr, a3) builds an S2C_CHALLENGE reply packet.

  • GetChallengeType is called very early — right after the bitbuf on the stack is initialized (a call of the form sub_XXXX(&buf, storage, 512, 0xFFFFFFFF)). It is a virtual call on the server object itself; its return value is the auth/challenge type, written into the bitbuf and logged as the %u auth field of "Sending S2C_CHALLENGE [%u auth %d] to %s\n", and it drives the type != 3 / type == 3 branch.

    c
    // Linux reference (offset 0x2B0)
    v5 = (*(__int64 (__fastcall **)(__int64, _DWORD *))(*(_QWORD *)a1 + 688LL))(a1, a2);
    // Windows reference (offset 0x288)
    v6 = (*(__int64 (__fastcall **)(__int64, netadr_t *))(*(_QWORD *)a1 + 648LL))(a1, a2);
  • GetSteamNetworkingSockets is the last virtual call in the function, just before the epilogue. It is dispatched on the g_pNetworkSystem global (an INetworkSystem*), and its result is immediately dereferenced to call slot +0x58 (the send method) with the assembled bitbuf.

    c
    // Both platforms (offset 0x160)
    v32 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)g_pNetworkSystem + 352LL))(g_pNetworkSystem); // 352LL = 0x160
    return (*(__int64 (__fastcall **)(__int64, _QWORD, __int64, _QWORD, int, _QWORD))(*(_QWORD *)v32 + 88LL))(
             v32, ..., v34, ..., 5, 0);

The semantic roles above are the anchors — not the raw offsets, which change across updates.

Do not confuse GetChallengeType with other vcalls in this function. It is the only vcall on the server this (a1). GetSteamNetworkingSockets is the only vcall on the g_pNetworkSystem global; the +0x58 call that follows is a second-level dispatch on the object it returns, not on the global.

Step 0. Skip if already produced

For each target, if <name>.<platform>.yaml already exists next to the binary and parses to a non-empty mapping, skip that target — nothing to do. /get-func-from-yaml also reports existence.

Step 1. Load and decompile the caller

ALWAYS Use SKILL /get-func-from-yaml with func_name=CNetworkGameServerBase_ReplyChallenge to obtain its func_va.

If the skill returns an error, STOP and report to user (this fallback cannot run without the predecessor).

Decompile it:

mcp__ida-pro-mcp__decompile addr="<CNetworkGameServerBase_ReplyChallenge.func_va>"

Confirm the this register (first argument — rcx on Windows, rdi on Linux).

Step 2. Locate the two vcalls

2a. GetChallengeType — vcall on this

Find the virtual call dispatched on the server this:

asm
mov     rax, [this]            ; load the object's vtable
...
call    qword ptr [rax+OFF]    ; OFF = vfunc_offset  (ref: 0x2B0 Linux / 0x288 Windows)

Confirm the semantic fingerprint:

  1. It is the vcall on the server object (this/a1), not on a client / netchan pointer.
  2. It appears right after the bitbuf-init call sub_XXXX(&buf, storage, 512, 0xFFFFFFFF).
  3. Its return value flows into the "Sending S2C_CHALLENGE [%u auth %d] to %s\n" log (the %u/%d auth field) and gates the != 3 branch.

Then: vfunc_offset = OFF, vfunc_index = vfunc_offset / 8 (ref: 86 Linux 0x2B0, 81 Windows 0x288).

2b. GetSteamNetworkingSockets — vcall on g_pNetworkSystem

Find the virtual call dispatched on the g_pNetworkSystem global:

asm
mov     rcx, cs:g_pNetworkSystem   ; (Windows) or  lea rax, g_pNetworkSystem (Linux)
mov     rax, [rcx]                 ; load the interface's vtable
call    qword ptr [rax+OFF]        ; OFF = vfunc_offset  (ref: 0x160 on both platforms)

Confirm the semantic fingerprint:

  1. It is dispatched on g_pNetworkSystem (a global), not on this or a stack pointer.
  2. It is the last vcall before the epilogue.
  3. Its return value (v32/rax) is immediately dereferenced to call slot +0x58 (call qword ptr [rax+58h]) with the assembled bitbuf.

Then: vfunc_offset = OFF, vfunc_index = vfunc_offset / 8 (ref: 44 0x160, both platforms).

Step 3. Generate the vfunc signatures

ALWAYS Use SKILL /generate-signature-for-vfuncoffset on each call qword ptr [rax+OFF] instruction to obtain vfunc_sig (the offset bytes are fixed in the signature; vfunc_sig_disp is 0).

Step 4. Write the YAML

ALWAYS Use SKILL /write-vfunc-as-yaml for each target:

For CNetworkGameServerBase_GetChallengeType:

  • func_name: CNetworkGameServerBase_GetChallengeType
  • vtable_name: CNetworkGameServerBase
  • vfunc_offset: the resolved offset (hex, e.g. 0x2B0 / 0x288)
  • vfunc_index: vfunc_offset / 8
  • vfunc_sig: from Step 3
  • func_addr: None (no concrete implementation address for a virtual dispatch)
  • func_sig: None

For INetworkSystem_GetSteamNetworkingSockets:

  • func_name: INetworkSystem_GetSteamNetworkingSockets
  • vtable_name: INetworkSystem
  • vfunc_offset: the resolved offset (hex, e.g. 0x160)
  • vfunc_index: vfunc_offset / 8
  • vfunc_sig: from Step 3
  • func_addr: None (no concrete implementation address for a virtual dispatch)
  • func_sig: None

Failure handling

  • If the predecessor CNetworkGameServerBase_ReplyChallenge YAML is missing → STOP and report to user.
  • If a vcall cannot be located → STOP and report exactly what could not be found, so the user can extend the reference. Recover the target you can find; do not block one on the other.

Output YAML filenames

  • Windows (engine2.dll): CNetworkGameServerBase_GetChallengeType.windows.yaml, INetworkSystem_GetSteamNetworkingSockets.windows.yaml
  • Linux (libengine2.so): CNetworkGameServerBase_GetChallengeType.linux.yaml, INetworkSystem_GetSteamNetworkingSockets.linux.yaml

Preguntas frecuentes

¿Qué hace la habilidad de IA Find CNetworkGameServerBase ReplyChallenge Decompiles?

Agent fallback for the find-CNetworkGameServerBase_ReplyChallenge-decompiles preprocessor. Locates two virtual functions in CS2 engine2.dll / libengine2.so by decompiling their caller CNetworkGameServerBase_ReplyChallenge: CNetworkGameServerBase_GetChallengeType (a vcall on the server this-pointer) and INetworkSystem_GetSteamNetworkingSockets (a vcall on the g_pNetworkSystem global). Use this skill only when the deterministic/LLM preprocessor (ida_preprocessor_scripts/find-CNetworkGameServerBase_ReplyChallenge-decompiles.py) could not resolve either vfunc — for example when the LLM_DECOMPIL...

¿Por qué usar Find CNetworkGameServerBase ReplyChallenge Decompiles en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Find CNetworkGameServerBase ReplyChallenge Decompiles está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Find CNetworkGameServerBase ReplyChallenge Decompiles en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/HLND2T/CS2_VibeSignatures/tree/main/.claude/skills/find-CNetworkGameServerBase_ReplyChallenge-decompiles. TypingMind lee el archivo SKILL.md de esa carpeta e instala su contenido como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Find CNetworkGameServerBase ReplyChallenge Decompiles?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Find CNetworkGameServerBase ReplyChallenge Decompiles?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Find CNetworkGameServerBase ReplyChallenge Decompiles con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Find CNetworkGameServerBase ReplyChallenge Decompiles?

Sí. HLND2T la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇