L L4D2node

ServerDemoPacket_BaseAnimating::WriteBoneList

0x00596fa0 · 98 bytes · __thiscall

_ZN30ServerDemoPacket_BaseAnimating13WriteBoneListEP15CCircularBuffer

Decompiled

undefined (2 params)

/* ServerDemoPacket_BaseAnimating::WriteBoneList(CCircularBuffer*) */

void __thiscall
ServerDemoPacket_BaseAnimating::WriteBoneList
          (ServerDemoPacket_BaseAnimating *this,CCircularBuffer *param_1)

{
  ushort local_e;
  
  local_e = (*(ushort *)(this + 0x88) >> 1) * 0x1c + 2;
  CCircularBuffer::Write(param_1,&local_e,2);
  CCircularBuffer::Write(param_1,this + 0x88,(uint)local_e);
  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)