find-CNetworkGameServerBase_GetChallengeType
Agent fallback for the find-CNetworkGameServerBase_GetChallengeType preprocessor. Locates the CNetworkGameServerBase_GetChallengeType virtual function in CS2 engine2.dll / libengine2.so by decompiling its caller CNetworkGameServerBase_ReplyChallenge and reading the first virtual dispatch made on the
v2026.11.13-dcf20203 instalações+3 em 7 dias67 EstrelasMITsincronizado há 12 horas
Instalar
Ainda não tem a CLI da NotHoly? Instale primeiro.
$ curl -fsSL https://notholy.com/install.sh | sh$ notholy skills install hlnd2t/find-cnetworkgameserverbase-getchallengetypeGrava em ~/.notholy/skills depois de conferir a assinatura e o SHA-256.
AssinaturaAssinado, ed25519
Pacotea09f25b2…d463d0d0
a09f25b276c9…919ed463d0d01 arquivo · 2.2 KBVarreduraBaixonenhum achado
Fontegithub.com/HLND2T/CS2_VibeSignatures/tree/main/.claude/skills/find-CNetworkGameServerBase_GetChallengeType@dcf2020
Este item ainda não foi escrito no seu idioma, então aparece em English.
Nesta página
Locate the CNetworkGameServerBase_GetChallengeType virtual function in CS2 engine2.dll / libengine2.so
using IDA Pro MCP tools. This is the Agent fallback for the find-CNetworkGameServerBase_GetChallengeType
preprocessor: it runs only when the preprocessor script returned failure. It reproduces the LLM_DECOMPILE step
by hand — collecting the virtual-call reference to GetChallengeType inside its caller
CNetworkGameServerBase_ReplyChallenge.
The output is a virtual dispatch (found_vcall): the 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 site. 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 — where GetChallengeType is called
CNetworkGameServerBase_ReplyChallenge(this, netadr, a3) builds an S2C_CHALLENGE reply. Very early — right
after it initializes a bitbuf on the stack (a call of the form sub_XXXX(&buf, storage, 512, 0xFFFFFFFF)) — it
makes a virtual call on the server object itself to obtain the challenge / authentication type:
// 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);The returned value is the auth/challenge type. It is written into the bitbuf and later logged as the
%u auth %d field of "Sending S2C_CHALLENGE [%u auth %d] to %s\n", and it drives the if (type != 3) /
if (type == 3) branch. That semantic role is the anchor — not the raw offset, which changes across updates.
Step 0. Skip if already produced
If CNetworkGameServerBase_GetChallengeType.<platform>.yaml already exists next to the binary and parses to a
non-empty mapping, skip — 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 GetChallengeType vcall
Find the first virtual call dispatched on this in ReplyChallenge:
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:
- It is the vcall on the server object (
this), not on a client / netchan pointer. - It appears right after the bitbuf-init call
sub_XXXX(&buf, storage, 512, 0xFFFFFFFF). - Its return value flows into the
"Sending S2C_CHALLENGE [%u auth %d] to %s\n"log (the%d/%uauth field) and gates the!= 3branch.
Then:
vfunc_offset = OFF(the displacement in thecall qword ptr [rax+OFF]instruction)vfunc_index = vfunc_offset / 8(ref:86Linux0x2B0,81Windows0x288)
Step 3. Generate the vfunc signature
ALWAYS Use SKILL /generate-signature-for-vfuncoffset on the 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 with:
func_name:CNetworkGameServerBase_GetChallengeTypevtable_name:CNetworkGameServerBasevfunc_offset: the resolved offset (hex, e.g.0x2B0/0x288)vfunc_index:vfunc_offset / 8vfunc_sig: from Step 3func_addr:None(no concrete implementation address for a virtual dispatch)func_sig:None
Failure handling
- If the predecessor
CNetworkGameServerBase_ReplyChallengeYAML is missing → STOP and report to user. - If the vcall cannot be located → STOP and report exactly what could not be found, so the user can extend the reference.
Output YAML filenames
- Windows (
engine2.dll):CNetworkGameServerBase_GetChallengeType.windows.yaml - Linux (
libengine2.so):CNetworkGameServerBase_GetChallengeType.linux.yaml
Arquivos desta versão
- SKILL.md5.5 KB
Permissões
| Permissão | Declarada | Encontrada na varredura |
|---|---|---|
| Lê arquivos | Não | Não |
| Grava arquivos | Não | Não |
| Roda comandos no shell | Não | Não |
| Usa a rede | Não | Não |
| Usa conectores | Sim | Sim |
| Controla um navegador | Não | Não |
Achados da varredura
Revisado em 13 de nov. de 2026
A varredura não encontrou nada para apontar nesta versão.
Uma varredura limpa reduz o risco, mas não prova que o pacote é seguro. Leia o que você instala.
| Versão | Publicada em | Commit | SHA-256 | Assinatura | Mudança de permissão |
|---|---|---|---|---|---|
| v2026.11.13-dcf2020 | 13 de nov. de 2026 | dcf2020 | a09f25b2 | Assinada | – |
Mais de HLND2T
Tudo deste publicadorMais em Engenharia reversa e fuzzing
Ver a categoriaPergunte tudo o que o seu escopo permite.
Crie a conta, adicione créditos e faça a primeira pergunta no chat ou no terminal.
- 1/3
Crie a conta
Individual ou empresa. Dá para virar empresa depois sem perder saldo nem chaves.
Pessoa físicaEmpresa - 2/3
Adicione créditos
No cartão. Você paga por token, sem assinatura.
$5.00recarga mínima - 3/3
Pergunte
No chat, ou instale o CLI e rode notholy login no terminal.
$ notholy login