_GLOBAL__sub_I_sv_soundemitter_trace
0x0037f970 · 1040 bytes · unknown
Decompiled
undefined (0 params)
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
void _GLOBAL__sub_I_sv_soundemitter_trace(void)
{
UNSPECIFIED_LOGGING_COLOR._0_1_ = 0;
UNSPECIFIED_LOGGING_COLOR._1_1_ = 0;
UNSPECIFIED_LOGGING_COLOR._2_1_ = 0;
UNSPECIFIED_LOGGING_COLOR._3_1_ = 0;
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;
ConVar::ConVar((ConVar *)sv_soundemitter_trace,"sv_soundemitter_trace","-1",0x2000,
"Show all EmitSound calls including their symbolic name and the actual wave file they resolved to. (-1 = for nobody, 0 = for everybody, n = for one entity)\n"
);
__cxa_atexit(ConVar::~ConVar,sv_soundemitter_trace,&__dso_handle);
ConVar::ConVar((ConVar *)cc_showmissing,"cc_showmissing","0",0x2000,
"Show missing closecaption entries.");
__cxa_atexit(ConVar::~ConVar,cc_showmissing,&__dso_handle);
ConVar::ConVar((ConVar *)cc_norepeat,"cc_norepeat","5",0,
"In multiplayer games, don\'t repeat captions more often than this many seconds.");
__cxa_atexit(ConVar::~ConVar,cc_norepeat,&__dso_handle);
g_CaptionRepeats._0_4_ = CDefOps<unsigned_int>::LessFunc;
g_CaptionRepeats._4_4_ = 0;
g_CaptionRepeats._8_4_ = 0;
g_CaptionRepeats._12_4_ = 0;
g_CaptionRepeats._16_2_ = 0xffff;
g_CaptionRepeats._18_2_ = 0;
g_CaptionRepeats._20_2_ = 0xffff;
g_CaptionRepeats._22_2_ = 0xffff;
g_CaptionRepeats._24_4_ = 0;
__cxa_atexit(CCaptionRepeatMgr::~CCaptionRepeatMgr,g_CaptionRepeats,&__dso_handle);
g_SoundEmitterSystem = &PTR_Name_00c1df68;
DAT_00f9ce64 = 0;
DAT_00f9ce68 = 0;
/* try { // try from 0037fb97 to 0037fb9b has its CatchHandler @ 0037fd80 */
CUtlSymbolTable::CUtlSymbolTable((CUtlSymbolTable *)&DAT_00f9ce6c,0,0x10,false);
DAT_00f9cea4 = 0;
_DAT_00f9cea8 = 0;
_DAT_00f9ceac = 0;
DAT_00f9ceb0 = 0;
_DAT_00f9ceb4 = 0;
__cxa_atexit(CSoundEmitterSystem::~CSoundEmitterSystem,&g_SoundEmitterSystem,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)sv_soundemitter_reload_command,"sv_soundemitter_reload",
sv_soundemitter_reload,"Flushes the sounds.txt system",0,
(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,sv_soundemitter_reload_command,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)sv_soundemitter_flush_command,"sv_soundemitter_flush",
sv_soundemitter_flush,"Flushes the sounds.txt system (server only)",2,
(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,sv_soundemitter_flush_command,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)sv_soundemitter_filecheck_command,"sv_soundemitter_filecheck",
sv_soundemitter_filecheck,"Report missing wave files for sounds and game_sounds files."
,2,(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,sv_soundemitter_filecheck_command,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)sv_findsoundname_command,"sv_findsoundname",sv_findsoundname,
"Find sound names which reference the specified wave files.",2,
(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,sv_findsoundname_command,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)sv_soundemitter_spew_command,"sv_soundemitter_spew",sv_soundemitter_spew,
"Print details about a sound.",2,(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,sv_soundemitter_spew_command,&__dso_handle);
return;
}
SourceMod gamedata
paste intoaddons/sourcemod/gamedata/<your_plugin>.txt
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.
Signatures + Functions block. The plugin uses
DHookCreateFromConf - DHooks reads return type, this-type,
calling convention, and argument types straight from the gamedata. Less
boilerplate in the plugin, types travel with the gamedata.
⚠ 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.