L L4D2node

CBitWrite::WriteBitAngles

0x002573e0 · 58 bytes · __thiscall

_ZN9CBitWrite14WriteBitAnglesERK6QAngle

Decompiled

undefined (2 params)

/* CBitWrite::WriteBitAngles(QAngle const&) */

void __thiscall CBitWrite::WriteBitAngles(CBitWrite *this,QAngle *param_1)

{
  undefined4 local_10;
  undefined4 local_c;
  undefined4 local_8;
  
  local_8 = *(undefined4 *)(param_1 + 8);
  local_c = *(undefined4 *)(param_1 + 4);
  local_10 = *(undefined4 *)param_1;
  WriteBitVec3Coord(this,(Vector *)&local_10);
  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)