Boomer::Boomer
0x00a644d0 · 228 bytes · __thiscall
_ZN6BoomerC2Ev
Decompiled
undefined (1 param)
/* Boomer::Boomer() */
void __thiscall Boomer::Boomer(Boomer *this)
{
INextBot *pIVar1;
BoomerIntention *this_00;
BoomerLocomotion *this_01;
PlayerBody *this_02;
ZombieBotVision *this_03;
BossZombiePlayerBot::BossZombiePlayerBot((BossZombiePlayerBot *)this);
*(undefined ***)this = &PTR__Boomer_00d2ac08;
*(undefined **)(this + 0x2364) = &DAT_00d2b5d4;
*(undefined ***)(this + 0x4028) = &PTR__Boomer_00d2b5e8;
*(undefined ***)(this + 0x4258) = &PTR_PressFireButton_00d2b738;
*(undefined ***)(this + 0x4324) = &PTR_NetworkStateChanged_00c0b6e0;
*(undefined4 *)(this + 0x4328) = 0;
*(undefined4 *)(this + 0x432c) = 0xbf800000;
/* try { // try from 00a6452d to 00a64531 has its CatchHandler @ 00a645b4 */
this_00 = ::operator_new(0x20);
pIVar1 = (INextBot *)(this + 0x4028);
/* try { // try from 00a64541 to 00a64545 has its CatchHandler @ 00a645d6 */
BoomerIntention::BoomerIntention(this_00,pIVar1);
*(BoomerIntention **)(this + 0x4318) = this_00;
/* try { // try from 00a64553 to 00a64557 has its CatchHandler @ 00a645b4 */
this_01 = ::operator_new(0xbc);
/* try { // try from 00a64561 to 00a64565 has its CatchHandler @ 00a645d4 */
BoomerLocomotion::BoomerLocomotion(this_01,pIVar1);
*(BoomerLocomotion **)(this + 0x431c) = this_01;
/* try { // try from 00a64573 to 00a64577 has its CatchHandler @ 00a645b4 */
this_02 = ::operator_new(0xac);
/* try { // try from 00a64581 to 00a64585 has its CatchHandler @ 00a645d2 */
PlayerBody::PlayerBody(this_02,pIVar1);
*(PlayerBody **)(this + 0x4314) = this_02;
/* try { // try from 00a64593 to 00a64597 has its CatchHandler @ 00a645b4 */
this_03 = ::operator_new(0x16c);
/* try { // try from 00a645a1 to 00a645a5 has its CatchHandler @ 00a645c6 */
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.