L L4D2node

_GLOBAL__sub_I_cv

0x00094df0 · 988 bytes · unknown

Decompiled

undefined (0 params)

void _GLOBAL__sub_I_cv(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_CvarQuery._0_4_ = &PTR_Connect_002ac5a8;
  s_CvarQuery._4_1_ = 0;
  InterfaceReg::InterfaceReg
            ((InterfaceReg *)__g_CreateCCvarQueryICvarQuery_reg,
             __CreateCCvarQueryICvarQuery_interface,"VCvarQuery001");
  ConCommand::ConCommand
            ((ConCommand *)cmd1_command,"cmd1",cmd1,
             "sets userinfo string for split screen player in slot 1",0,
             (int_____char_const__char *)0x0);
  __cxa_atexit(ConCommand::~ConCommand,cmd1_command,&__dso_handle);
  ConCommand::ConCommand
            ((ConCommand *)cmd2_command,"cmd2",cmd2,
             "sets userinfo string for split screen player in slot 2",0,
             (int_____char_const__char *)0x0);
  __cxa_atexit(ConCommand::~ConCommand,cmd2_command,&__dso_handle);
  ConCommand::ConCommand
            ((ConCommand *)cmd3_command,"cmd3",cmd3,
             "sets userinfo string for split screen player in slot 3",0,
             (int_____char_const__char *)0x0);
  __cxa_atexit(ConCommand::~ConCommand,cmd3_command,&__dso_handle);
  ConCommand::ConCommand
            ((ConCommand *)cmd4_command,"cmd4",cmd4,
             "sets userinfo string for split screen player in slot 4",0,
             (int_____char_const__char *)0x0);
  __cxa_atexit(ConCommand::~ConCommand,cmd4_command,&__dso_handle);
  ConCommand::ConCommand
            ((ConCommand *)findflags_command,"findflags",findflags,"Find concommands by flags.",0,
             (int_____char_const__char *)FindFlagsCompletionCallback);
  __cxa_atexit(ConCommand::~ConCommand,findflags_command,&__dso_handle);
  ConCommand::ConCommand
            ((ConCommand *)cvarlist_command,"cvarlist",cvarlist,
             "Show the list of convars/concommands.",0,(int_____char_const__char *)0x0);
  __cxa_atexit(ConCommand::~ConCommand,cvarlist_command,&__dso_handle);
  ConCommand::ConCommand
            ((ConCommand *)help_command,"help",help,"Find help about a convar/concommand.",0,
             (int_____char_const__char *)0x0);
  __cxa_atexit(ConCommand::~ConCommand,help_command,&__dso_handle);
  ConCommand::ConCommand
            ((ConCommand *)differences_command,"differences",differences,
             "Show all convars which are not at their default values.",0,
             (int_____char_const__char *)0x0);
  __cxa_atexit(ConCommand::~ConCommand,differences_command,&__dso_handle);
  ConCommand::ConCommand
            ((ConCommand *)toggle_command,"toggle",toggle,
             "Toggles a convar on or off, or cycles through a set of values.",0,
             (int_____char_const__char *)0x0);
  __cxa_atexit(ConCommand::~ConCommand,toggle_command,&__dso_handle);
  ConCommand::ConCommand
            ((ConCommand *)reset_gameconvars_command,"reset_gameconvars",reset_gameconvars,
             "Reset a bunch of game convars to default values",0x4000,
             (int_____char_const__char *)0x0);
  __cxa_atexit(ConCommand::~ConCommand,reset_gameconvars_command,&__dso_handle);
  return;
}

SourceMod gamedata

paste into addons/sourcemod/gamedata/<your_plugin>.txt
used as the SourceMod key — change to fit your plugin's convention
SourceMod library name (server / engine / matchmaking)

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.



        
        

⚠ 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.

Return-type handling cheatsheet (DHookReturn)