L L4D2node

CBaseGameStats::Event_Punted

0x00462030 · 47 bytes · __thiscall

_ZN14CBaseGameStats12Event_PuntedEP11CBaseEntity

Decompiled

undefined (2 params)

/* CBaseGameStats::Event_Punted(CBaseEntity*) */

void __thiscall CBaseGameStats::Event_Punted(CBaseGameStats *this,CBaseEntity *param_1)

{
  undefined1 *puVar1;
  
  puVar1 = &DAT_00d539c2;
  if (*(undefined1 **)(param_1 + 0x7c) != (undefined1 *)0x0) {
    puVar1 = *(undefined1 **)(param_1 + 0x7c);
  }
  StatsLog(this,"CBaseGameStats::Event_Punted [%s]\n",puVar1);
  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)