CSendTablePrecalc::~CSendTablePrecalc
0x00142770 · 491 bytes · __thiscall
_ZN17CSendTablePrecalcD1Ev
Decompiled
undefined (1 param)
/* CSendTablePrecalc::~CSendTablePrecalc() */
void __thiscall CSendTablePrecalc::~CSendTablePrecalc(CSendTablePrecalc *this)
{
*(undefined ***)this = &PTR__CSendTablePrecalc_002ad608;
if (*(int *)(this + 0x8c) != 0) {
*(undefined4 *)(*(int *)(this + 0x8c) + 0xc) = 0;
}
CUtlRBTree<CUtlMap<unsigned_short,unsigned_short,unsigned_short>::Node_t,unsigned_short,CUtlMap<unsigned_short,unsigned_short,unsigned_short>::CKeyLess,CUtlMemory<UtlRBTreeNode_t<CUtlMap<unsigned_short,unsigned_short,unsigned_short>::Node_t,unsigned_short>,unsigned_short>>
::RemoveAll((CUtlRBTree<CUtlMap<unsigned_short,unsigned_short,unsigned_short>::Node_t,unsigned_short,CUtlMap<unsigned_short,unsigned_short,unsigned_short>::CKeyLess,CUtlMemory<UtlRBTreeNode_t<CUtlMap<unsigned_short,unsigned_short,unsigned_short>::Node_t,unsigned_short>,unsigned_short>>
*)(this + 0xfc));
*(undefined2 *)(this + 0x110) = 0xffff;
CUtlMemory<UtlRBTreeNode_t<CUtlMap<unsigned_short,unsigned_short,unsigned_short>::Node_t,unsigned_short>,unsigned_short>
::Purge((CUtlMemory<UtlRBTreeNode_t<CUtlMap<unsigned_short,unsigned_short,unsigned_short>::Node_t,unsigned_short>,unsigned_short>
*)(this + 0x100));
*(undefined2 *)(this + 0x112) = 0xffff;
CUtlMemory<UtlRBTreeNode_t<CUtlMap<unsigned_short,unsigned_short,unsigned_short>::Node_t,unsigned_short>,unsigned_short>
::Purge((CUtlMemory<UtlRBTreeNode_t<CUtlMap<unsigned_short,unsigned_short,unsigned_short>::Node_t,unsigned_short>,unsigned_short>
*)(this + 0x100));
*(undefined4 *)(this + 0xf0) = 0;
CUtlMemory<CFastLocalTransferPropInfo,int>::Purge
((CUtlMemory<CFastLocalTransferPropInfo,int> *)(this + 0xe4));
*(undefined4 *)(this + 0xf4) = *(undefined4 *)(this + 0xe4);
CUtlMemory<CFastLocalTransferPropInfo,int>::Purge
((CUtlMemory<CFastLocalTransferPropInfo,int> *)(this + 0xe4));
*(undefined4 *)(this + 0xdc) = 0;
CUtlMemory<CFastLocalTransferPropInfo,int>::Purge
((CUtlMemory<CFastLocalTransferPropInfo,int> *)(this + 0xd0));
*(undefined4 *)(this + 0xe0) = *(undefined4 *)(this + 0xd0);
CUtlMemory<CFastLocalTransferPropInfo,int>::Purge
((CUtlMemory<CFastLocalTransferPropInfo,int> *)(this + 0xd0));
*(undefined4 *)(this + 200) = 0;
CUtlMemory<CFastLocalTransferPropInfo,int>::Purge
((CUtlMemory<CFastLocalTransferPropInfo,int> *)(this + 0xbc));
*(undefined4 *)(this + 0xcc) = *(undefined4 *)(this + 0xbc);
CUtlMemory<CFastLocalTransferPropInfo,int>::Purge
((CUtlMemory<CFastLocalTransferPropInfo,int> *)(this + 0xbc));
*(undefined4 *)(this + 0xb4) = 0;
CUtlMemory<CFastLocalTransferPropInfo,int>::Purge
((CUtlMemory<CFastLocalTransferPropInfo,int> *)(this + 0xa8));
*(undefined4 *)(this + 0xb8) = *(undefined4 *)(this + 0xa8);
CUtlMemory<CFastLocalTransferPropInfo,int>::Purge
((CUtlMemory<CFastLocalTransferPropInfo,int> *)(this + 0xa8));
*(undefined4 *)(this + 0xa0) = 0;
CUtlMemory<CFastLocalTransferPropInfo,int>::Purge
((CUtlMemory<CFastLocalTransferPropInfo,int> *)(this + 0x94));
*(undefined4 *)(this + 0xa4) = *(undefined4 *)(this + 0x94);
CUtlMemory<CFastLocalTransferPropInfo,int>::Purge
((CUtlMemory<CFastLocalTransferPropInfo,int> *)(this + 0x94));
CSendNode::~CSendNode((CSendNode *)(this + 0x68));
*(undefined4 *)(this + 0x60) = 0;
CUtlMemory<SendProp_const*,int>::Purge((CUtlMemory<SendProp_const*,int> *)(this + 0x54));
*(undefined4 *)(this + 100) = *(undefined4 *)(this + 0x54);
CUtlMemory<SendProp_const*,int>::Purge((CUtlMemory<SendProp_const*,int> *)(this + 0x54));
*(undefined4 *)(this + 0x4c) = 0;
CUtlMemory<unsigned_char,int>::Purge((CUtlMemory<unsigned_char,int> *)(this + 0x40));
*(undefined4 *)(this + 0x50) = *(undefined4 *)(this + 0x40);
CUtlMemory<unsigned_char,int>::Purge((CUtlMemory<unsigned_char,int> *)(this + 0x40));
*(undefined4 *)(this + 0x38) = 0;
CUtlMemory<SendProp_const*,int>::Purge((CUtlMemory<SendProp_const*,int> *)(this + 0x2c));
*(undefined4 *)(this + 0x3c) = *(undefined4 *)(this + 0x2c);
CUtlMemory<SendProp_const*,int>::Purge((CUtlMemory<SendProp_const*,int> *)(this + 0x2c));
*(undefined4 *)(this + 0x24) = 0;
CUtlMemory<CSendTablePrecalc::CProxyPath,int>::Purge
((CUtlMemory<CSendTablePrecalc::CProxyPath,int> *)(this + 0x18));
*(undefined4 *)(this + 0x28) = *(undefined4 *)(this + 0x18);
CUtlMemory<CSendTablePrecalc::CProxyPath,int>::Purge
((CUtlMemory<CSendTablePrecalc::CProxyPath,int> *)(this + 0x18));
*(undefined4 *)(this + 0x10) = 0;
CUtlMemory<CSendTablePrecalc::CProxyPathEntry,int>::Purge
((CUtlMemory<CSendTablePrecalc::CProxyPathEntry,int> *)(this + 4));
*(undefined4 *)(this + 0x14) = *(undefined4 *)(this + 4);
CUtlMemory<CSendTablePrecalc::CProxyPathEntry,int>::Purge
((CUtlMemory<CSendTablePrecalc::CProxyPathEntry,int> *)(this + 4));
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.