_GLOBAL__sub_I_s_ServerPlugin
0x000a2850 · 923 bytes · unknown
Decompiled
undefined (0 params)
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
void _GLOBAL__sub_I_s_ServerPlugin(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;
s_ServerPlugin = &PTR_CreateMessage_002c4b48;
_DAT_003e9cc4 = 0;
_DAT_003e9cc8 = 0;
_DAT_003e9ccc = 0;
_DAT_003e9cd0 = 0;
_DAT_003e9cd4 = 0;
_DAT_003e9cd8 = 0;
DAT_003e9cdc = 0;
DAT_003ea8dc = 0;
__cxa_atexit(CServerPlugin::~CServerPlugin,&s_ServerPlugin,&__dso_handle);
InterfaceReg::InterfaceReg
((InterfaceReg *)__g_CreateCServerPluginIServerPluginHelpers_reg,
__CreateCServerPluginIServerPluginHelpers_interface,"ISERVERPLUGINHELPERS001");
ConCommand::ConCommand
((ConCommand *)plugin_print_command,"plugin_print",plugin_print,
"Prints details about loaded plugins",0,(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,plugin_print_command,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)plugin_pause_command,"plugin_pause",plugin_pause,
"plugin_pause <index> : pauses a loaded plugin",0,(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,plugin_pause_command,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)plugin_unpause_command,"plugin_unpause",plugin_unpause,
"plugin_unpause <index> : unpauses a disabled plugin",0,(int_____char_const__char *)0x0
);
__cxa_atexit(ConCommand::~ConCommand,plugin_unpause_command,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)plugin_pause_all_command,"plugin_pause_all",plugin_pause_all,
"pauses all loaded plugins",0,(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,plugin_pause_all_command,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)plugin_unpause_all_command,"plugin_unpause_all",plugin_unpause_all,
"unpauses all disabled plugins",0,(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,plugin_unpause_all_command,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)plugin_load_command,"plugin_load",plugin_load,
"plugin_load <filename> : loads a plugin",0,(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,plugin_load_command,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)plugin_unload_command,"plugin_unload",plugin_unload,
"plugin_unload <index> : unloads a plugin",0,(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,plugin_unload_command,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)plugin_notify_non_valid_command,"plugin_notify_non_valid",
plugin_notify_non_valid,"Notify\'s the user if any invalid plug-ins are loaded",
0x40000000,(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,plugin_notify_non_valid_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.