L L4D2node

COuttroStats::InputRollStatsCrawl

0x00686770 · 216 bytes · __cdecl

_ZN12COuttroStats19InputRollStatsCrawlER11inputdata_t

Decompiled

undefined (1 param)

/* COuttroStats::InputRollStatsCrawl(inputdata_t&) */

void COuttroStats::InputRollStatsCrawl(inputdata_t *param_1)

{
  char cVar1;
  undefined1 local_34 [8];
  undefined **local_2c [8];
  
  cVar1 = CTerrorGameRules::IsVersusMode();
  if (cVar1 != '\0') {
    return;
  }
  CRecipientFilter::CRecipientFilter((CRecipientFilter *)local_2c);
  local_2c[0] = &PTR__CBroadcastRecipientFilter_00c09928;
                    /* try { // try from 006867a5 to 006867a9 has its CatchHandler @ 00686850 */
  CRecipientFilter::AddAllPlayers((CRecipientFilter *)local_2c);
  local_2c[0] = &PTR__CReliableBroadcastRecipientFilter_00c157a8;
                    /* try { // try from 006867b4 to 006867b8 has its CatchHandler @ 00686862 */
  CRecipientFilter::MakeReliable((CRecipientFilter *)local_2c);
                    /* try { // try from 006867c4 to 0068682d has its CatchHandler @ 0068687b */
  UserMessageBegin((IRecipientFilter *)local_2c,"StatsCrawlMsg");
  MessageEnd();
  CBaseEntity::ThinkSet((_func_void *)local_34,(float)param_1,(char *)SkipThink);
  CBaseEntity::SetNextThink((CBaseEntity *)param_1,*(float *)(gpGlobals + 0xc) + 1.0,(char *)0x0);
  local_2c[0] = &PTR__CBroadcastRecipientFilter_00c09928;
  *(undefined1 *)(TheDirector + 0x291) = 1;
  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)