L L4D2node

COcclusionSystem::~COcclusionSystem

0x001cee00 · 375 bytes · __thiscall

_ZN16COcclusionSystemD2Ev

Decompiled

undefined (1 param)

/* COcclusionSystem::~COcclusionSystem() */

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

{
  *(undefined ***)this = &PTR_ActivateOccluder_002bd828;
  *(undefined4 *)(this + 0x2ac) = 0;
  CUtlMemory<Vector,int>::Purge((CUtlMemory<Vector,int> *)(this + 0x2a0));
  *(undefined4 *)(this + 0x2b0) = *(undefined4 *)(this + 0x2a0);
  CUtlMemory<Vector,int>::Purge((CUtlMemory<Vector,int> *)(this + 0x2a0));
  *(undefined4 *)(this + 0x298) = 0;
  CUtlMemory<CWingedEdgeList::Surface_t,int>::Purge
            ((CUtlMemory<CWingedEdgeList::Surface_t,int> *)(this + 0x28c));
  *(undefined4 *)(this + 0x29c) = *(undefined4 *)(this + 0x28c);
  CUtlMemory<CWingedEdgeList::Surface_t,int>::Purge
            ((CUtlMemory<CWingedEdgeList::Surface_t,int> *)(this + 0x28c));
  *(undefined4 *)(this + 0x284) = 0;
  CUtlMemory<CWingedEdgeList::WingedEdge_t,int>::Purge
            ((CUtlMemory<CWingedEdgeList::WingedEdge_t,int> *)(this + 0x278));
  *(undefined4 *)(this + 0x288) = *(undefined4 *)(this + 0x278);
  CUtlMemory<CWingedEdgeList::WingedEdge_t,int>::Purge
            ((CUtlMemory<CWingedEdgeList::WingedEdge_t,int> *)(this + 0x278));
  *(undefined4 *)(this + 0x184) = 0;
  CUtlMemory<int,int>::Purge((CUtlMemory<int,int> *)(this + 0x178));
  *(undefined4 *)(this + 0x188) = *(undefined4 *)(this + 0x178);
  CUtlMemory<int,int>::Purge((CUtlMemory<int,int> *)(this + 0x178));
  *(undefined4 *)(this + 0x170) = 0;
  CUtlMemory<CEdgeList::Surface_t,int>::Purge
            ((CUtlMemory<CEdgeList::Surface_t,int> *)(this + 0x164));
  *(undefined4 *)(this + 0x174) = *(undefined4 *)(this + 0x164);
  CUtlMemory<CEdgeList::Surface_t,int>::Purge
            ((CUtlMemory<CEdgeList::Surface_t,int> *)(this + 0x164));
  *(undefined4 *)(this + 0xfc) = 0;
  CUtlMemory<unsigned_short,int>::Purge((CUtlMemory<unsigned_short,int> *)(this + 0xf0));
  *(undefined4 *)(this + 0x100) = *(undefined4 *)(this + 0xf0);
  CUtlMemory<unsigned_short,int>::Purge((CUtlMemory<unsigned_short,int> *)(this + 0xf0));
  *(undefined4 *)(this + 0xe0) = 0;
  CUtlMemory<unsigned_short,int>::Purge((CUtlMemory<unsigned_short,int> *)(this + 0xd4));
  *(undefined4 *)(this + 0xe4) = *(undefined4 *)(this + 0xd4);
  CUtlMemory<unsigned_short,int>::Purge((CUtlMemory<unsigned_short,int> *)(this + 0xd4));
  *(undefined4 *)(this + 0xcc) = 0;
  CUtlMemory<CEdgeList::Edge_t,int>::Purge((CUtlMemory<CEdgeList::Edge_t,int> *)(this + 0xc0));
  *(undefined4 *)(this + 0xd0) = *(undefined4 *)(this + 0xc0);
  CUtlMemory<CEdgeList::Edge_t,int>::Purge((CUtlMemory<CEdgeList::Edge_t,int> *)(this + 0xc0));
  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)