L L4D2node

_GLOBAL__sub_I_r_staticpropinfo

0x0009ff40 · 983 bytes · unknown

Decompiled

undefined (0 params)

void _GLOBAL__sub_I_r_staticpropinfo(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 *)r_DrawSpecificStaticProp,"r_DrawSpecificStaticProp","-1",0);
  __cxa_atexit(ConVar::~ConVar,r_DrawSpecificStaticProp,&__dso_handle);
  ConVar::ConVar((ConVar *)r_drawstaticprops,"r_drawstaticprops","1",0x4000,
                 "0=Off, 1=Normal, 2=Wireframe");
  __cxa_atexit(ConVar::~ConVar,r_drawstaticprops,&__dso_handle);
  ConVar::ConVar((ConVar *)r_colorstaticprops,"r_colorstaticprops","0",0x4000);
  __cxa_atexit(ConVar::~ConVar,r_colorstaticprops,&__dso_handle);
  ConVar::ConVar((ConVar *)r_staticpropinfo,"r_staticpropinfo","0",0);
  __cxa_atexit(ConVar::~ConVar,r_staticpropinfo,&__dso_handle);
  ConVar::ConVar((ConVar *)r_drawmodeldecals,"r_drawmodeldecals","1",0);
  __cxa_atexit(ConVar::~ConVar,r_drawmodeldecals,&__dso_handle);
  ConVar::ConVar((ConVar *)disableStaticPropLoading,"disable_static_prop_loading","0",0x4000,
                 "If non-zero when a map loads, static props won\'t be loaded");
  __cxa_atexit(ConVar::~ConVar,disableStaticPropLoading,&__dso_handle);
  ConVar::ConVar((ConVar *)phys2_merge_static_props,"phys2_merge_static_props","1",0x2000);
  __cxa_atexit(ConVar::~ConVar,phys2_merge_static_props,&__dso_handle);
  ConVar::ConVar((ConVar *)force_disablex360,"force_disablex360","0",0x4000);
  __cxa_atexit(ConVar::~ConVar,force_disablex360,&__dso_handle);
  CStaticPropMgr::CStaticPropMgr((CStaticPropMgr *)s_StaticPropMgr);
  __cxa_atexit(CStaticPropMgr::~CStaticPropMgr,s_StaticPropMgr,&__dso_handle);
  InterfaceReg::InterfaceReg
            ((InterfaceReg *)__g_CreateCStaticPropMgrIStaticPropMgrClient_reg,
             __CreateCStaticPropMgrIStaticPropMgrClient_interface,"StaticPropMgrClient005");
  InterfaceReg::InterfaceReg
            ((InterfaceReg *)__g_CreateCStaticPropMgrIStaticPropMgrServer_reg,
             __CreateCStaticPropMgrIStaticPropMgrServer_interface,"StaticPropMgrServer002");
  ConVar::ConVar((ConVar *)pipeline_static_props,"pipeline_static_props","1",0);
  __cxa_atexit(ConVar::~ConVar,pipeline_static_props,&__dso_handle);
  ConVar::ConVar((ConVar *)cl_skipslowpath,"cl_skipslowpath","0",0x4000,
                 "Set to 1 to skip any models that don\'t go through the model fast path");
  __cxa_atexit(ConVar::~ConVar,cl_skipslowpath,&__dso_handle);
  ConCommand::ConCommand
            ((ConCommand *)prop_crosshair,"prop_crosshair",Cmd_PropCrosshair_f,
             "Shows name for prop looking at",0x4000,(int_____char_const__char *)0x0);
  __cxa_atexit(ConCommand::~ConCommand,prop_crosshair,&__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)