L L4D2node

ZombieManager::~ZombieManager

0x00a5c910 · 298 bytes · __thiscall

_ZN13ZombieManagerD2Ev

Decompiled

undefined (1 param)

/* ZombieManager::~ZombieManager() */

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

{
  CUtlMemory<CNavArea*,int> *this_00;
  CUtlMemory<CNavArea*,int> *pCVar1;
  
  *(undefined ***)this = &PTR__ZombieManager_00d2a9f8;
  *(undefined4 *)(this + 0x270) = 0;
  CUtlMemory<CNavArea*,int>::Purge((CUtlMemory<CNavArea*,int> *)(this + 0x264));
  *(undefined4 *)(this + 0x274) = *(undefined4 *)(this + 0x264);
  CUtlMemory<CNavArea*,int>::Purge((CUtlMemory<CNavArea*,int> *)(this + 0x264));
  *(undefined4 *)(this + 0x25c) = 0;
  CUtlMemory<CNavArea*,int>::Purge((CUtlMemory<CNavArea*,int> *)(this + 0x250));
  *(undefined4 *)(this + 0x260) = *(undefined4 *)(this + 0x250);
  CUtlMemory<CNavArea*,int>::Purge((CUtlMemory<CNavArea*,int> *)(this + 0x250));
  *(undefined4 *)(this + 0x248) = 0;
  CUtlMemory<CNavArea*,int>::Purge((CUtlMemory<CNavArea*,int> *)(this + 0x23c));
  *(undefined4 *)(this + 0x24c) = *(undefined4 *)(this + 0x23c);
  CUtlMemory<CNavArea*,int>::Purge((CUtlMemory<CNavArea*,int> *)(this + 0x23c));
  *(undefined4 *)(this + 0x1f0) = 0;
  CUtlMemory<ZombieManager::MobSpawnArea_t,int>::Purge
            ((CUtlMemory<ZombieManager::MobSpawnArea_t,int> *)(this + 0x1e4));
  *(undefined4 *)(this + 500) = *(undefined4 *)(this + 0x1e4);
  CUtlMemory<ZombieManager::MobSpawnArea_t,int>::Purge
            ((CUtlMemory<ZombieManager::MobSpawnArea_t,int> *)(this + 0x1e4));
  *(undefined4 *)(this + 0x1dc) = 0;
  CUtlMemory<TerrorNavArea*,int>::Purge((CUtlMemory<TerrorNavArea*,int> *)(this + 0x1d0));
  *(undefined4 *)(this + 0x1e0) = *(undefined4 *)(this + 0x1d0);
  CUtlMemory<TerrorNavArea*,int>::Purge((CUtlMemory<TerrorNavArea*,int> *)(this + 0x1d0));
  pCVar1 = (CUtlMemory<CNavArea*,int> *)(this + 0x14c);
  do {
    this_00 = pCVar1 + -0x14;
    *(undefined4 *)(pCVar1 + -8) = 0;
    CUtlMemory<CNavArea*,int>::Purge(this_00);
    *(undefined4 *)(pCVar1 + -4) = *(undefined4 *)this_00;
    CUtlMemory<CNavArea*,int>::Purge(this_00);
    pCVar1 = this_00;
  } while ((CUtlMemory<CNavArea*,int> *)(this + 0x70) != this_00);
  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)