_GLOBAL__sub_I_g_bAllowServerDemoWrite
0x003b0820 · 381 bytes · unknown
Decompiled
undefined (0 params)
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
void _GLOBAL__sub_I_g_bAllowServerDemoWrite(void)
{
vec2_origin._0_4_ = 0;
vec2_invalid = 0x7f7fffff;
_DAT_00ff5b5c = 0x7f7fffff;
vec4_invalid._0_4_ = 0x7f7fffff;
vec4_invalid._4_4_ = 0x7f7fffff;
vec4_invalid._8_4_ = 0x7f7fffff;
vec4_invalid._12_4_ = 0x7f7fffff;
vec2_origin._4_4_ = 0;
vec4_origin._0_4_ = 0;
vec4_origin._4_4_ = 0;
vec4_origin._8_4_ = 0;
vec4_origin._12_4_ = 0;
UNSPECIFIED_LOGGING_COLOR._0_1_ = 0;
UNSPECIFIED_LOGGING_COLOR._1_1_ = 0;
UNSPECIFIED_LOGGING_COLOR._2_1_ = 0;
UNSPECIFIED_LOGGING_COLOR._3_1_ = 0;
ConVar::ConVar((ConVar *)sv_demo_entity_record_rate,"sv_demo_entity_record_rate","30",0x4044,
"Set the server demo record rate for entities.");
__cxa_atexit(ConVar::~ConVar,sv_demo_entity_record_rate,&__dso_handle);
g_serverDemoSystem._8_4_ = 0;
g_serverDemoSystem._0_4_ = &PTR__CServerDemoSystem_00ccd6e8;
g_serverDemoSystem._4_4_ = 0;
g_serverDemoSystem._16_4_ = 0;
g_serverDemoSystem._12_4_ = 0;
__cxa_atexit(CServerDemoSystem::~CServerDemoSystem,g_serverDemoSystem,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)dump_server_demo_command,"dump_server_demo",dump_server_demo,
"dump_sever_demo <filename>",0,(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,dump_server_demo_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.