L L4D2node

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 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)