_GLOBAL__sub_I_GlobalEntity_SetState
0x003a31d0 · 526 bytes · unknown
Decompiled
undefined (0 params)
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* GlobalEntity_SetState(int, GLOBALESTATE) */
void _GLOBAL__sub_I_GlobalEntity_SetState(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;
CAutoGameSystem::CAutoGameSystem((CAutoGameSystem *)gGlobalState,"CGlobalState");
gGlobalState._0_4_ = &PTR_Name_00c93448;
/* try { // try from 003a32a8 to 003a32ac has its CatchHandler @ 003a33de */
CUtlSymbolTable::CUtlSymbolTable((CUtlSymbolTable *)(gGlobalState + 0xc),0,0x10,false);
gGlobalState[0x44] = 0;
gGlobalState._72_4_ = 0;
gGlobalState._76_4_ = 0;
gGlobalState._80_4_ = 0;
gGlobalState._84_4_ = 0;
gGlobalState._88_4_ = 0;
__cxa_atexit(CGlobalState::~CGlobalState,gGlobalState,&__dso_handle);
g_GlobalSymbolDataOps._0_4_ = &PTR_Save_00c93418;
g_GlobalSymbolDataOps._4_4_ = 0xfe37cc;
ConCommand::ConCommand
((ConCommand *)dump_globals_command,"dump_globals",dump_globals,
"Dump all global entities/states",0,(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,dump_globals_command,&__dso_handle);
CGlobalState_DataDescInit::g_DataMapHolder = DataMapInit<CGlobalState>((CGlobalState *)0x0);
globalentity_t_DataDescInit::g_DataMapHolder = DataMapInit<globalentity_t>((globalentity_t *)0x0);
ConCommand::ConCommand
((ConCommand *)server_game_time_command,"server_game_time",server_game_time,
"Gives the game time in seconds (server\'s curtime)",0,(int_____char_const__char *)0x0)
;
__cxa_atexit(ConCommand::~ConCommand,server_game_time_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.