BossZombiePlayerBot::BossZombiePlayerBot
0x00a78830 · 514 bytes · __thiscall
_ZN19BossZombiePlayerBotC1Ev
Decompiled
undefined (1 param)
/* BossZombiePlayerBot::BossZombiePlayerBot() */
void __thiscall BossZombiePlayerBot::BossZombiePlayerBot(BossZombiePlayerBot *this)
{
CTerrorPlayer::CTerrorPlayer((CTerrorPlayer *)this);
/* try { // try from 00a7884c to 00a78850 has its CatchHandler @ 00a78a32 */
INextBot::INextBot((INextBot *)(this + 0x4028));
*(undefined ***)(this + 0x4264) = &PTR_NetworkStateChanged_00c0b6e0;
*(undefined4 *)(this + 17000) = 0;
*(undefined4 *)(this + 0x426c) = 0xbf800000;
*(undefined ***)(this + 0x4270) = &PTR_NetworkStateChanged_00c0b6e0;
*(undefined4 *)(this + 0x4274) = 0;
*(undefined4 *)(this + 0x4278) = 0xbf800000;
*(undefined ***)(this + 0x427c) = &PTR_NetworkStateChanged_00c0b6e0;
*(undefined4 *)(this + 0x4280) = 0;
*(undefined4 *)(this + 0x4284) = 0xbf800000;
*(undefined ***)(this + 0x4288) = &PTR_NetworkStateChanged_00c0b6e0;
*(undefined4 *)(this + 0x428c) = 0;
*(undefined4 *)(this + 0x4290) = 0xbf800000;
*(undefined ***)(this + 0x4294) = &PTR_NetworkStateChanged_00c0b6e0;
*(undefined4 *)(this + 0x4298) = 0;
*(undefined4 *)(this + 0x429c) = 0xbf800000;
*(undefined ***)(this + 0x42a0) = &PTR_NetworkStateChanged_00c0b6e0;
*(undefined4 *)(this + 0x42a4) = 0;
*(undefined4 *)(this + 0x42a8) = 0xbf800000;
*(undefined ***)(this + 0x42ac) = &PTR_NetworkStateChanged_00c0b6e0;
*(undefined4 *)(this + 0x42b0) = 0;
*(undefined4 *)(this + 0x42b4) = 0xbf800000;
*(undefined ***)(this + 0x42b8) = &PTR_NetworkStateChanged_00c0b6e0;
*(undefined4 *)(this + 0x42bc) = 0;
*(undefined4 *)(this + 0x42c0) = 0xbf800000;
*(undefined ***)(this + 0x42c4) = &PTR_NetworkStateChanged_00c0b6e0;
*(undefined4 *)(this + 0x42c8) = 0;
*(undefined4 *)(this + 0x42cc) = 0xbf800000;
*(undefined ***)(this + 0x42d0) = &PTR_NetworkStateChanged_00c0b6e0;
*(undefined4 *)(this + 0x42d4) = 0;
*(undefined4 *)(this + 0x42d8) = 0xbf800000;
*(undefined ***)(this + 0x42dc) = &PTR_NetworkStateChanged_00c0b6e0;
*(undefined4 *)(this + 0x42e0) = 0;
*(undefined4 *)(this + 0x42e4) = 0xbf800000;
*(undefined ***)(this + 0x42e8) = &PTR_NetworkStateChanged_00c0b6e0;
*(undefined4 *)(this + 0x42ec) = 0;
*(undefined4 *)(this + 0x42f0) = 0xbf800000;
*(undefined ***)(this + 0x42f4) = &PTR_NetworkStateChanged_00c23e10;
*(undefined4 *)(this + 0x42f8) = 0xbf800000;
*(undefined4 *)(this + 0x4260) = 0;
*(undefined4 *)(this + 0x425c) = 0;
*(undefined ***)this = &PTR__BossZombiePlayerBot_00d2d248;
*(undefined **)(this + 0x2364) = &DAT_00d2dc00;
*(undefined ***)(this + 0x4028) = &PTR__BossZombiePlayerBot_00d2dc14;
*(undefined ***)(this + 0x4258) = &PTR_PressFireButton_00d2dd64;
*(undefined ***)(this + 0x4308) = &PTR_NetworkStateChanged_00c0b6e0;
*(undefined4 *)(this + 0x430c) = 0;
*(undefined4 *)(this + 0x4310) = 0xbf800000;
/* try { // try from 00a78a26 to 00a78a2a has its CatchHandler @ 00a78a44 */
INextBot::Reset((INextBot *)(this + 0x4028));
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.