CMapListItem::_GLOBAL__sub_I_CMapListItem
0x0009a1d0 · 838 bytes · __cdecl
Decompiled
undefined (0 params)
/* CMapListItem::CMapListItem() */
void CMapListItem::_GLOBAL__sub_I_CMapListItem(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;
g_MapListMgr._4_4_ = 0;
g_MapListMgr._8_4_ = 0;
g_MapListMgr._12_4_ = 0;
g_MapListMgr._16_4_ = 0xffffffff;
g_MapListMgr._20_4_ = 0;
g_MapListMgr._24_4_ = 0xffffffff;
g_MapListMgr._28_4_ = 0xffffffff;
g_MapListMgr._32_4_ = 0;
g_MapListMgr._0_4_ = CaselessStringLessThan;
g_MapListMgr._36_4_ = 0xbf800000;
g_MapListMgr[0x28] = 0;
__cxa_atexit(CMapListManager::~CMapListManager,g_MapListMgr,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)maps,"maps",Host_Maps_f,"Displays list of maps.",0,
(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,maps,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)map,"map",Host_Map_f,"Start playing on specified map.",0x20000,
(int_____char_const__char *)Host_Map_f_CompletionFunc);
__cxa_atexit(ConCommand::~ConCommand,map,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)ss_map,"ss_map",Host_SplitScreen_Map_f,
"Start playing on specified map with max allowed splitscreen players.",0x20000,
(int_____char_const__char *)Host_SSMap_f_CompletionFunc);
__cxa_atexit(ConCommand::~ConCommand,ss_map,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)map_background,"map_background",Host_Map_Background_f,
"Runs a map as the background to the main menu.",0x20000,
(int_____char_const__char *)Host_Background_f_CompletionFunc);
__cxa_atexit(ConCommand::~ConCommand,map_background,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)map_commentary,"map_commentary",Host_Map_Commentary_f,
"Start playing, with commentary, on a specified map.",0x20000,
(int_____char_const__char *)Host_Map_Commentary_f_CompletionFunc);
__cxa_atexit(ConCommand::~ConCommand,map_commentary,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)changelevel,"changelevel",Host_Changelevel_f,
"Change server to the specified map",0x20000,
(int_____char_const__char *)Host_Changelevel_f_CompletionFunc);
__cxa_atexit(ConCommand::~ConCommand,changelevel,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)changelevel2,"changelevel2",Host_Changelevel2_f,
"Transition to the specified map in single player",0x20000,
(int_____char_const__char *)Host_Changelevel2_f_CompletionFunc);
__cxa_atexit(ConCommand::~ConCommand,changelevel2,&__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.