CBSPTreeData::~CBSPTreeData
0x000bbac0 · 126 bytes · __thiscall
_ZN12CBSPTreeDataD2Ev
Decompiled
undefined (1 param)
/* CBSPTreeData::~CBSPTreeData() */
void __thiscall CBSPTreeData::~CBSPTreeData(CBSPTreeData *this)
{
*(undefined ***)this = &PTR__CBSPTreeData_002a26e8;
*(undefined **)(this + 4) = &DAT_002a2728;
CUtlLinkedList<CBSPTreeData::HandleInLeaf_t,unsigned_short,true,unsigned_short,CUtlMemory<UtlLinkedListElem_t<CBSPTreeData::HandleInLeaf_t,unsigned_short>,unsigned_short>>
::RemoveAll((CUtlLinkedList<CBSPTreeData::HandleInLeaf_t,unsigned_short,true,unsigned_short,CUtlMemory<UtlLinkedListElem_t<CBSPTreeData::HandleInLeaf_t,unsigned_short>,unsigned_short>>
*)(this + 0x54));
CUtlMemory<UtlLinkedListElem_t<CBSPTreeData::HandleInLeaf_t,unsigned_short>,unsigned_short>::Purge
((CUtlMemory<UtlLinkedListElem_t<CBSPTreeData::HandleInLeaf_t,unsigned_short>,unsigned_short>
*)(this + 0x54));
CUtlLinkedList<unsigned_short,unsigned_short,true,unsigned_short,CUtlMemory<UtlLinkedListElem_t<unsigned_short,unsigned_short>,unsigned_short>>
::RemoveAll((CUtlLinkedList<unsigned_short,unsigned_short,true,unsigned_short,CUtlMemory<UtlLinkedListElem_t<unsigned_short,unsigned_short>,unsigned_short>>
*)(this + 0x38));
CUtlMemory<UtlLinkedListElem_t<unsigned_short,unsigned_short>,unsigned_short>::Purge
((CUtlMemory<UtlLinkedListElem_t<unsigned_short,unsigned_short>,unsigned_short> *)
(this + 0x38));
CUtlLinkedList<CBSPTreeData::HandleInfo_t,unsigned_short,false,unsigned_short,CUtlMemory<UtlLinkedListElem_t<CBSPTreeData::HandleInfo_t,unsigned_short>,unsigned_short>>
::RemoveAll((CUtlLinkedList<CBSPTreeData::HandleInfo_t,unsigned_short,false,unsigned_short,CUtlMemory<UtlLinkedListElem_t<CBSPTreeData::HandleInfo_t,unsigned_short>,unsigned_short>>
*)(this + 0x1c));
CUtlMemory<UtlLinkedListElem_t<CBSPTreeData::HandleInfo_t,unsigned_short>,unsigned_short>::Purge
((CUtlMemory<UtlLinkedListElem_t<CBSPTreeData::HandleInfo_t,unsigned_short>,unsigned_short>
*)(this + 0x1c));
*(undefined4 *)(this + 0x14) = 0;
CUtlMemory<CBSPTreeData::Leaf_t,int>::Purge((CUtlMemory<CBSPTreeData::Leaf_t,int> *)(this + 8));
*(undefined4 *)(this + 0x18) = *(undefined4 *)(this + 8);
CUtlMemory<CBSPTreeData::Leaf_t,int>::Purge((CUtlMemory<CBSPTreeData::Leaf_t,int> *)(this + 8));
*(undefined ***)this = &PTR__IBSPTreeData_002a26a8;
return;
}
SourceMod gamedata
paste intoaddons/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.
Signatures + Functions block. The plugin uses
DHookCreateFromConf - DHooks reads return type, this-type,
calling convention, and argument types straight from the gamedata. Less
boilerplate in the plugin, types travel with the gamedata.
Gamedata KeyValues
DHooks plugin example
Type inference is best-effort from the C signature - sanity-check the DHooks types before shipping.