L L4D2node

CSmokeCloudSystem::~CSmokeCloudSystem

0x009093c0 · 131 bytes · __thiscall

_ZN17CSmokeCloudSystemD1Ev

Decompiled

undefined (1 param)

/* CSmokeCloudSystem::~CSmokeCloudSystem() */

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

{
  *(undefined ***)this = &PTR_Name_00cffa08;
  *(undefined ***)(this + 0xc) = &PTR__CSmokeCloudSystem_00cffa58;
  *(undefined4 *)(this + 0x30) = 0;
  CUtlMemory<CSmokeCloudSystem::SmokeCloudType,int>::Purge
            ((CUtlMemory<CSmokeCloudSystem::SmokeCloudType,int> *)(this + 0x24));
  *(undefined4 *)(this + 0x34) = *(undefined4 *)(this + 0x24);
  CUtlMemory<CSmokeCloudSystem::SmokeCloudType,int>::Purge
            ((CUtlMemory<CSmokeCloudSystem::SmokeCloudType,int> *)(this + 0x24));
  *(undefined ***)(this + 0xc) = &PTR__CGameEventListener_00bfb6e8;
  *(undefined4 *)(this + 0x10) = 0xd;
  if (this[0x14] != (CSmokeCloudSystem)0x0) {
    if (gameeventmanager != (int *)0x0) {
      (**(code **)(*gameeventmanager + 0x18))(gameeventmanager,this + 0xc);
    }
    this[0x14] = (CSmokeCloudSystem)0x0;
  }
  *(undefined ***)(this + 0xc) = &PTR__IGameEventListener2_00bfb610;
  *(undefined ***)this = &PTR_Name_00bfb628;
  IGameSystemPerFrame::~IGameSystemPerFrame((IGameSystemPerFrame *)this);
  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)