L L4D2node

CSteam3Server::CSteam3Server

0x00210a00 · 468 bytes · __thiscall

_ZN13CSteam3ServerC2Ev

Decompiled

undefined (1 param)

/* CSteam3Server::CSteam3Server() */

void __thiscall CSteam3Server::CSteam3Server(CSteam3Server *this)

{
  int iVar1;
  CSteam3Server *pCVar2;
  
  pCVar2 = this;
  for (iVar1 = 8; iVar1 != 0; iVar1 = iVar1 + -1) {
    *(undefined4 *)pCVar2 = 0;
    pCVar2 = pCVar2 + 4;
  }
  *(undefined4 *)(this + 0x28) = 0;
  *(undefined ***)(this + 0x20) = &PTR_Run_002c5c00;
  *(undefined4 *)(this + 0x34) = 0;
  this[0x24] = (CSteam3Server)0x2;
  *(CSteam3Server **)(this + 0x2c) = this;
  *(code **)(this + 0x30) = OnLogonSuccess;
                    /* try { // try from 00210a4b to 00210a4f has its CatchHandler @ 00210bd4 */
  SteamAPI_RegisterCallback(this + 0x20,0x65);
  *(undefined4 *)(this + 0x40) = 0;
  *(undefined ***)(this + 0x38) = &PTR_Run_002c5c40;
  *(undefined4 *)(this + 0x4c) = 0;
  this[0x3c] = (CSteam3Server)0x2;
  *(CSteam3Server **)(this + 0x44) = this;
  *(code **)(this + 0x48) = OnLogonFailure;
                    /* try { // try from 00210a84 to 00210a88 has its CatchHandler @ 00210cb3 */
  SteamAPI_RegisterCallback(this + 0x38,0x66);
  *(undefined4 *)(this + 0x58) = 0;
  *(undefined ***)(this + 0x50) = &PTR_Run_002c5c80;
  *(undefined4 *)(this + 100) = 0;
  this[0x54] = (CSteam3Server)0x2;
  *(CSteam3Server **)(this + 0x5c) = this;
  *(code **)(this + 0x60) = OnLoggedOff;
                    /* try { // try from 00210aba to 00210abe has its CatchHandler @ 00210c9a */
  SteamAPI_RegisterCallback(this + 0x50,0x67);
  *(undefined4 *)(this + 0x70) = 0;
  *(undefined ***)(this + 0x68) = &PTR_Run_002c5ca0;
  *(undefined4 *)(this + 0x7c) = 0;
  this[0x6c] = (CSteam3Server)0x2;
  *(CSteam3Server **)(this + 0x74) = this;
  *(code **)(this + 0x78) = OnGSPolicyResponse;
                    /* try { // try from 00210af0 to 00210af4 has its CatchHandler @ 00210c7b */
  SteamAPI_RegisterCallback(this + 0x68,0x73);
  *(CSteam3Server **)(this + 0x8c) = this;
  *(undefined4 *)(this + 0x88) = 0;
  *(undefined ***)(this + 0x80) = &PTR_Run_002c5ce0;
  *(undefined4 *)(this + 0x94) = 0;
  this[0x84] = (CSteam3Server)0x2;
  *(code **)(this + 0x90) = OnValidateAuthTicketResponse;
                    /* try { // try from 00210b3e to 00210b42 has its CatchHandler @ 00210bf6 */
  SteamAPI_RegisterCallback(this + 0x80,0x8f);
  this[0xa8] = (CSteam3Server)0x0;
  this[0xa5] = (CSteam3Server)0x0;
  this[0xa6] = (CSteam3Server)0x0;
  this[0xa7] = (CSteam3Server)0x0;
  *(undefined4 *)(this + 0xa9) = 0;
  this[0xad] = (CSteam3Server)0x0;
  this[0xae] = (CSteam3Server)0x0;
  this[0xaf] = (CSteam3Server)0x0;
  this[0xa0] = (CSteam3Server)0x0;
  this[0x9f] = (CSteam3Server)0x0;
  *(undefined4 *)(this + 0x98) = 0;
  this[0xb2] = (CSteam3Server)0x0;
  this[0xb3] = (CSteam3Server)0x0;
  this[0x9d] = (CSteam3Server)0x0;
  this[0x9c] = (CSteam3Server)0x0;
  this[0xb0] = (CSteam3Server)0x1;
  *(undefined4 *)(this + 0xa1) = 1;
  *(undefined2 *)(this + 0xba) = 0;
  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)