L L4D2node

CTextStatFile::CTextStatFile

0x00af4c30 · 27 bytes · __thiscall

_ZN13CTextStatFileC1EPFvvE

Decompiled

undefined (2 params)

/* CTextStatFile::CTextStatFile(void (*)()) */

void __thiscall CTextStatFile::CTextStatFile(CTextStatFile *this,_func_void *param_1)

{
  *(_func_void **)(this + 4) = param_1;
  *(CTextStatFile **)this = s_pHead;
  s_pHead = this;
  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)