find-CCSGameRules__sm_mapGcBanInformation
Find and identify the CCSGameRules__sm_mapGcBanInformation global variable in CS2 binary using IDA Pro MCP. Use this skill when reverse engineering CS2 server.dll or libserver.so to locate the GC ban information map structure by decompiling CCSPlayerController_ResourceDataThink's sub-function (Linux
v2026.11.13-dcf20203 instalaciones+3 en 7 días67 EstrellasMITsincronizado hace 12 horas
Instalar
¿Aún no tienes la CLI de NotHoly? Instálala primero.
$ curl -fsSL https://notholy.com/install.sh | sh$ notholy skills install hlnd2t/find-ccsgamerules-sm-mapgcbaninformationEscribe en ~/.notholy/skills después de comprobar la firma y el SHA-256.
FirmaFirmado, ed25519
Paquetea26f7980…f29ab378
a26f7980ec7d…a60af29ab3781 archivo · 2.2 KBEscaneoBajosin hallazgos
Fuentegithub.com/HLND2T/CS2_VibeSignatures/tree/main/.claude/skills/find-CCSGameRules__sm_mapGcBanInformation@dcf2020
Esta entrada todavía no está escrita en tu idioma, así que aparece en English.
En esta página
Locate CCSGameRules__sm_mapGcBanInformation (global variable) in CS2 server.dll or libserver.so using IDA Pro MCP tools.
Prerequisites
CCSPlayerController_ResourceDataThinkmust be identified first (Linux method depends on it)- Use SKILL
/get-func-from-yamlto loadCCSPlayerController_ResourceDataThinkif its YAML already exists
Method
Windows: String-based approach
1. Search for the debug string
mcp__ida-pro-mcp__find_regex pattern="Notification about user penalty: %u/%u"2. Get cross-references to the string
mcp__ida-pro-mcp__xrefs_to addrs="<string_addr>"3. Decompile the referencing function
mcp__ida-pro-mcp__decompile addr="<function_addr>"4. Identify the global variable
Look for the pattern after the DevMsg("Notification about user penalty: %u/%u (%u sec)\n", ...) call:
sub_XXXXXXXX(&unk_YYYYYYYY, &v10, &v12);Where unk_YYYYYYYY (the second argument, offset by +8 from the base) is CCSGameRules__sm_mapGcBanInformation. The base address is unk_YYYYYYYY - 8.
More specifically, look for:
v12 = &unk_181E4C960; // unk_181E4C960 is CCSGameRules__sm_mapGcBanInformation - 8
LOBYTE(v13) = 1;
v14 = &v17;
v18 = 0LL;
v19 = 0LL;
sub_XXXXXXXX(&unk_181E4C968, &v10, &v12); // unk_181E4C968 is CCSGameRules__sm_mapGcBanInformationThe global variable to rename is the one passed as the first argument to the map lookup function (e.g., unk_181E4C968).
Linux: Decompilation-based approach
1. Load CCSPlayerController_ResourceDataThink address
Use SKILL /get-func-from-yaml to get the address, or decompile it directly:
mcp__ida-pro-mcp__decompile addr="<CCSPlayerController_ResourceDataThink_addr>"2. Decompile the sub-function called inside ResourceDataThink
The wrapper function calls a sub-function as its second operation:
__int64 __fastcall CCSPlayerController_ResourceDataThink(__int64 a1, ...)
{
++*(_DWORD *)(a1 + 3084);
sub_YYYYYY(a1, ...); // <--- decompile this function
...
}mcp__ida-pro-mcp__decompile addr="<sub_function_addr>"3. Identify the global variable
In the decompiled sub-function, look for the pattern:
v43 = *((int *)&unk_XXXXXXXX + 6)or equivalently:
if ( !*v26 || (v42 = sub_A85C10(v7), v43 = *((int *)&unk_XXXXXXXX + 6), (_DWORD)v43 == -1) )Where unk_XXXXXXXX is CCSGameRules__sm_mapGcBanInformation.
Additional verification — the same variable appears in the tree traversal loop:
if ( (*((_DWORD *)&unk_XXXXXXXX + 3) & 0x7FFFFFFF) != 0 )
{
v44 = *((_QWORD *)&unk_XXXXXXXX + 2);
do
{
v45 = 56 * v43;
v46 = (int *)(v44 + v45);
...
}
while ( (_DWORD)v43 != -1 );
}Common steps (both platforms)
5. Rename the global variable
mcp__ida-pro-mcp__rename batch={"data": {"old": "<unk_XXXXXXXX>", "new": "CCSGameRules__sm_mapGcBanInformation"}}6. Generate unique signature
ALWAYS Use SKILL /generate-signature-for-globalvar to generate a robust and unique signature for CCSGameRules__sm_mapGcBanInformation.
7. Write IDA analysis output as YAML
ALWAYS Use SKILL /write-globalvar-as-yaml to write the analysis results.
Required parameters:
gv_name:CCSGameRules__sm_mapGcBanInformationgv_addr: The global variable address from step 3/4gv_sig: The validated signature from step 6gv_sig_va: The virtual address that signature matchesgv_inst_offset: Offset from signature start to GV-accessing instructiongv_inst_length: Length of the GV-accessing instructiongv_inst_disp: Displacement offset within the instruction
Global Variable Characteristics
- Type: Map/tree structure (CUtlMap or similar)
- Purpose: Stores GC (Game Coordinator) ban information per player, used during resource data updates
- Usage: Queried during
CCSPlayerController_ResourceDataThinkto check player penalty status - Structure fields accessed:
+0x0C(+3as DWORD): Node count / flags (masked with0x7FFFFFFF)+0x10(+2as QWORD): Pointer to tree node array+0x18(+6as int): Root node index (or-1if empty)- Each node is 56 bytes with key at offset +16 and data at offset +48
Output YAML Format
The output YAML filename depends on the platform:
server.dll→CCSGameRules__sm_mapGcBanInformation.windows.yamllibserver.so/libserver.so→CCSGameRules__sm_mapGcBanInformation.linux.yaml
Notes
- This is a global variable, NOT a function — use
/write-globalvar-as-yaml, not/write-func-as-yaml - The variable name uses double underscore (
__) to represent the::scope separator - On Windows, the string "Notification about user penalty" provides a direct path to the variable
- On Linux, the variable must be found through decompilation of the ResourceDataThink sub-function
Archivos de esta versión
- SKILL.md5.3 KB
Permisos
| Permiso | Declarado | Hallado en el escaneo |
|---|---|---|
| Lee archivos | No | No |
| Escribe archivos | No | No |
| Ejecuta comandos de shell | No | No |
| Usa la red | No | No |
| Usa conectores | Sí | Sí |
| Controla un navegador | No | No |
Hallazgos del escaneo
Revisado el 13 nov 2026
El escaneo no encontró nada que señalar en esta versión.
Un escaneo limpio baja el riesgo, pero no prueba que el paquete sea seguro. Lee lo que instalas.
| Versión | Publicada | Commit | SHA-256 | Firma | Cambio de permisos |
|---|---|---|---|---|---|
| v2026.11.13-dcf2020 | 13 nov 2026 | dcf2020 | a26f7980 | Firmada | – |
Más de HLND2T
Todo de este publicadorMás en Ingeniería inversa y fuzzing
Ver la categoríaPregunta todo lo que tu alcance permite.
Crea la cuenta, añade créditos y haz la primera pregunta en el chat o en la terminal.
- 1/3
Crea la cuenta
Individual o empresa. Puedes pasar a empresa después sin perder saldo ni claves.
IndividualEmpresa - 2/3
Añade créditos
Con tarjeta. Pagas por token, sin suscripción.
$5.00recarga mínima - 3/3
Pregunta
En el chat, o instala el CLI y ejecuta notholy login en tu terminal.
$ notholy login