L L4D2node

Hunter::Hunter

0x00a8fe80 · 198 bytes · __thiscall

_ZN6HunterC1Ev

Decompiled

undefined (1 param)

/* Hunter::Hunter() */

void __thiscall Hunter::Hunter(Hunter *this)

{
  INextBot *pIVar1;
  HunterIntention *this_00;
  HunterLocomotion *this_01;
  PlayerBody *this_02;
  ZombieBotVision *this_03;
  
  BossZombiePlayerBot::BossZombiePlayerBot((BossZombiePlayerBot *)this);
  *(undefined ***)this = &PTR__Hunter_00d30148;
  *(undefined **)(this + 0x2364) = &DAT_00d30b14;
  *(undefined ***)(this + 0x4028) = &PTR__Hunter_00d30b28;
  *(undefined ***)(this + 0x4258) = &PTR_PressFireButton_00d30c78;
                    /* try { // try from 00a8febf to 00a8fec3 has its CatchHandler @ 00a8ff46 */
  this_00 = ::operator_new(0x20);
  pIVar1 = (INextBot *)(this + 0x4028);
                    /* try { // try from 00a8fed3 to 00a8fed7 has its CatchHandler @ 00a8ff72 */
  HunterIntention::HunterIntention(this_00,pIVar1);
  *(HunterIntention **)(this + 0x4318) = this_00;
                    /* try { // try from 00a8fee5 to 00a8fee9 has its CatchHandler @ 00a8ff46 */
  this_01 = ::operator_new(0xbc);
                    /* try { // try from 00a8fef3 to 00a8fef7 has its CatchHandler @ 00a8ff66 */
  HunterLocomotion::HunterLocomotion(this_01,pIVar1);
  *(HunterLocomotion **)(this + 0x431c) = this_01;
                    /* try { // try from 00a8ff05 to 00a8ff09 has its CatchHandler @ 00a8ff46 */
  this_02 = ::operator_new(0xac);
                    /* try { // try from 00a8ff13 to 00a8ff17 has its CatchHandler @ 00a8ff64 */
  PlayerBody::PlayerBody(this_02,pIVar1);
  *(PlayerBody **)(this + 0x4314) = this_02;
                    /* try { // try from 00a8ff25 to 00a8ff29 has its CatchHandler @ 00a8ff46 */
  this_03 = ::operator_new(0x16c);
                    /* try { // try from 00a8ff33 to 00a8ff37 has its CatchHandler @ 00a8ff58 */
  ZombieBotVision::ZombieBotVision(this_03,pIVar1);
  *(ZombieBotVision **)(this + 0x4320) = this_03;
  return;
}

SourceMod gamedata

paste into addons/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.



        

        

          

Type inference is best-effort from the C signature - sanity-check the DHooks types before shipping.

Return-type handling cheatsheet (DHookReturn)