CWorkshop::CWorkshop
0x0023cb50 · 506 bytes · __thiscall
_ZN9CWorkshopC1Ev
Decompiled
undefined (1 param)
/* CWorkshop::CWorkshop() */
void __thiscall CWorkshop::CWorkshop(CWorkshop *this)
{
*(undefined ***)this = &PTR_Connect_002cac88;
*(undefined **)(this + 4) = &DAT_002cacdc;
this[0xc] = (CWorkshop)0x0;
*(undefined ***)(this + 8) = &PTR_Run_002cabf8;
*(undefined4 *)(this + 0x14) = 0;
*(undefined4 *)(this + 0x18) = 0;
*(undefined4 *)(this + 0x1c) = 0;
*(undefined4 *)(this + 0x20) = 0;
*(undefined4 *)(this + 0x24) = 0;
*(undefined4 *)(this + 0x10) = 0x522;
this[0x2c] = (CWorkshop)0x0;
*(undefined ***)(this + 0x28) = &PTR_Run_002cac10;
*(undefined4 *)(this + 0x34) = 0;
*(undefined4 *)(this + 0x38) = 0;
*(undefined4 *)(this + 0x3c) = 0;
*(undefined4 *)(this + 0x40) = 0;
*(undefined4 *)(this + 0x44) = 0;
*(undefined4 *)(this + 0x30) = 0x530;
this[0x4c] = (CWorkshop)0x0;
*(undefined ***)(this + 0x48) = &PTR_Run_002cac28;
*(undefined4 *)(this + 0x54) = 0;
*(undefined4 *)(this + 0x58) = 0;
*(undefined4 *)(this + 0x5c) = 0;
*(undefined4 *)(this + 0x60) = 0;
*(undefined4 *)(this + 100) = 0;
*(undefined4 *)(this + 0x50) = 0x527;
*(undefined4 *)(this + 0x8c) = 0;
*(undefined4 *)(this + 0x90) = 0;
*(undefined4 *)(this + 0x94) = 0;
*(undefined4 *)(this + 0x98) = 0;
*(undefined4 *)(this + 0x9c) = 0;
*(undefined4 *)(this + 0xac) = 0;
*(undefined4 *)(this + 0xb0) = 0;
*(undefined4 *)(this + 0xb4) = 0;
*(undefined4 *)(this + 0xb8) = 0;
*(undefined4 *)(this + 0xbc) = 0;
*(undefined4 *)(this + 0xc0) = 0;
*(undefined4 *)(this + 0xc4) = 0;
*(undefined4 *)(this + 200) = 0;
*(undefined4 *)(this + 0xcc) = 0;
*(undefined4 *)(this + 0xd0) = 0;
*(undefined4 *)(this + 0xd4) = 0;
*(undefined4 *)(this + 0xd8) = 0;
*(undefined4 *)(this + 0xdc) = 0;
*(undefined4 *)(this + 0xe0) = 0;
*(undefined4 *)(this + 0xe4) = 0;
*(undefined4 *)(this + 0xe8) = 0;
*(undefined4 *)(this + 0xec) = 0;
*(undefined4 *)(this + 0xf0) = 0;
*(undefined4 *)(this + 0xf4) = 0;
*(undefined4 *)(this + 0xf8) = 0;
*(undefined4 *)(this + 0xfc) = 0;
*(undefined4 *)(this + 0x100) = 0;
*(undefined4 *)(this + 0x104) = 0;
*(undefined4 *)(this + 0x108) = 0;
*(undefined4 *)(this + 0x10c) = 0;
*(undefined4 *)(this + 0x6c) = 0;
this[0x70] = (CWorkshop)0x0;
*(undefined4 *)(this + 0x74) = 0;
this[0x78] = (CWorkshop)0x0;
this[0x68] = (CWorkshop)0x0;
return;
}
SourceMod gamedata
paste intoaddons/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.
Signatures + Functions block. The plugin uses
DHookCreateFromConf - DHooks reads return type, this-type,
calling convention, and argument types straight from the gamedata. Less
boilerplate in the plugin, types travel with the gamedata.
Gamedata KeyValues
DHooks plugin example
Type inference is best-effort from the C signature - sanity-check the DHooks types before shipping.