ZombieManager::ZombieManager
0x00a5ca70 · 549 bytes · __thiscall
_ZN13ZombieManagerC2Ev
Decompiled
undefined (1 param)
/* ZombieManager::ZombieManager() */
void __thiscall ZombieManager::ZombieManager(ZombieManager *this)
{
ZombieManager *pZVar1;
ZombieManager *pZVar2;
ZombieManager *pZVar3;
*(undefined ***)this = &PTR__ZombieManager_00d2a9f8;
*(undefined ***)(this + 0xc) = &PTR_NetworkStateChanged_00c0b6e0;
pZVar1 = this + 0x14c;
*(undefined4 *)(this + 0x10) = 0;
*(undefined4 *)(this + 0x14) = 0xbf800000;
*(undefined ***)(this + 0x1c) = &PTR_NetworkStateChanged_00c0b6e0;
*(undefined4 *)(this + 0x20) = 0;
*(undefined4 *)(this + 0x24) = 0xbf800000;
*(undefined4 *)(this + 0x2c) = 0xffffffff;
*(undefined ***)(this + 0x30) = &PTR_NetworkStateChanged_00c0b6e0;
*(undefined4 *)(this + 0x34) = 0;
*(undefined4 *)(this + 0x38) = 0xbf800000;
pZVar3 = this + 0x70;
do {
*(undefined4 *)pZVar3 = 0;
pZVar2 = pZVar3 + 0x14;
*(undefined4 *)(pZVar3 + 4) = 0;
*(undefined4 *)(pZVar3 + 8) = 0;
*(undefined4 *)(pZVar3 + 0xc) = 0;
*(undefined4 *)(pZVar3 + 0x10) = 0;
pZVar3 = pZVar2;
} while (pZVar2 != pZVar1);
pZVar3 = pZVar1;
do {
*(undefined ***)pZVar3 = &PTR_NetworkStateChanged_00c0b6e0;
pZVar2 = pZVar3 + 0xc;
*(undefined4 *)(this + (int)(pZVar3 + (0x150 - (int)pZVar1))) = 0;
*(undefined4 *)(this + (int)(pZVar3 + (0x154 - (int)pZVar1))) = 0xbf800000;
pZVar3 = pZVar2;
} while (pZVar2 != this + 0x1d0);
*(undefined4 *)(this + 0x1d0) = 0;
*(undefined4 *)(this + 0x1d4) = 0;
*(undefined4 *)(this + 0x1d8) = 0;
*(undefined4 *)(this + 0x1dc) = 0;
*(undefined4 *)(this + 0x1e0) = 0;
*(undefined4 *)(this + 0x1e4) = 0;
*(undefined4 *)(this + 0x1e8) = 0;
*(undefined4 *)(this + 0x1ec) = 0;
*(undefined4 *)(this + 0x1f0) = 0;
*(undefined4 *)(this + 500) = 0;
*(undefined ***)(this + 0x1f8) = &PTR_NetworkStateChanged_00c0b6e0;
*(undefined4 *)(this + 0x1fc) = 0;
*(undefined4 *)(this + 0x200) = 0xbf800000;
*(undefined ***)(this + 0x204) = &PTR_NetworkStateChanged_00c0b6e0;
*(undefined4 *)(this + 0x208) = 0;
*(undefined4 *)(this + 0x20c) = 0xbf800000;
*(undefined ***)(this + 0x228) = &PTR_NetworkStateChanged_00c0b6e0;
*(undefined4 *)(this + 0x22c) = 0;
*(undefined4 *)(this + 0x230) = 0xbf800000;
*(undefined4 *)(this + 0x23c) = 0;
*(undefined4 *)(this + 0x240) = 0;
*(undefined4 *)(this + 0x244) = 0;
*(undefined4 *)(this + 0x248) = 0;
*(undefined4 *)(this + 0x24c) = 0;
*(undefined4 *)(this + 0x250) = 0;
*(undefined4 *)(this + 0x254) = 0;
*(undefined4 *)(this + 600) = 0;
*(undefined4 *)(this + 0x25c) = 0;
*(undefined4 *)(this + 0x260) = 0;
*(undefined4 *)(this + 0x264) = 0;
*(undefined4 *)(this + 0x268) = 0;
*(undefined4 *)(this + 0x26c) = 0;
*(undefined4 *)(this + 0x270) = 0;
*(undefined4 *)(this + 0x274) = 0;
*(undefined4 *)(this + 0x278) = 0;
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.