L L4D2node

UTIL_SayTextAll

0x00b2c3e0 · 105 bytes · __cdecl

_Z15UTIL_SayTextAllPKcP11CBasePlayerb

Decompiled

undefined (3 params)

/* UTIL_SayTextAll(char const*, CBasePlayer*, bool) */

void UTIL_SayTextAll(char *param_1,CBasePlayer *param_2,bool param_3)

{
  undefined **local_2c [8];
  
  CRecipientFilter::CRecipientFilter((CRecipientFilter *)local_2c);
  local_2c[0] = &PTR__CBroadcastRecipientFilter_00c09928;
                    /* try { // try from 00b2c400 to 00b2c404 has its CatchHandler @ 00b2c449 */
  CRecipientFilter::AddAllPlayers((CRecipientFilter *)local_2c);
  local_2c[0] = &PTR__CReliableBroadcastRecipientFilter_00c157a8;
                    /* try { // try from 00b2c40f to 00b2c413 has its CatchHandler @ 00b2c474 */
  CRecipientFilter::MakeReliable((CRecipientFilter *)local_2c);
                    /* try { // try from 00b2c42e to 00b2c432 has its CatchHandler @ 00b2c45b */
  UTIL_SayTextFilter((IRecipientFilter *)local_2c,param_1,param_2,param_3);
  local_2c[0] = &PTR__CBroadcastRecipientFilter_00c09928;
  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)