_GLOBAL__sub_I_gamestats
0x0037b8b0 · 592 bytes · unknown
Decompiled
undefined (0 params)
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
void _GLOBAL__sub_I_gamestats(void)
{
undefined4 *puVar1;
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;
s_GameStats_Singleton = &PTR_UseOldFormat_00c15068;
DAT_00f7c6c4 = 0;
_DAT_00f7c6c8 = 0;
DAT_00f7c6cc = 0;
_DAT_00f7c6d0 = 0;
_DAT_00f7c6d4 = 0;
_DAT_00f7c6d8 = 0;
DAT_00f7c6e8 = 1;
DAT_00f7c6e9 = 0;
_DAT_00f7c6ec = 0;
_V_memset(&DAT_00f7c6dc,0,0xc);
_DAT_00f7c700 = 0xffff;
_DAT_00f7c702 = 0;
_DAT_00f7c704 = 0xffff;
_DAT_00f7c6f4 = 0;
_DAT_00f7c6f8 = 0;
_DAT_00f7c6fc = 0;
_DAT_00f7c706 = 0xffff;
_DAT_00f7c708 = 0;
_DAT_00f7c6f0 = CaselessStringLessThan;
DAT_00f7c70c = 1;
DAT_00f7c714 = DAT_00f7c714 & 0xfc;
DAT_00f7c70d = 0;
_DAT_00f7c710 = 0;
__cxa_atexit(CBaseGameStats::~CBaseGameStats,&s_GameStats_Singleton,&__dso_handle);
CBaseGameStats_Driver::CBaseGameStats_Driver((CBaseGameStats_Driver *)CBGSDriver);
__cxa_atexit(CBaseGameStats_Driver::~CBaseGameStats_Driver,CBGSDriver,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)resetGameStats,"_resetgamestats",CC_ResetGameStats,
"Erases current game stats and writes out a blank stats file",0,
(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,resetGameStats,&__dso_handle);
CPointGamestatsCounter_DataDescInit::g_DataMapHolder =
DataMapInit<CPointGamestatsCounter>((CPointGamestatsCounter *)0x0);
point_gamestats_counter = &PTR_Create_00c154d8;
puVar1 = (undefined4 *)EntityFactoryDictionary();
(**(code **)*puVar1)(puVar1,&point_gamestats_counter,"point_gamestats_counter");
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.