L L4D2node

fogparams_t::fogparams_t

0x0041a3d0 · 455 bytes · __thiscall

_ZN11fogparams_tC1Ev

Decompiled

undefined (1 param)

/* fogparams_t::fogparams_t() */

void __thiscall fogparams_t::fogparams_t(fogparams_t *this)

{
  *(undefined ***)this = &PTR_NetworkStateChanged_00c0a938;
  *(undefined4 *)(this + 4) = 0x3f800000;
  *(undefined4 *)(this + 8) = 0;
  *(undefined4 *)(this + 0xc) = 0;
  this[0x10] = (fogparams_t)0x0;
  this[0x11] = (fogparams_t)0x0;
  this[0x12] = (fogparams_t)0x0;
  this[0x13] = (fogparams_t)0x0;
  NetworkStateChanged(this);
  this[0x14] = (fogparams_t)0x0;
  this[0x15] = (fogparams_t)0x0;
  this[0x16] = (fogparams_t)0x0;
  this[0x17] = (fogparams_t)0x0;
  (**(code **)(*(int *)this + 4))(this,this + 0x18);
  this[0x18] = (fogparams_t)0x0;
  this[0x19] = (fogparams_t)0x0;
  this[0x1a] = (fogparams_t)0x0;
  this[0x1b] = (fogparams_t)0x0;
  (**(code **)(*(int *)this + 4))(this,this + 0x1c);
  this[0x1c] = (fogparams_t)0x0;
  this[0x1d] = (fogparams_t)0x0;
  this[0x1e] = (fogparams_t)0x0;
  this[0x1f] = (fogparams_t)0x0;
  (**(code **)(*(int *)this + 4))(this,this + 0x20);
  *(undefined4 *)(this + 0x20) = 0;
  (**(code **)(*(int *)this + 4))(this,this + 0x24);
  *(undefined4 *)(this + 0x24) = 0;
  (**(code **)(*(int *)this + 4))(this,this + 0x28);
  *(undefined4 *)(this + 0x28) = 0;
  (**(code **)(*(int *)this + 4))(this,this + 0x2c);
  *(undefined4 *)(this + 0x2c) = 0;
  (**(code **)(*(int *)this + 4))(this,this + 0x30);
  *(undefined4 *)(this + 0x30) = 0;
  (**(code **)(*(int *)this + 4))(this,this + 0x34);
  *(undefined4 *)(this + 0x34) = 0;
  (**(code **)(*(int *)this + 4))(this,this + 0x38);
  *(undefined4 *)(this + 0x38) = 0;
  (**(code **)(*(int *)this + 4))(this,this + 0x3c);
  *(undefined4 *)(this + 0x3c) = 0;
  (**(code **)(*(int *)this + 4))(this,this + 0x40);
  *(undefined4 *)(this + 0x40) = 0;
  (**(code **)(*(int *)this + 4))(this,this + 0x44);
  *(undefined4 *)(this + 0x44) = 0;
  (**(code **)(*(int *)this + 4))(this,this + 0x48);
  *(undefined4 *)(this + 0x48) = 0;
  (**(code **)(*(int *)this + 4))(this,this + 0x4c);
  this[0x4c] = (fogparams_t)0x0;
  (**(code **)(*(int *)this + 4))(this,this + 0x4d);
  this[0x4d] = (fogparams_t)0x0;
  (**(code **)(*(int *)this + 4))(this,this + 0x50);
  *(undefined4 *)(this + 0x50) = 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)