L L4D2node

CPropHealthCabinet::~CPropHealthCabinet

0x004efdc0 · 372 bytes · __thiscall

_ZN18CPropHealthCabinetD0Ev

Decompiled

undefined (1 param)

/* CPropHealthCabinet::~CPropHealthCabinet() */

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

{
  void *in_stack_00000008;
  
  *(undefined ***)this = &PTR__CPropHealthCabinet_00c272c8;
  *(undefined ***)(this + 0x13f4) = &PTR_SetDmgModBullet_00c27748;
  *(undefined ***)(this + 0x13f8) = &PTR_OnAttemptPhysGunPickup_00c277ec;
  *(undefined **)(this + 0x154c) = &DAT_00c2781c;
  *(undefined ***)(this + 0x15cc) = &PTR__CGameEventListener_00bfb6e8;
  *(undefined4 *)(this + 0x15d0) = 0xd;
  if (this[0x15d4] != (CPropHealthCabinet)0x0) {
    if (gameeventmanager != (int *)0x0) {
      (**(code **)(*gameeventmanager + 0x18))(gameeventmanager,this + 0x15cc);
    }
    this[0x15d4] = (CPropHealthCabinet)0x0;
  }
  *(undefined ***)this = &PTR__CDynamicProp_00cc3888;
  *(undefined ***)(this + 0x15cc) = &PTR__IGameEventListener2_00bfb610;
  *(undefined ***)(this + 0x13f4) = &PTR_SetDmgModBullet_00cc3d04;
  *(undefined ***)(this + 0x13f8) = &PTR_OnAttemptPhysGunPickup_00cc3da8;
  *(undefined **)(this + 0x154c) = &DAT_00cc3dd8;
  CBoneFollowerManager::~CBoneFollowerManager((CBoneFollowerManager *)(this + 0x15a4));
  CBaseEntityOutput::~CBaseEntityOutput((CBaseEntityOutput *)(this + 0x1568));
  CBaseEntityOutput::~CBaseEntityOutput((CBaseEntityOutput *)(this + 0x1550));
  *(undefined ***)(this + 0x154c) = &PTR__IWatcherCallback_00c27270;
  *(undefined ***)this = &PTR__CBreakableProp_00cc3308;
  *(undefined ***)(this + 0x13f4) = &PTR_SetDmgModBullet_00cc3780;
  *(undefined ***)(this + 0x13f8) = &PTR_OnAttemptPhysGunPickup_00cc3824;
  CBaseEntityOutput::~CBaseEntityOutput((CBaseEntityOutput *)(this + 0x1510));
  CBaseEntityOutput::~CBaseEntityOutput((CBaseEntityOutput *)(this + 0x14f8));
  CBaseEntityOutput::~CBaseEntityOutput((CBaseEntityOutput *)(this + 0x14e0));
  CBaseEntityOutput::~CBaseEntityOutput((CBaseEntityOutput *)(this + 0x14c8));
  CBaseEntityOutput::~CBaseEntityOutput((CBaseEntityOutput *)(this + 0x14b0));
  CBaseEntityOutput::~CBaseEntityOutput((CBaseEntityOutput *)(this + 0x142c));
  CBaseEntityOutput::~CBaseEntityOutput((CBaseEntityOutput *)(this + 0x1414));
  CBaseEntityOutput::~CBaseEntityOutput((CBaseEntityOutput *)(this + 0x13fc));
  *(undefined ***)this = &PTR__CBaseProp_00cc2be8;
  CBaseAnimating::~CBaseAnimating((CBaseAnimating *)this);
  CBaseEntity::operator_delete((CBaseEntity *)this,in_stack_00000008);
  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)