GCSDK::CRecordInfo::~CRecordInfo
0x000954a0 · 276 bytes · __thiscall
_ZN5GCSDK11CRecordInfoD2Ev
Decompiled
undefined (1 param)
/* GCSDK::CRecordInfo::~CRecordInfo() */
void __thiscall GCSDK::CRecordInfo::~CRecordInfo(CRecordInfo *this)
{
CUtlVector<GCSDK::FKData_t,CUtlMemory<GCSDK::FKData_t,int>> *this_00;
CUtlVector<GCSDK::FieldSet_t,CUtlMemory<GCSDK::FieldSet_t,int>> *this_01;
*(undefined ***)this = &PTR__CRecordInfo_000b66d8;
this_00 = (CUtlVector<GCSDK::FKData_t,CUtlMemory<GCSDK::FKData_t,int>> *)(this + 0x104);
pthread_mutex_destroy((pthread_mutex_t *)(this + 0x118));
CUtlVector<GCSDK::FKData_t,CUtlMemory<GCSDK::FKData_t,int>>::RemoveAll(this_00);
CUtlMemory<GCSDK::FKData_t,int>::Purge((CUtlMemory<GCSDK::FKData_t,int> *)this_00);
*(undefined4 *)(this + 0x114) = *(undefined4 *)(this + 0x104);
CUtlMemory<GCSDK::FKData_t,int>::Purge((CUtlMemory<GCSDK::FKData_t,int> *)this_00);
*(undefined4 *)(this + 0xf8) = 0;
CUtlMemory<int,int>::Purge((CUtlMemory<int,int> *)(this + 0xec));
*(undefined4 *)(this + 0xfc) = *(undefined4 *)(this + 0xec);
this_01 = (CUtlVector<GCSDK::FieldSet_t,CUtlMemory<GCSDK::FieldSet_t,int>> *)(this + 200);
CUtlMemory<int,int>::Purge((CUtlMemory<int,int> *)(this + 0xec));
CUtlVector<GCSDK::FieldSet_t,CUtlMemory<GCSDK::FieldSet_t,int>>::RemoveAll(this_01);
CUtlMemory<GCSDK::FieldSet_t,int>::Purge((CUtlMemory<GCSDK::FieldSet_t,int> *)this_01);
*(undefined4 *)(this + 0xd8) = *(undefined4 *)(this + 200);
CUtlMemory<GCSDK::FieldSet_t,int>::Purge((CUtlMemory<GCSDK::FieldSet_t,int> *)this_01);
CUtlRBTree<CUtlMap<char_const*,int,unsigned_short>::Node_t,unsigned_short,CUtlMap<char_const*,int,unsigned_short>::CKeyLess,CUtlMemory<UtlRBTreeNode_t<CUtlMap<char_const*,int,unsigned_short>::Node_t,unsigned_short>,unsigned_short>>
::RemoveAll((CUtlRBTree<CUtlMap<char_const*,int,unsigned_short>::Node_t,unsigned_short,CUtlMap<char_const*,int,unsigned_short>::CKeyLess,CUtlMemory<UtlRBTreeNode_t<CUtlMap<char_const*,int,unsigned_short>::Node_t,unsigned_short>,unsigned_short>>
*)(this + 0xa4));
*(undefined2 *)(this + 0xb8) = 0xffff;
CUtlMemory<UtlRBTreeNode_t<CUtlMap<char_const*,int,unsigned_short>::Node_t,unsigned_short>,unsigned_short>
::Purge((CUtlMemory<UtlRBTreeNode_t<CUtlMap<char_const*,int,unsigned_short>::Node_t,unsigned_short>,unsigned_short>
*)(this + 0xa8));
*(undefined2 *)(this + 0xba) = 0xffff;
CUtlMemory<UtlRBTreeNode_t<CUtlMap<char_const*,int,unsigned_short>::Node_t,unsigned_short>,unsigned_short>
::Purge((CUtlMemory<UtlRBTreeNode_t<CUtlMap<char_const*,int,unsigned_short>::Node_t,unsigned_short>,unsigned_short>
*)(this + 0xa8));
*(undefined4 *)(this + 0x9c) = 0;
CUtlMemory<GCSDK::CColumnInfo,int>::Purge((CUtlMemory<GCSDK::CColumnInfo,int> *)(this + 0x90));
*(undefined4 *)(this + 0xa0) = *(undefined4 *)(this + 0x90);
CUtlMemory<GCSDK::CColumnInfo,int>::Purge((CUtlMemory<GCSDK::CColumnInfo,int> *)(this + 0x90));
*(undefined ***)this = &PTR__CRefCount_000b66c0;
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.