_GLOBAL__sub_I_MapCycleFileChangedCallback
0x003a1fd0 · 1375 bytes · unknown
Decompiled
undefined (0 params)
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* MapCycleFileChangedCallback(IConVar*, char const*, float) */
void _GLOBAL__sub_I_MapCycleFileChangedCallback(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;
ConVar::ConVar((ConVar *)displaysoundlist,"displaysoundlist","0",0);
__cxa_atexit(ConVar::~ConVar,displaysoundlist,&__dso_handle);
ConVar::ConVar((ConVar *)mapcyclefile,"mapcyclefile","mapcycle.txt",0,
"Name of the .txt file used to cycle the maps on multiplayer servers ",
MapCycleFileChangedCallback);
__cxa_atexit(ConVar::~ConVar,mapcyclefile,&__dso_handle);
ConVar::ConVar((ConVar *)servercfgfile,"servercfgfile","server.cfg",0);
__cxa_atexit(ConVar::~ConVar,servercfgfile,&__dso_handle);
ConVar::ConVar((ConVar *)lservercfgfile,"lservercfgfile","listenserver.cfg",0);
__cxa_atexit(ConVar::~ConVar,lservercfgfile,&__dso_handle);
ConVar::ConVar((ConVar *)teamplay,"mp_teamplay","0",0x100);
__cxa_atexit(ConVar::~ConVar,teamplay,&__dso_handle);
ConVar::ConVar((ConVar *)fraglimit,"mp_fraglimit","0",0x100);
__cxa_atexit(ConVar::~ConVar,fraglimit,&__dso_handle);
ConVar::ConVar((ConVar *)falldamage,"mp_falldamage","0",0x100);
__cxa_atexit(ConVar::~ConVar,falldamage,&__dso_handle);
ConVar::ConVar((ConVar *)weaponstay,"mp_weaponstay","0",0x100);
__cxa_atexit(ConVar::~ConVar,weaponstay,&__dso_handle);
ConVar::ConVar((ConVar *)forcerespawn,"mp_forcerespawn","1",0x100);
__cxa_atexit(ConVar::~ConVar,forcerespawn,&__dso_handle);
ConVar::ConVar((ConVar *)footsteps,"mp_footsteps","1",0x100);
__cxa_atexit(ConVar::~ConVar,footsteps,&__dso_handle);
ConVar::ConVar((ConVar *)flashlight,"mp_flashlight","1",0x100);
__cxa_atexit(ConVar::~ConVar,flashlight,&__dso_handle);
ConVar::ConVar((ConVar *)aimcrosshair,"mp_autocrosshair","1",0x100);
__cxa_atexit(ConVar::~ConVar,aimcrosshair,&__dso_handle);
ConVar::ConVar((ConVar *)decalfrequency,"decalfrequency","10",0x100);
__cxa_atexit(ConVar::~ConVar,decalfrequency,&__dso_handle);
ConVar::ConVar((ConVar *)tauntfrequency,"tauntfrequency","1",0x100);
__cxa_atexit(ConVar::~ConVar,tauntfrequency,&__dso_handle);
ConVar::ConVar((ConVar *)teamlist,"mp_teamlist","hgrunt;scientist",0x100);
__cxa_atexit(ConVar::~ConVar,teamlist,&__dso_handle);
ConVar::ConVar((ConVar *)teamoverride,"mp_teamoverride","1",0);
__cxa_atexit(ConVar::~ConVar,teamoverride,&__dso_handle);
ConVar::ConVar((ConVar *)defaultteam,"mp_defaultteam","0",0);
__cxa_atexit(ConVar::~ConVar,defaultteam,&__dso_handle);
ConVar::ConVar((ConVar *)allowNPCs,"mp_allowNPCs","1",0x100);
__cxa_atexit(ConVar::~ConVar,allowNPCs,&__dso_handle);
ConVar::ConVar((ConVar *)suitvolume,"suitvolume","0.25",0x80);
__cxa_atexit(ConVar::~ConVar,suitvolume,&__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.