L L4D2node

CBaseTransmitProxy::Release

0x0062ed10 · 39 bytes · __thiscall

_ZN18CBaseTransmitProxy7ReleaseEv

Decompiled

undefined (1 param)

/* CBaseTransmitProxy::Release() */

void __thiscall CBaseTransmitProxy::Release(CBaseTransmitProxy *this)

{
  ushort uVar1;
  
  uVar1 = *(ushort *)(this + 8);
  if (uVar1 != 0xffff) {
    if (uVar1 < 2) {
                    /* WARNING: Could not recover jumptable at 0x0062ed36. Too many branches */
                    /* WARNING: Treating indirect jump as call */
      (**(code **)(*(int *)this + 4))();
      return;
    }
    *(ushort *)(this + 8) = uVar1 - 1;
  }
  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)