Smoker::Smoker
0x00ab88b0 · 198 bytes · __thiscall
_ZN6SmokerC1Ev
Decompiled
undefined (1 param)
/* Smoker::Smoker() */
void __thiscall Smoker::Smoker(Smoker *this)
{
INextBot *pIVar1;
SmokerIntention *this_00;
SmokerLocomotion *this_01;
PlayerBody *this_02;
ZombieBotVision *this_03;
BossZombiePlayerBot::BossZombiePlayerBot((BossZombiePlayerBot *)this);
*(undefined ***)this = &PTR__Smoker_00d34208;
*(undefined **)(this + 0x2364) = &DAT_00d34bd4;
*(undefined ***)(this + 0x4028) = &PTR__Smoker_00d34be8;
*(undefined ***)(this + 0x4258) = &PTR_PressFireButton_00d34d38;
/* try { // try from 00ab88ef to 00ab88f3 has its CatchHandler @ 00ab8976 */
this_00 = ::operator_new(0x20);
pIVar1 = (INextBot *)(this + 0x4028);
/* try { // try from 00ab8903 to 00ab8907 has its CatchHandler @ 00ab89a2 */
SmokerIntention::SmokerIntention(this_00,pIVar1);
*(SmokerIntention **)(this + 0x4318) = this_00;
/* try { // try from 00ab8915 to 00ab8919 has its CatchHandler @ 00ab8976 */
this_01 = ::operator_new(0xbc);
/* try { // try from 00ab8923 to 00ab8927 has its CatchHandler @ 00ab8996 */
SmokerLocomotion::SmokerLocomotion(this_01,pIVar1);
*(SmokerLocomotion **)(this + 0x431c) = this_01;
/* try { // try from 00ab8935 to 00ab8939 has its CatchHandler @ 00ab8976 */
this_02 = ::operator_new(0xac);
/* try { // try from 00ab8943 to 00ab8947 has its CatchHandler @ 00ab8994 */
PlayerBody::PlayerBody(this_02,pIVar1);
*(PlayerBody **)(this + 0x4314) = this_02;
/* try { // try from 00ab8955 to 00ab8959 has its CatchHandler @ 00ab8976 */
this_03 = ::operator_new(0x16c);
/* try { // try from 00ab8963 to 00ab8967 has its CatchHandler @ 00ab8988 */
ZombieBotVision::ZombieBotVision(this_03,pIVar1);
*(ZombieBotVision **)(this + 0x4320) = this_03;
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.