L L4D2node

_GLOBAL__sub_I_g_Sentences

0x00092cc0 · 863 bytes · unknown

Decompiled

undefined (0 params)

/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */

void _GLOBAL__sub_I_g_Sentences(void)

{
  vec2_origin._0_4_ = 0;
  vec2_origin._4_4_ = 0;
  vec2_invalid._0_4_ = 0x7f7fffff;
  vec2_invalid._4_4_ = 0x7f7fffff;
  vec4_origin._0_4_ = 0;
  vec4_origin._4_4_ = 0;
  vec4_origin._8_4_ = 0;
  vec4_origin._12_4_ = 0;
  vec4_invalid._0_4_ = 0x7f7fffff;
  vec4_invalid._4_4_ = 0x7f7fffff;
  vec4_invalid._8_4_ = 0x7f7fffff;
  vec4_invalid._12_4_ = 0x7f7fffff;
  UNSPECIFIED_LOGGING_COLOR._0_1_ = 0;
  UNSPECIFIED_LOGGING_COLOR._1_1_ = 0;
  UNSPECIFIED_LOGGING_COLOR._2_1_ = 0;
  UNSPECIFIED_LOGGING_COLOR._3_1_ = 0;
  g_Sentences = 0;
  DAT_00350430 = 0;
  DAT_00350434 = 0;
  DAT_00350438 = 0;
  _DAT_0035043c = 0;
  __cxa_atexit(CUtlVector<sentence_t,CUtlMemory<sentence_t,int>>::~CUtlVector,&g_Sentences,
               &__dso_handle);
  ConCommand::ConCommand
            ((ConCommand *)vox_reload,"vox_reload",VOX_Reload,"Reload sentences.txt file",0x4000,
             (int_____char_const__char *)0x0);
  __cxa_atexit(ConCommand::~ConCommand,vox_reload,&__dso_handle);
  g_GroupLRU = 0;
  _DAT_00350484 = 0;
  _DAT_00350488 = 0;
  _DAT_0035048c = 0;
  _DAT_00350490 = 0;
  __cxa_atexit(CUtlVector<unsigned_char,CUtlMemory<unsigned_char,int>>::~CUtlVector,&g_GroupLRU,
               &__dso_handle);
  g_SentenceFile = 0;
  _DAT_00350470 = 0;
  _DAT_00350474 = 0;
  _DAT_00350478 = 0;
  _DAT_0035047c = 0;
  __cxa_atexit(CUtlVector<char,CUtlMemory<char,int>>::~CUtlVector,&g_SentenceFile,&__dso_handle);
  g_SentenceGroups = 0;
  _DAT_0035041c = 0;
  _DAT_00350420 = 0;
  DAT_00350424 = 0;
  _DAT_00350428 = 0;
  __cxa_atexit(CUtlVector<sentencegroup_t,CUtlMemory<sentencegroup_t,int>>::~CUtlVector,
               &g_SentenceGroups,&__dso_handle);
  CUtlSymbolTable::CUtlSymbolTable((CUtlSymbolTable *)sentencegroup_t::s_SymbolTable,0,0x100,true);
  __cxa_atexit(CUtlSymbolTable::~CUtlSymbolTable,sentencegroup_t::s_SymbolTable,&__dso_handle);
  ConVar::ConVar((ConVar *)snd_vox_globaltimeout,"snd_vox_globaltimeout","300",0);
  __cxa_atexit(ConVar::~ConVar,snd_vox_globaltimeout,&__dso_handle);
  ConVar::ConVar((ConVar *)snd_vox_seqtimeout,"snd_vox_seqtimetout","300",0);
  __cxa_atexit(ConVar::~ConVar,snd_vox_seqtimeout,&__dso_handle);
  ConVar::ConVar((ConVar *)snd_vox_sectimeout,"snd_vox_sectimetout","300",0);
  __cxa_atexit(ConVar::~ConVar,snd_vox_sectimeout,&__dso_handle);
  ConVar::ConVar((ConVar *)snd_vox_captiontrace,"snd_vox_captiontrace","0",0,
                 "Shows sentence name for sentences which are set not to show captions.");
  __cxa_atexit(ConVar::~ConVar,snd_vox_captiontrace,&__dso_handle);
  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.



        
        

⚠ This function has no mangled symbol — it may be internal/static. The Linux gamedata field uses @-prefix symbol resolution which requires an exported mangled name. You'll need a Linux byte signature for this one (extract via extract_signature.java).


          

Type inference is best-effort from the C signature - sanity-check the DHooks types before shipping.

Return-type handling cheatsheet (DHookReturn)