L L4D2node

CSceneEntity::~CSceneEntity

0x008173a0 · 517 bytes · __thiscall

_ZN12CSceneEntityD1Ev

Decompiled

undefined (1 param)

/* CSceneEntity::~CSceneEntity() */

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

{
  int *piVar1;
  
  piVar1 = *(int **)(this + 0x710);
  *(undefined ***)this = &PTR__CSceneEntity_00ccc868;
  *(undefined ***)(this + 0x440) = &PTR_StartEvent_00cccc60;
  if (piVar1 != (int *)0x0) {
    (**(code **)(*piVar1 + 4))(piVar1);
  }
  *(undefined4 *)(this + 0x710) = 0;
  *(undefined4 *)(this + 0x6f0) = 0;
  CUtlMemory<CHandle<CSceneListManager>,int>::Purge
            ((CUtlMemory<CHandle<CSceneListManager>,int> *)(this + 0x6e4));
  *(undefined4 *)(this + 0x6f4) = *(undefined4 *)(this + 0x6e4);
  CUtlMemory<CHandle<CSceneListManager>,int>::Purge
            ((CUtlMemory<CHandle<CSceneListManager>,int> *)(this + 0x6e4));
  *(undefined4 *)(this + 0x6dc) = 0;
  CUtlMemory<CHandle<CSceneEntity>,int>::Purge
            ((CUtlMemory<CHandle<CSceneEntity>,int> *)(this + 0x6d0));
  *(undefined4 *)(this + 0x6e0) = *(undefined4 *)(this + 0x6d0);
  CUtlMemory<CHandle<CSceneEntity>,int>::Purge
            ((CUtlMemory<CHandle<CSceneEntity>,int> *)(this + 0x6d0));
  CBaseEntityOutput::~CBaseEntityOutput((CBaseEntityOutput *)(this + 0x6a8));
  CBaseEntityOutput::~CBaseEntityOutput((CBaseEntityOutput *)(this + 0x690));
  CBaseEntityOutput::~CBaseEntityOutput((CBaseEntityOutput *)(this + 0x678));
  CBaseEntityOutput::~CBaseEntityOutput((CBaseEntityOutput *)(this + 0x660));
  CBaseEntityOutput::~CBaseEntityOutput((CBaseEntityOutput *)(this + 0x648));
  CBaseEntityOutput::~CBaseEntityOutput((CBaseEntityOutput *)(this + 0x630));
  CBaseEntityOutput::~CBaseEntityOutput((CBaseEntityOutput *)(this + 0x618));
  CBaseEntityOutput::~CBaseEntityOutput((CBaseEntityOutput *)(this + 0x600));
  CBaseEntityOutput::~CBaseEntityOutput((CBaseEntityOutput *)(this + 0x5e8));
  CBaseEntityOutput::~CBaseEntityOutput((CBaseEntityOutput *)(this + 0x5d0));
  CBaseEntityOutput::~CBaseEntityOutput((CBaseEntityOutput *)(this + 0x5b8));
  CBaseEntityOutput::~CBaseEntityOutput((CBaseEntityOutput *)(this + 0x5a0));
  CBaseEntityOutput::~CBaseEntityOutput((CBaseEntityOutput *)(this + 0x588));
  CBaseEntityOutput::~CBaseEntityOutput((CBaseEntityOutput *)(this + 0x570));
  CBaseEntityOutput::~CBaseEntityOutput((CBaseEntityOutput *)(this + 0x558));
  CBaseEntityOutput::~CBaseEntityOutput((CBaseEntityOutput *)(this + 0x540));
  CBaseEntityOutput::~CBaseEntityOutput((CBaseEntityOutput *)(this + 0x528));
  CBaseEntityOutput::~CBaseEntityOutput((CBaseEntityOutput *)(this + 0x510));
  CBaseEntityOutput::~CBaseEntityOutput((CBaseEntityOutput *)(this + 0x4f8));
  *(undefined4 *)(this + 0x4e4) = 0;
  CUtlMemory<CHandle<CBaseEntity>,int>::Purge
            ((CUtlMemory<CHandle<CBaseEntity>,int> *)(this + 0x4d8));
  *(undefined4 *)(this + 0x4e8) = *(undefined4 *)(this + 0x4d8);
  CUtlMemory<CHandle<CBaseEntity>,int>::Purge
            ((CUtlMemory<CHandle<CBaseEntity>,int> *)(this + 0x4d8));
  *(undefined4 *)(this + 0x4d0) = 0;
  CUtlMemory<CHandle<CBaseFlex>,int>::Purge((CUtlMemory<CHandle<CBaseFlex>,int> *)(this + 0x4c4));
  *(undefined4 *)(this + 0x4d4) = *(undefined4 *)(this + 0x4c4);
  CUtlMemory<CHandle<CBaseFlex>,int>::Purge((CUtlMemory<CHandle<CBaseFlex>,int> *)(this + 0x4c4));
  *(undefined ***)this = &PTR__CPointEntity_00cd35a8;
  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)