CAutoGameSystem::CAutoGameSystem
0x004683b0 · 68 bytes · __thiscall
_ZN15CAutoGameSystemC1EPKc
Decompiled
undefined (2 params)
/* CAutoGameSystem::CAutoGameSystem(char const*) */
void __thiscall CAutoGameSystem::CAutoGameSystem(CAutoGameSystem *this,char *param_1)
{
undefined4 uVar1;
bool bVar2;
bVar2 = s_bSystemsInitted == '\0';
*(undefined ***)this = &PTR_Name_00c08e48;
*(char **)(this + 8) = param_1;
uVar1 = s_pSystemList;
if (bVar2) {
s_pSystemList = this;
*(undefined4 *)(this + 4) = uVar1;
return;
}
/* try { // try from 004683eb to 004683ef has its CatchHandler @ 004683f7 */
IGameSystem::Add((IGameSystem *)this);
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.