L L4D2node

CHLTVClientState::SendClientInfo

0x0016a6f0 · 262 bytes · __thiscall

_ZN16CHLTVClientState14SendClientInfoEv

Decompiled

undefined (1 param)

/* CHLTVClientState::SendClientInfo() */

void __thiscall CHLTVClientState::SendClientInfo(CHLTVClientState *this)

{
  int in_GS_OFFSET;
  undefined **local_9c;
  undefined1 local_98;
  undefined4 local_94;
  undefined4 local_90;
  undefined4 local_8c;
  undefined8 local_88;
  undefined4 local_80;
  undefined4 local_7c;
  undefined8 local_78;
  undefined4 local_70;
  undefined4 local_6c;
  undefined1 local_68;
  undefined8 local_64;
  undefined4 local_5c;
  undefined4 local_58;
  undefined4 local_50;
  undefined4 local_4c;
  undefined1 local_48;
  undefined4 local_44;
  undefined1 local_40;
  undefined4 local_20;
  undefined4 local_1c;
  undefined4 local_18;
  undefined4 local_14;
  int local_10;
  
  local_88 = 0;
  local_10 = *(int *)(in_GS_OFFSET + 0x14);
  local_78 = 0;
  local_64 = 0;
  local_90 = 0;
  local_8c = 0;
  local_80 = 0;
  local_7c = 0;
  local_70 = 0;
  local_6c = 0;
  local_68 = 0;
  local_5c = 0;
  local_58 = 0;
  local_98 = 1;
  local_94 = 0;
  local_9c = &PTR__CLC_ClientInfo_002a13a8;
  local_50 = SendTable_GetCRC();
  local_48 = 1;
  local_4c = *(undefined4 *)(this + 0x6c);
  local_44 = 0;
  local_40 = 0;
  local_20 = 0;
  local_1c = 0;
  local_18 = 0;
  local_14 = 0;
  (**(code **)(**(int **)(this + 0x10) + 0xa8))(*(int **)(this + 0x10),&local_9c,0,0);
  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail();
}

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)