L L4D2node

CBaseDoor::~CBaseDoor

0x00666870 · 244 bytes · __thiscall

_ZN9CBaseDoorD1Ev

Decompiled

undefined (1 param)

/* CBaseDoor::~CBaseDoor() */

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

{
  *(undefined ***)this = &PTR__CBaseDoor_00c6ff48;
  *(undefined ***)(this + 0x4b8) = &PTR__CBaseDoor_00c70288;
  CBaseEntityOutput::~CBaseEntityOutput((CBaseEntityOutput *)(this + 0x5e0));
  CBaseEntityOutput::~CBaseEntityOutput((CBaseEntityOutput *)(this + 0x5c8));
  CBaseEntityOutput::~CBaseEntityOutput((CBaseEntityOutput *)(this + 0x5b0));
  CBaseEntityOutput::~CBaseEntityOutput((CBaseEntityOutput *)(this + 0x598));
  CBaseEntityOutput::~CBaseEntityOutput((CBaseEntityOutput *)(this + 0x580));
  CBaseEntityOutput::~CBaseEntityOutput((CBaseEntityOutput *)(this + 0x568));
  CBaseEntityOutput::~CBaseEntityOutput((CBaseEntityOutput *)(this + 0x550));
  CBaseEntityOutput::~CBaseEntityOutput((CBaseEntityOutput *)(this + 0x538));
  CBaseEntityOutput::~CBaseEntityOutput((CBaseEntityOutput *)(this + 0x520));
  *(undefined ***)(this + 0x4b8) = &PTR__CGameEventListener_00bfb6e8;
  *(undefined4 *)(this + 0x4bc) = 0xd;
  if (this[0x4c0] != (CBaseDoor)0x0) {
    if (gameeventmanager != (int *)0x0) {
      (**(code **)(*gameeventmanager + 0x18))(gameeventmanager,this + 0x4b8);
    }
    this[0x4c0] = (CBaseDoor)0x0;
  }
  *(undefined ***)(this + 0x4b8) = &PTR__IGameEventListener2_00bfb610;
  *(undefined ***)this = &PTR__CBaseToggle_00cd3f88;
  CBaseEntity::~CBaseEntity((CBaseEntity *)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)