L L4D2node

CHLTVFrame::FreeBuffers

0x00170490 · 96 bytes · __thiscall

_ZN10CHLTVFrame11FreeBuffersEv

Decompiled

undefined (1 param)

/* CHLTVFrame::FreeBuffers() */

void __thiscall CHLTVFrame::FreeBuffers(CHLTVFrame *this)

{
  bf_write *this_00;
  int iVar1;
  
  this_00 = (bf_write *)(this + 0x11c);
  iVar1 = 0;
  do {
    if (*(void **)this_00 != (void *)0x0) {
      operator_delete__(*(void **)this_00);
      bf_write::StartWriting(this_00,(void *)0x0,0,0,-1);
    }
    iVar1 = iVar1 + 1;
    this_00 = this_00 + 0x18;
  } while (iVar1 != 6);
  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)