L L4D2node

CMeleeWeaponInfoStore::CMeleeWeaponInfoStore

0x00543ef0 · 136 bytes · __thiscall

_ZN21CMeleeWeaponInfoStoreC2Ev

Decompiled

undefined (1 param)

/* CMeleeWeaponInfoStore::CMeleeWeaponInfoStore() */

void __thiscall CMeleeWeaponInfoStore::CMeleeWeaponInfoStore(CMeleeWeaponInfoStore *this)

{
  CAutoGameSystem::CAutoGameSystem((CAutoGameSystem *)this,"MeleeWeaponInfoStore");
  *(undefined ***)this = &PTR_Name_00c406e8;
  *(undefined4 *)(this + 0x10) = 0;
  *(undefined4 *)(this + 0x14) = 0;
  *(undefined4 *)(this + 0x18) = 0;
  *(undefined4 *)(this + 0x1c) = 0xffffffff;
  *(undefined4 *)(this + 0x20) = 0;
  *(undefined4 *)(this + 0x24) = 0xffffffff;
  *(undefined4 *)(this + 0x28) = 0xffffffff;
  *(undefined4 *)(this + 0x2c) = 0;
  *(undefined4 *)(this + 0x30) = 0;
  *(undefined4 *)(this + 0x34) = 0;
  *(undefined4 *)(this + 0x38) = 0;
  *(undefined4 *)(this + 0x3c) = 0;
  *(undefined4 *)(this + 0x40) = 0;
  *(code **)(this + 0xc) = CDefOps<int>::LessFunc;
  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)