CDeltaCalculator::~CDeltaCalculator
0x00154760 · 226 bytes · __thiscall
_ZN16CDeltaCalculatorD1Ev
Decompiled
undefined (1 param)
/* CDeltaCalculator::~CDeltaCalculator() */
void __thiscall CDeltaCalculator::~CDeltaCalculator(CDeltaCalculator *this)
{
if (*(int *)(this + 0x80) < *(int *)(this + 0x84)) {
Error("SendTable_CalcDelta: overflowed props %d max %d on datatable \'%s\'.",
*(int *)(this + 0x84),*(int *)(this + 0x80),
*(undefined4 *)(*(int *)(*(int *)this + 0x8c) + 8));
}
if (this[8] != (CDeltaCalculator)0x0) {
Error("SendTable_CalcDelta: m_bfFromState overflowed %d max %d on datatable \'%s\'.",
*(undefined4 *)(this + 0x84),*(undefined4 *)(this + 0x80),
*(undefined4 *)(*(int *)(*(int *)this + 0x8c) + 8));
}
if (this[0x2c] != (CDeltaCalculator)0x0) {
Error("SendTable_CalcDelta: m_bfToState overflowed %d max %d on datatable \'%s\'.",
*(undefined4 *)(this + 0x84),*(undefined4 *)(this + 0x80),
*(undefined4 *)(*(int *)(*(int *)this + 0x8c) + 8));
}
CDeltaBitsReader::ForceFinished((CDeltaBitsReader *)(this + 0x4c));
CDeltaBitsReader::ForceFinished((CDeltaBitsReader *)(this + 0x5c));
CDeltaBitsReader::~CDeltaBitsReader((CDeltaBitsReader *)(this + 0x5c));
CDeltaBitsReader::~CDeltaBitsReader((CDeltaBitsReader *)(this + 0x4c));
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.