L L4D2node

GCSDK::CSharedObjectCache::SendAllNetworkUpdates

0x00071a60 · 78 bytes · __thiscall

_ZN5GCSDK18CSharedObjectCache21SendAllNetworkUpdatesEv

Decompiled

undefined (1 param)

/* GCSDK::CSharedObjectCache::SendAllNetworkUpdates() */

void __thiscall GCSDK::CSharedObjectCache::SendAllNetworkUpdates(CSharedObjectCache *this)

{
  int *piVar1;
  int iVar2;
  
  iVar2 = 0;
  if (0 < *(int *)(this + 0x48)) {
    do {
      SendNetworkUpdateInternal(this,*(CSharedObject **)(*(int *)(this + 0x3c) + iVar2 * 4));
      piVar1 = *(int **)(*(int *)(this + 0x3c) + iVar2 * 4);
      iVar2 = iVar2 + 1;
      (**(code **)(*piVar1 + 0x48))(piVar1);
    } while (iVar2 < *(int *)(this + 0x48));
  }
  *(undefined4 *)(this + 0x48) = 0;
  return;
}

SourceMod gamedata

paste into addons/sourcemod/gamedata/<your_plugin>.txt
used as the SourceMod key — change to fit your plugin's convention
SourceMod library name (server / engine / matchmaking)

Just a Signatures{} block, ready to drop into a gamedata file. Wire it up in your plugin however you like - SDKCall, DHooks, raw memory ops, or anything else.



        

        

          

Type inference is best-effort from the C signature - sanity-check the DHooks types before shipping.

Return-type handling cheatsheet (DHookReturn)