L L4D2node

CPhysSaveRestoreBlockHandler::~CPhysSaveRestoreBlockHandler

0x00483c80 · 270 bytes · __thiscall

_ZN28CPhysSaveRestoreBlockHandlerD2Ev

Decompiled

undefined (1 param)

/* CPhysSaveRestoreBlockHandler::~CPhysSaveRestoreBlockHandler() */

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

{
  *(undefined ***)this = &PTR_GetBlockName_00c188e8;
  *(undefined ***)(this + 4) = &PTR_NoteBBox_00c18930;
  *(undefined **)(this + 8) = &DAT_00c1894c;
  CUtlRBTree<CUtlMap<CPhysCollide_const*,BBox_t,unsigned_short>::Node_t,unsigned_short,CUtlMap<CPhysCollide_const*,BBox_t,unsigned_short>::CKeyLess,CUtlMemory<UtlRBTreeNode_t<CUtlMap<CPhysCollide_const*,BBox_t,unsigned_short>::Node_t,unsigned_short>,unsigned_short>>
  ::RemoveAll((CUtlRBTree<CUtlMap<CPhysCollide_const*,BBox_t,unsigned_short>::Node_t,unsigned_short,CUtlMap<CPhysCollide_const*,BBox_t,unsigned_short>::CKeyLess,CUtlMemory<UtlRBTreeNode_t<CUtlMap<CPhysCollide_const*,BBox_t,unsigned_short>::Node_t,unsigned_short>,unsigned_short>>
               *)(this + 0x7c));
  *(undefined2 *)(this + 0x90) = 0xffff;
  CUtlMemory<UtlRBTreeNode_t<CUtlMap<CPhysCollide_const*,BBox_t,unsigned_short>::Node_t,unsigned_short>,unsigned_short>
  ::Purge((CUtlMemory<UtlRBTreeNode_t<CUtlMap<CPhysCollide_const*,BBox_t,unsigned_short>::Node_t,unsigned_short>,unsigned_short>
           *)(this + 0x80));
  *(undefined2 *)(this + 0x92) = 0xffff;
  CUtlMemory<UtlRBTreeNode_t<CUtlMap<CPhysCollide_const*,BBox_t,unsigned_short>::Node_t,unsigned_short>,unsigned_short>
  ::Purge((CUtlMemory<UtlRBTreeNode_t<CUtlMap<CPhysCollide_const*,BBox_t,unsigned_short>::Node_t,unsigned_short>,unsigned_short>
           *)(this + 0x80));
  CUtlRBTree<CUtlMap<IPhysicsObject*,CPhysCollide_const*,unsigned_short>::Node_t,unsigned_short,CUtlMap<IPhysicsObject*,CPhysCollide_const*,unsigned_short>::CKeyLess,CUtlMemory<UtlRBTreeNode_t<CUtlMap<IPhysicsObject*,CPhysCollide_const*,unsigned_short>::Node_t,unsigned_short>,unsigned_short>>
  ::RemoveAll((CUtlRBTree<CUtlMap<IPhysicsObject*,CPhysCollide_const*,unsigned_short>::Node_t,unsigned_short,CUtlMap<IPhysicsObject*,CPhysCollide_const*,unsigned_short>::CKeyLess,CUtlMemory<UtlRBTreeNode_t<CUtlMap<IPhysicsObject*,CPhysCollide_const*,unsigned_short>::Node_t,unsigned_short>,unsigned_short>>
               *)(this + 0x60));
  *(undefined2 *)(this + 0x74) = 0xffff;
  CUtlMemory<UtlRBTreeNode_t<CUtlMap<IPhysicsObject*,CPhysCollide_const*,unsigned_short>::Node_t,unsigned_short>,unsigned_short>
  ::Purge((CUtlMemory<UtlRBTreeNode_t<CUtlMap<IPhysicsObject*,CPhysCollide_const*,unsigned_short>::Node_t,unsigned_short>,unsigned_short>
           *)(this + 100));
  *(undefined2 *)(this + 0x76) = 0xffff;
  CUtlMemory<UtlRBTreeNode_t<CUtlMap<IPhysicsObject*,CPhysCollide_const*,unsigned_short>::Node_t,unsigned_short>,unsigned_short>
  ::Purge((CUtlMemory<UtlRBTreeNode_t<CUtlMap<IPhysicsObject*,CPhysCollide_const*,unsigned_short>::Node_t,unsigned_short>,unsigned_short>
           *)(this + 100));
  CUtlRBTree<CUtlMap<IPhysicsObject*,int,unsigned_short>::Node_t,unsigned_short,CUtlMap<IPhysicsObject*,int,unsigned_short>::CKeyLess,CUtlMemory<UtlRBTreeNode_t<CUtlMap<IPhysicsObject*,int,unsigned_short>::Node_t,unsigned_short>,unsigned_short>>
  ::RemoveAll((CUtlRBTree<CUtlMap<IPhysicsObject*,int,unsigned_short>::Node_t,unsigned_short,CUtlMap<IPhysicsObject*,int,unsigned_short>::CKeyLess,CUtlMemory<UtlRBTreeNode_t<CUtlMap<IPhysicsObject*,int,unsigned_short>::Node_t,unsigned_short>,unsigned_short>>
               *)(this + 0x44));
  *(undefined2 *)(this + 0x58) = 0xffff;
  CUtlMemory<UtlRBTreeNode_t<CUtlMap<IPhysicsObject*,int,unsigned_short>::Node_t,unsigned_short>,unsigned_short>
  ::Purge((CUtlMemory<UtlRBTreeNode_t<CUtlMap<IPhysicsObject*,int,unsigned_short>::Node_t,unsigned_short>,unsigned_short>
           *)(this + 0x48));
  *(undefined2 *)(this + 0x5a) = 0xffff;
  CUtlMemory<UtlRBTreeNode_t<CUtlMap<IPhysicsObject*,int,unsigned_short>::Node_t,unsigned_short>,unsigned_short>
  ::Purge((CUtlMemory<UtlRBTreeNode_t<CUtlMap<IPhysicsObject*,int,unsigned_short>::Node_t,unsigned_short>,unsigned_short>
           *)(this + 0x48));
  CUtlRBTree<CUtlMap<CBaseEntity*,CPhysSaveRestoreBlockHandler::CEntityRestoreSet*,unsigned_short>::Node_t,unsigned_short,CUtlMap<CBaseEntity*,CPhysSaveRestoreBlockHandler::CEntityRestoreSet*,unsigned_short>::CKeyLess,CUtlMemory<UtlRBTreeNode_t<CUtlMap<CBaseEntity*,CPhysSaveRestoreBlockHandler::CEntityRestoreSet*,unsigned_short>::Node_t,unsigned_short>,unsigned_short>>
  ::RemoveAll((CUtlRBTree<CUtlMap<CBaseEntity*,CPhysSaveRestoreBlockHandler::CEntityRestoreSet*,unsigned_short>::Node_t,unsigned_short,CUtlMap<CBaseEntity*,CPhysSaveRestoreBlockHandler::CEntityRestoreSet*,unsigned_short>::CKeyLess,CUtlMemory<UtlRBTreeNode_t<CUtlMap<CBaseEntity*,CPhysSaveRestoreBlockHandler::CEntityRestoreSet*,unsigned_short>::Node_t,unsigned_short>,unsigned_short>>
               *)(this + 0x24));
  *(undefined2 *)(this + 0x38) = 0xffff;
  CUtlMemory<UtlRBTreeNode_t<CUtlMap<CBaseEntity*,CPhysSaveRestoreBlockHandler::CEntityRestoreSet*,unsigned_short>::Node_t,unsigned_short>,unsigned_short>
  ::Purge((CUtlMemory<UtlRBTreeNode_t<CUtlMap<CBaseEntity*,CPhysSaveRestoreBlockHandler::CEntityRestoreSet*,unsigned_short>::Node_t,unsigned_short>,unsigned_short>
           *)(this + 0x28));
  *(undefined2 *)(this + 0x3a) = 0xffff;
  CUtlMemory<UtlRBTreeNode_t<CUtlMap<CBaseEntity*,CPhysSaveRestoreBlockHandler::CEntityRestoreSet*,unsigned_short>::Node_t,unsigned_short>,unsigned_short>
  ::Purge((CUtlMemory<UtlRBTreeNode_t<CUtlMap<CBaseEntity*,CPhysSaveRestoreBlockHandler::CEntityRestoreSet*,unsigned_short>::Node_t,unsigned_short>,unsigned_short>
           *)(this + 0x28));
  *(undefined4 *)(this + 0x18) = 0;
  CUtlMemory<CPhysSaveRestoreBlockHandler::QueuedItem_t,int>::Purge
            ((CUtlMemory<CPhysSaveRestoreBlockHandler::QueuedItem_t,int> *)(this + 0xc));
  *(undefined4 *)(this + 0x1c) = *(undefined4 *)(this + 0xc);
  CUtlMemory<CPhysSaveRestoreBlockHandler::QueuedItem_t,int>::Purge
            ((CUtlMemory<CPhysSaveRestoreBlockHandler::QueuedItem_t,int> *)(this + 0xc));
  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)