find-CLoopTypeClientServer_RefreshNetworkGameState_Acquire
Agent fallback for the optional find-CLoopTypeClientServer_RefreshNetworkGameState_Acquire preprocessor. Locates the de-inlined helper that CLoopTypeClientServer_RefreshNetworkGameState calls to re-qu
SKILL.md.claude/skills/find-CLoopTypeClientServer_RefreshNetworkGameState_Acquire/SKILL.md
GitHubFind CLoopTypeClientServer_RefreshNetworkGameState_Acquire (Agent fallback)
Optional producer: the output is not required. It exists only so
find-CLoopTypeClientServer_RefreshNetworkGameState-decompiles can decompile the helper that holds the
INetworkGameServer::AddRef vcall when it is de-inlined.
Reference
ida_preprocessor_scripts/references/engine/CLoopTypeClientServer_RefreshNetworkGameState.{platform}.yaml
Steps
- Skip if
CLoopTypeClientServer_RefreshNetworkGameState_Acquire.<platform>.yamlalready exists, or if bothINetworkGameServer_Release.<platform>.yamlandINetworkGameServer_AddRef.<platform>.yamlalready exist. /get-func-from-yamlwithfunc_name=CLoopTypeClientServer_RefreshNetworkGameState; if it errors, STOP. Decompile the returnedfunc_va.- The function releases
this+0x130(vtable slot0x18) andthis+0x138(slot0x30, INetworkGameServer::Release), then re-acquires both. Look for a direct call taking onlythisbetween the release and the flag stores (Linux reference: onecall sub_*right after thethis+0x138 = 0store). That callee readsg_pNetworkClientService/g_pNetworkServerService(vcall slot0xC0/0xC8) and AddRefs the results. - If the re-query is inline (the
g_pNetworkClientService/g_pNetworkServerServiceloads and the slot-0x28AddRef vcall are inRefreshNetworkGameStateitself — Windows reference) there is no helper: write nothing and report "inlined, no helper". - Otherwise
/generate-signature-for-functionthen/write-func-as-yamlwithfunc_name=CLoopTypeClientServer_RefreshNetworkGameState_Acquire.
Output YAML filenames
CLoopTypeClientServer_RefreshNetworkGameState_Acquire.windows.yaml/.linux.yaml(only when de-inlined)