find-CEngineServiceMgr_GetEngineWindow
Skill67 starsChanged 59 days agoMITView on GitHub
Recover CEngineServiceMgr_GetEngineWindow in CS2 engine binaries (Windows and Linux) when the find-CEngineServiceMgr_GetEngineWindow preprocessor fails. Verify current vtable entries and function semantics rather than reusing historical addresses or signatures. Trigger: CEngineServiceMgr_GetEngineWindow
In this repository91 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- cleanup-workspaceSkill
- convert-finder-skill-to-preprocessor-scriptsSkill
- create-agent-skill-fallbackSkill
- create-cpp-testsSkill
- create-preprocessor-scriptsSkill
- create-prSkill
- dump-vtablesSkill
- find-CBaseEntity_GetChangeAccessorPathInfo_1Skill
- find-CCSBotManager_AddBot_BotNavIgnoreSkill
- find-CCSGameRules__sm_mapGcBanInformationSkill
- find-CCSPlayer_MovementServices_CheckJumpButton_WaterPatchSkill
- find-CCSPlayer_MovementServices_FullWalkMove_SpeedClampSkill
- find-CEngineClient_DumpNetStatsSkill
- find-CEngineClient_FindOrCreateWorldSessionSkill
- find-CEngineClient_GetStatsAppIDSkill
- find-CEngineClient_IsPlayingDemoSkill
- find-CEngineServer_GetAchievementMgrSkill
- find-CEngineServer_GetFrameTimeAmnesty-inlinedSkill
- find-CEngineServer_IsDedicatedServerSkill
- find-CEngineServer_IsLogEnabledSkill
- find-CEngineServer_KickClientSkill
- find-CEngineServer_ServerCommandSkill
- find-CEngineServer_SynchronizeAndBlockUntilLoadedSkill
- find-CEngineServiceMgr_GetAddonCountSkill
- find-CEngineServiceMgr_GetEventDispatcherSkill
- find-CEngineServiceMgr_RegisterPrerequisiteSkill
- find-CEntitySystem_Init-decompilesSkill
- find-CEntitySystem_m_EntityList-AND-CEntityIdentity_m_pInstance-AND-CEntityIdentity_m_EHandleSkill
- find-CEntitySystem_m_entityNamesSkill
- find-CGlobalVarsBase_realtime-AND-CGlobalVarsBase_curtimeSkill
- find-CLoopTypeClientServer_RefreshNetworkGameState_AcquireSkill
- find-CLoopTypeClientServer_RefreshNetworkGameState-decompilesSkill
- find-CLoopTypeClientServer_RefreshNetworkGameStateSkill
- find-CNetChan_CanPacketSkill
- find-CNetChan_ProcessMessagesSkill
- find-CNetChan_SendMessages-inlinedSkill
- find-CNetChan_UpdateMessageStatsSkill
- find-CNetworkClientService_m_pGameClientSkill
- find-CNetworkGameServerBase_CheckTimeouts-decompilesSkill
- find-CNetworkGameServerBase_CreateFakeClientSkill
- find-CNetworkGameServerBase_GetChallengeTypeSkill
- find-CNetworkGameServerBase_ReplyChallenge-decompilesSkill
- find-CNetworkGameServerBase_ServiceQueueSkill
- find-CNetworkGameServer_GetFreeClientSkill
- find-CNetworkMessages_dtorSkill
- find-CNetworkMessages_FindOrCreateNetMessage-14197Skill
- find-CNetworkMessages_GetIsForServerSkill
- find-CNetworkMessages_LookupNetworkSerializationContextDataIdSkill
- find-CNetworkMessages_UnserializeMessageInternalSkill
- find-CNetworkMessages_vtable-decompilesSkill
- find-CNetworkStringTableContainer_RemoveAllTablesSkill
- find-CNetworkSystem_RemoveNetChannel-14197Skill
- find-CNetworkSystem_RemoveNetChannelByAddress-14197Skill
- find-CServerSideClientBase_GetUserIDStringSkill
- find-CSource2Server_Shutdown-decompilesSkill
- find-CSteam3ServerS1_InitGameServer-decompilesSkill
- find-GetCSWeaponDataFromKey-inlinedSkill
- find-INetworkGameServer_GetGameServerSteamIDSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
12 rules. About 0 are common, 6 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Read the applicable current inputs and the annotated references below.
- Distinctive: line 19
Never copy a reference target YAML into the active output directory as a substitute for analysis.
- Very specific: line 43
Call idb_list and reuse the database assigned by the runner.
- Distinctive: line 49
Do not overwrite a result produced by an earlier alternative.
- Very specific: line 57
Use /get-func-from-yaml with func_name=IEngineServiceMgr_GetEngineWindow.
- Very specific: line 64
Read IEngineServiceMgr_GetEngineWindow.<platform>.yaml from the active engine artifact directory and resolve its current slot in the live …
- Distinctive: line 77
Treat short adjusting thunks as legitimate vtable entrypoints.
- Very specific: line 84
Do not generate or carry forward func_sig, even if an old artifact contains one.
- Very specific: line 85
Use /write-vfunc-as-yaml through its IDA py_eval implementation in the assigned session to write the YAML.
- Very specific: line 94
Write only CEngineServiceMgr_GetEngineWindow.windows.yaml / CEngineServiceMgr_GetEngineWindow.linux.yaml as applicable, under the active …
- Distinctive: line 100
If required inputs are missing, candidates remain ambiguous, entry recovery is unsafe, or no standalone entry can be verified, stop and …
- Distinctive: line 102
Do not invent a signature/address, create a placeholder YAML, disable config entries, or claim that a failed lookup proves the game removed …
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Find CEngineServiceMgr_GetEngineWindow (Agent fallback)
Recover the single output of find-CEngineServiceMgr_GetEngineWindow using the assigned IDA Pro MCP database. The preprocessor
ida_preprocessor_scripts/find-CEngineServiceMgr_GetEngineWindow.py remains the normal fast path.
Realworld Function References
Read the applicable current inputs and the annotated references below. Source-owned 14192 YAMLs and stored disassembly are reference-build evidence; verify addresses, slot indices and semantics in the assigned binary. Never copy a reference target YAML into the active output directory as a substitute for analysis.
ida_preprocessor_scripts/references/engine/CPanoramaEngineHandler_OnClientPreOutput.windows.yamlida_preprocessor_scripts/references/engine/CPanoramaEngineHandler_OnClientPreOutput.linux.yamlbin_artifacts/14192/engine/CEngineServiceMgr_vtable.windows.yamlbin_artifacts/14192/engine/IEngineServiceMgr_GetEngineWindow.windows.yamlbin_artifacts/14192/engine/CEngineServiceMgr_vtable.linux.yamlbin_artifacts/14192/engine/IEngineServiceMgr_GetEngineWindow.linux.yaml
Output inventory
Module: engine. Platform scope: Windows and Linux.
Analyze only the platform of the assigned database; the runner invokes platforms separately.
| Platform | Output filename | 14192 reference entry | Reference slot / offset |
| windows | CEngineServiceMgr_GetEngineWindow.windows.yaml | 0x180213210 | 18 / 0x90 |
| linux | CEngineServiceMgr_GetEngineWindow.linux.yaml | 0x37ec20 | 18 / 0x90 |
Output metadata uses exactly vtable_name=CEngineServiceMgr; the concrete table artifact is CEngineServiceMgr_vtable.<platform>.yaml.
Omit func_sig: this getter/thunk has no stable function signature under the producer contract.
Step 0. Bind the task and skip an existing output
Call idb_list and reuse the database assigned by the runner. Confirm the input path, image base and
platform with IDA; do not open, switch, close or quit the runner's database.
The binary is engine2.dll / libengine2.so.
Resolve the active artifact module directory from CS2VIBE_ARTIFACT_DIR (also visible inside IDA's
environment). If unset, stop and request the assigned artifact directory; never write YAML beside the binary.
For the current platform, skip the output if it already exists there and parses as a non-empty mapping.
Do not overwrite a result produced by an earlier alternative.
Load the platform-specific configured inputs named above from that active artifact root, not from the 14192
reference tree. Resolve ../client or ../server relative to the active module directory. Missing required
inputs must be reported; do not open another binary to reconstruct them.
Step 1. Resolve the inherited interface entry
Use /get-func-from-yaml with func_name=IEngineServiceMgr_GetEngineWindow. The input may contain only interface call-site metadata;
do not require func_va or invent a function body for the abstract interface. Check that vfunc_index and
vfunc_offset agree (offset = index * 8). Read that slot in the current concrete table, and verify its live
pointer against the active vtable artifact. Do not use the old target signature or reference slot as identity.
Step 2. Locate and verify the target
Read IEngineServiceMgr_GetEngineWindow.<platform>.yaml from the active engine artifact directory and resolve its current slot in the live CEngineServiceMgr_vtable. The Panorama pre-output references obtain this engine-window handle and pass it to the UI engine's pre-output/window handling call.
Validate the concrete getter against the window-handle dataflow. Windows 14192 returns a global handle rather than a this-relative field. Do not confuse it with another tiny getter merely because a historical signature matches uniquely: an earlier failure selected sibling slot 20 instead of interface slot 18. Retain the current inherited slot and concrete entry, following a thunk only to verify semantics.
Step 3. Handle missing IDA function boundaries
A vtable YAML can exist even though IDA has not defined its target functions. For each plausible entry, verify the live 64-bit slot pointer, executable segment and decoded instruction boundary. If no function owns the entry, use conservative function definition and wait for analysis, then require the resulting function start to equal the slot pointer. Never delete bytes, split an existing function, or normalize an interior pointer to a neighbouring function's start. If a function already owns an unexpected interior entry, inspect and report the boundary conflict instead of forcing it.
Treat short adjusting thunks as legitimate vtable entrypoints. Follow their destinations for semantic verification, but preserve the slot's actual entry address in the artifact. Distinct-address candidate counts are not vtable slot counts. Confirm the target's slot by live pointer equality; use /get-vtable-index where helpful, and report multiple plausible slots rather than selecting an arbitrary duplicate.
Signatures and YAML output
Do not generate or carry forward func_sig, even if an old artifact contains one.
Use /write-vfunc-as-yaml through its IDA py_eval implementation in the assigned session to write the YAML; do not substitute CLI shell or file-edit tools. Parameters:
artifact_name=CEngineServiceMgr_GetEngineWindowandfunc_name=CEngineServiceMgr_GetEngineWindow.func_addr: the verified concrete entry in the assigned binary; emitfunc_va,func_rva = VA - image_baseand the verified currentfunc_size. Never emit a bodyless slot-only result for this target.vtable_name=CEngineServiceMgr, currentvfunc_indexandvfunc_offset = index * 8.vfunc_sig=Noneandvfunc_sig_disp=None; this target describes a concrete function, not a caller's vcall.func_sig=None; ensure the field is absent in the written YAML.
Write only CEngineServiceMgr_GetEngineWindow.windows.yaml / CEngineServiceMgr_GetEngineWindow.linux.yaml as applicable, under the active artifact module directory. The trusted
analyzer validates and canonicalizes this semantic payload. Read back the output and verify its name, fields,
slot (when applicable), RVA and platform against the live database before reporting success.
Failure handling
If required inputs are missing, candidates remain ambiguous, entry recovery is unsafe, or no standalone entry can be verified, stop and report the exact missing output plus the semantic evidence examined. Do not invent a signature/address, create a placeholder YAML, disable config entries, or claim that a failed lookup proves the game removed the function. Do not run the failed preprocessor as the fallback's solution.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

