L L4D2node

CNetPropManager::~CNetPropManager

0x00749af0 · 134 bytes · __thiscall

_ZN15CNetPropManagerD2Ev

Decompiled

undefined (1 param)

/* CNetPropManager::~CNetPropManager() */

void __thiscall CNetPropManager::~CNetPropManager(CNetPropManager *this)

{
  int iVar1;
  
  CUtlDict<CUtlDict<CNetPropManager::PropInfo_t,int>*,int>::PurgeAndDeleteElements
            ((CUtlDict<CUtlDict<CNetPropManager::PropInfo_t,int>*,int> *)this);
  for (iVar1 = CUtlRBTree<CUtlMap<char_const*,CUtlDict<CNetPropManager::PropInfo_t,int>*,int>::Node_t,int,CUtlMap<char_const*,CUtlDict<CNetPropManager::PropInfo_t,int>*,int>::CKeyLess,CUtlMemory<UtlRBTreeNode_t<CUtlMap<char_const*,CUtlDict<CNetPropManager::PropInfo_t,int>*,int>::Node_t,int>,int>>
               ::FirstInorder((CUtlRBTree<CUtlMap<char_const*,CUtlDict<CNetPropManager::PropInfo_t,int>*,int>::Node_t,int,CUtlMap<char_const*,CUtlDict<CNetPropManager::PropInfo_t,int>*,int>::CKeyLess,CUtlMemory<UtlRBTreeNode_t<CUtlMap<char_const*,CUtlDict<CNetPropManager::PropInfo_t,int>*,int>::Node_t,int>,int>>
                               *)this); iVar1 != -1;
      iVar1 = CUtlRBTree<CUtlMap<char_const*,CUtlDict<CNetPropManager::PropInfo_t,int>*,int>::Node_t,int,CUtlMap<char_const*,CUtlDict<CNetPropManager::PropInfo_t,int>*,int>::CKeyLess,CUtlMemory<UtlRBTreeNode_t<CUtlMap<char_const*,CUtlDict<CNetPropManager::PropInfo_t,int>*,int>::Node_t,int>,int>>
              ::NextInorder((CUtlRBTree<CUtlMap<char_const*,CUtlDict<CNetPropManager::PropInfo_t,int>*,int>::Node_t,int,CUtlMap<char_const*,CUtlDict<CNetPropManager::PropInfo_t,int>*,int>::CKeyLess,CUtlMemory<UtlRBTreeNode_t<CUtlMap<char_const*,CUtlDict<CNetPropManager::PropInfo_t,int>*,int>::Node_t,int>,int>>
                             *)this,iVar1)) {
    free(*(void **)(*(int *)(this + 4) + iVar1 * 0x18 + 0x10));
  }
  CUtlRBTree<CUtlMap<char_const*,CUtlDict<CNetPropManager::PropInfo_t,int>*,int>::Node_t,int,CUtlMap<char_const*,CUtlDict<CNetPropManager::PropInfo_t,int>*,int>::CKeyLess,CUtlMemory<UtlRBTreeNode_t<CUtlMap<char_const*,CUtlDict<CNetPropManager::PropInfo_t,int>*,int>::Node_t,int>,int>>
  ::RemoveAll((CUtlRBTree<CUtlMap<char_const*,CUtlDict<CNetPropManager::PropInfo_t,int>*,int>::Node_t,int,CUtlMap<char_const*,CUtlDict<CNetPropManager::PropInfo_t,int>*,int>::CKeyLess,CUtlMemory<UtlRBTreeNode_t<CUtlMap<char_const*,CUtlDict<CNetPropManager::PropInfo_t,int>*,int>::Node_t,int>,int>>
               *)this);
  CUtlRBTree<CUtlMap<char_const*,CUtlDict<CNetPropManager::PropInfo_t,int>*,int>::Node_t,int,CUtlMap<char_const*,CUtlDict<CNetPropManager::PropInfo_t,int>*,int>::CKeyLess,CUtlMemory<UtlRBTreeNode_t<CUtlMap<char_const*,CUtlDict<CNetPropManager::PropInfo_t,int>*,int>::Node_t,int>,int>>
  ::RemoveAll((CUtlRBTree<CUtlMap<char_const*,CUtlDict<CNetPropManager::PropInfo_t,int>*,int>::Node_t,int,CUtlMap<char_const*,CUtlDict<CNetPropManager::PropInfo_t,int>*,int>::CKeyLess,CUtlMemory<UtlRBTreeNode_t<CUtlMap<char_const*,CUtlDict<CNetPropManager::PropInfo_t,int>*,int>::Node_t,int>,int>>
               *)this);
  *(undefined4 *)(this + 0x18) = 0xffffffff;
  CUtlMemory<UtlRBTreeNode_t<CUtlMap<char_const*,CUtlDict<CNetPropManager::PropInfo_t,int>*,int>::Node_t,int>,int>
  ::Purge((CUtlMemory<UtlRBTreeNode_t<CUtlMap<char_const*,CUtlDict<CNetPropManager::PropInfo_t,int>*,int>::Node_t,int>,int>
           *)(this + 4));
  *(undefined4 *)(this + 0x1c) = 0xffffffff;
  CUtlMemory<UtlRBTreeNode_t<CUtlMap<char_const*,CUtlDict<CNetPropManager::PropInfo_t,int>*,int>::Node_t,int>,int>
  ::Purge((CUtlMemory<UtlRBTreeNode_t<CUtlMap<char_const*,CUtlDict<CNetPropManager::PropInfo_t,int>*,int>::Node_t,int>,int>
           *)(this + 4));
  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)