L L4D2node

CBubbling::FizzThink

0x0066cd90 · 272 bytes · __thiscall

_ZN9CBubbling9FizzThinkEv

Decompiled

undefined (1 param)

/* CBubbling::FizzThink() */

void __thiscall CBubbling::FizzThink(CBubbling *this)

{
  undefined4 *puVar1;
  undefined4 local_38;
  undefined4 local_34;
  undefined4 local_30;
  undefined **local_2c [8];
  
  puVar1 = (undefined4 *)(**(code **)(*(int *)this + 0x288))(this);
  local_38 = *puVar1;
  local_34 = puVar1[1];
  local_30 = puVar1[2];
  CRecipientFilter::CRecipientFilter((CRecipientFilter *)local_2c);
  local_2c[0] = &PTR__CPASFilter_00bfaf28;
                    /* try { // try from 0066cdd3 to 0066cdd7 has its CatchHandler @ 0066cea6 */
  CRecipientFilter::AddRecipientsByPAS((CRecipientFilter *)local_2c,(Vector *)&local_38);
                    /* try { // try from 0066ce16 to 0066cea3 has its CatchHandler @ 0066ceb8 */
  (**(code **)(*(int *)te + 100))
            (te,(CRecipientFilter *)local_2c,0,this,*(undefined4 *)(this + 0x448),
             *(undefined4 *)(this + 0x440),(int)*(float *)(this + 0x11c));
  if (*(int *)(this + 0x444) < 0x14) {
    CBaseEntity::SetNextThink
              ((CBaseEntity *)this,
               (*(float *)(gpGlobals + 0xc) + 2.5) - (float)*(int *)(this + 0x444) * 0.1,(char *)0x0
              );
  }
  else {
    CBaseEntity::SetNextThink((CBaseEntity *)this,*(float *)(gpGlobals + 0xc) + 0.5,(char *)0x0);
  }
  local_2c[0] = &PTR__CPASFilter_00bfaf28;
  CRecipientFilter::~CRecipientFilter((CRecipientFilter *)local_2c);
  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)