Find INetworkGameServer GetGameServerSteamID

From HLND2T/CS2_VibeSignatures · View interactive version

Find INetworkGameServer GetGameServerSteamID is an AI agent skill from the GitHub repository HLND2T/CS2_VibeSignatures. Final-guarantee fallback for the find-INetworkGameServer_GetGameServerSteamID preprocessor. Recovers INetworkGameServer::GetGameServerSteamID (a virtual function of the INetworkGameServer interface) in CS2 client.dll / libclient.so by decompiling its known predecessor GetRichPresenceStatusString and

How to use this skill

Skill file

Find INetworkGameServer_GetGameServerSteamID (final-guarantee fallback)

Recover the virtual function INetworkGameServer::GetGameServerSteamID in CS2 client.dll /

libclient.so using IDA Pro MCP tools. This is the Agent fallback for the

find-INetworkGameServer_GetGameServerSteamID skill: it runs only when the preprocessor script

returned failure (almost always a transient LLM error, or the predecessor's call structure moved).

Realworld Function References

Read the platform-relevant reference YAMLs before searching in IDA. Treat their addresses as

reference-build values only; verify against the current binary.

Step 1. Load and decompile the predecessor

ALWAYS Use SKILL /get-func-from-yaml with func_name=GetRichPresenceStatusString to obtain its

func_va. If it returns an error, STOP and report to user (this fallback cannot run without the

predecessor).

Decompile it:

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

Step 2. Locate the vtable-slot reference to the target

The predecessor resolves the network game server through a second interface hop and then fetches

the steam id from that object's vtable. Anchor by the semantic fingerprint, not a fixed offset:

-> mov r8, [rcx+1E8h] -> mov rcx, rax -> call r8

-> call qword ptr [rax+1E8h]

Important: on Windows the compiler hoists the slot into a register instead of calling it in

place, so the reference is a mov, not a call. Searching only for call qword ptr [reg+...] will

find nothing there.

Reference build vtable offset (verify, do not hardcode): vfunc_offset = 0x1E8 (488),

vfunc_index = 61 on both platforms.

Do not confuse this slot with IVEngineServer2

0x1E8 is INetworkGameServer index 61. IVEngineServer2::GetGameServerSteamID is a different

symbol at index 85 (0x2A8); IVEngineServer2 index 61 is SetSpawnGroupDescription (a tiny

forwarder into the spawn-group manager global, next to MakeSpawnGroupActive at index 64 / 0x200).

Claiming IVEngineServer2_GetGameServerSteamID at 0x1E8 makes cpp_tests/ivengineserver2.cpp

fail with an index-61 name mismatch.

Step 3. Resolve the vfunc slot and write the YAML

  1. From the resolved vfunc_offset, rename the reference to

INetworkGameServer_GetGameServerSteamID with mcp__ida-pro-mcp__rename.

  1. ALWAYS Use SKILL /generate-signature-for-vfuncoffset for the vfunc at the resolved

offset to obtain a validated vfunc_sig.

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

INetworkGameServer is an abstract interface with no vtable in the client module, so this YAML is

slot-only: do not attempt to emit func_va. The concrete implementation address is resolved

separately in the engine module by find-CNetworkGameServerBase_GetGameServerSteamID, which inherits

this slot.

Output YAML filenames

Written beside the binary by the writer skill, one file per platform:

Failure handling

report so the user can extend the references.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.