_GLOBAL__sub_I_r_framecount
0x0009bb40 · 3223 bytes · unknown
Decompiled
undefined (0 params)
void _GLOBAL__sub_I_r_framecount(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 *)mat_shadowstate,"mat_shadowstate","1",0);
__cxa_atexit(ConVar::~ConVar,mat_shadowstate,&__dso_handle);
ConVar::ConVar((ConVar *)mat_maxframelatency,"mat_maxframelatency","1",0);
__cxa_atexit(ConVar::~ConVar,mat_maxframelatency,&__dso_handle);
ConVar::ConVar((ConVar *)mat_debugalttab,"mat_debugalttab","0",0x4000);
__cxa_atexit(ConVar::~ConVar,mat_debugalttab,&__dso_handle);
ConVar::ConVar((ConVar *)mat_360_aa_override,"mat_360_aa_override","0.0",0);
__cxa_atexit(ConVar::~ConVar,mat_360_aa_override,&__dso_handle);
CTextureReference::CTextureReference((CTextureReference *)&g_PowerOfTwoFBTexture);
__cxa_atexit(CTextureReference::~CTextureReference,&g_PowerOfTwoFBTexture,&__dso_handle);
CTextureReference::CTextureReference((CTextureReference *)&g_WaterReflectionTexture);
__cxa_atexit(CTextureReference::~CTextureReference,&g_WaterReflectionTexture,&__dso_handle);
CTextureReference::CTextureReference((CTextureReference *)&g_WaterRefractionTexture);
__cxa_atexit(CTextureReference::~CTextureReference,&g_WaterRefractionTexture,&__dso_handle);
CTextureReference::CTextureReference((CTextureReference *)&g_CameraTexture);
__cxa_atexit(CTextureReference::~CTextureReference,&g_CameraTexture,&__dso_handle);
CTextureReference::CTextureReference((CTextureReference *)&g_BuildCubemaps16BitTexture);
__cxa_atexit(CTextureReference::~CTextureReference,&g_BuildCubemaps16BitTexture,&__dso_handle);
CTextureReference::CTextureReference((CTextureReference *)&g_QuarterSizedFBTexture0);
__cxa_atexit(CTextureReference::~CTextureReference,&g_QuarterSizedFBTexture0,&__dso_handle);
CTextureReference::CTextureReference((CTextureReference *)&g_QuarterSizedFBTexture1);
__cxa_atexit(CTextureReference::~CTextureReference,&g_QuarterSizedFBTexture1,&__dso_handle);
CTextureReference::CTextureReference((CTextureReference *)&g_QuarterSizedFBTexture2);
__cxa_atexit(CTextureReference::~CTextureReference,&g_QuarterSizedFBTexture2,&__dso_handle);
CTextureReference::CTextureReference((CTextureReference *)&g_QuarterSizedFBTexture3);
__cxa_atexit(CTextureReference::~CTextureReference,&g_QuarterSizedFBTexture3,&__dso_handle);
CTextureReference::CTextureReference((CTextureReference *)&g_TeenyFBTexture0);
__cxa_atexit(CTextureReference::~CTextureReference,&g_TeenyFBTexture0,&__dso_handle);
CTextureReference::CTextureReference((CTextureReference *)&g_TeenyFBTexture1);
__cxa_atexit(CTextureReference::~CTextureReference,&g_TeenyFBTexture1,&__dso_handle);
CTextureReference::CTextureReference((CTextureReference *)&g_TeenyFBTexture2);
__cxa_atexit(CTextureReference::~CTextureReference,&g_TeenyFBTexture2,&__dso_handle);
CTextureReference::CTextureReference((CTextureReference *)&g_FullFrameFBTexture0);
__cxa_atexit(CTextureReference::~CTextureReference,&g_FullFrameFBTexture0,&__dso_handle);
CTextureReference::CTextureReference((CTextureReference *)&g_FullFrameFBTexture1);
__cxa_atexit(CTextureReference::~CTextureReference,&g_FullFrameFBTexture1,&__dso_handle);
CTextureReference::CTextureReference((CTextureReference *)&g_FullFrameFBTexture2);
__cxa_atexit(CTextureReference::~CTextureReference,&g_FullFrameFBTexture2,&__dso_handle);
CTextureReference::CTextureReference((CTextureReference *)&g_FullFrameDepth);
__cxa_atexit(CTextureReference::~CTextureReference,&g_FullFrameDepth,&__dso_handle);
ConVar::ConVar((ConVar *)r_norefresh,"r_norefresh","0",0);
__cxa_atexit(ConVar::~ConVar,r_norefresh,&__dso_handle);
ConVar::ConVar((ConVar *)r_decals,"r_decals","2048",0);
__cxa_atexit(ConVar::~ConVar,r_decals,&__dso_handle);
ConVar::ConVar((ConVar *)r_lightmap,"r_lightmap","-1",0x804000);
__cxa_atexit(ConVar::~ConVar,r_lightmap,&__dso_handle);
ConVar::ConVar((ConVar *)r_lightstyle,"r_lightstyle","-1",0x804000);
__cxa_atexit(ConVar::~ConVar,r_lightstyle,&__dso_handle);
ConVar::ConVar((ConVar *)r_dynamic,"r_dynamic","1",0x80000);
__cxa_atexit(ConVar::~ConVar,r_dynamic,&__dso_handle);
ConVar::ConVar((ConVar *)mat_norendering,"mat_norendering","0",0x4000);
__cxa_atexit(ConVar::~ConVar,mat_norendering,&__dso_handle);
ConVar::ConVar((ConVar *)mat_wireframe,"mat_wireframe","0",0x4000);
__cxa_atexit(ConVar::~ConVar,mat_wireframe,&__dso_handle);
ConVar::ConVar((ConVar *)mat_luxels,"mat_luxels","0",0x4000);
__cxa_atexit(ConVar::~ConVar,mat_luxels,&__dso_handle);
ConVar::ConVar((ConVar *)mat_normals,"mat_normals","0",0x4000);
__cxa_atexit(ConVar::~ConVar,mat_normals,&__dso_handle);
ConVar::ConVar((ConVar *)mat_bumpbasis,"mat_bumpbasis","0",0x4000);
__cxa_atexit(ConVar::~ConVar,mat_bumpbasis,&__dso_handle);
ConVar::ConVar((ConVar *)mat_envmapsize,"mat_envmapsize","128",0);
__cxa_atexit(ConVar::~ConVar,mat_envmapsize,&__dso_handle);
ConVar::ConVar((ConVar *)mat_envmaptgasize,"mat_envmaptgasize","32.0",0);
__cxa_atexit(ConVar::~ConVar,mat_envmaptgasize,&__dso_handle);
ConVar::ConVar((ConVar *)mat_levelflush,"mat_levelflush","1",0);
__cxa_atexit(ConVar::~ConVar,mat_levelflush,&__dso_handle);
ConVar::ConVar((ConVar *)mat_fastspecular,"mat_fastspecular","1",0,
"Enable/Disable specularity for visual testing. Will not reload materials and will not affect perf."
);
__cxa_atexit(ConVar::~ConVar,mat_fastspecular,&__dso_handle);
ConVar::ConVar((ConVar *)mat_fullbright,"mat_fullbright","0",0x4000);
__cxa_atexit(ConVar::~ConVar,mat_fullbright,&__dso_handle);
ConVar::ConVar((ConVar *)mat_monitorgamma,"mat_monitorgamma","2.2",0x1000080,
"monitor gamma (typically 2.2 for CRT and 1.7 for LCD)",true,1.6,true,2.6);
__cxa_atexit(ConVar::~ConVar,mat_monitorgamma,&__dso_handle);
ConVar::ConVar((ConVar *)mat_monitorgamma_tv_range_min,"mat_monitorgamma_tv_range_min","16",0);
__cxa_atexit(ConVar::~ConVar,mat_monitorgamma_tv_range_min,&__dso_handle);
ConVar::ConVar((ConVar *)mat_monitorgamma_tv_range_max,"mat_monitorgamma_tv_range_max","255",0);
__cxa_atexit(ConVar::~ConVar,mat_monitorgamma_tv_range_max,&__dso_handle);
ConVar::ConVar((ConVar *)mat_monitorgamma_tv_exp,"mat_monitorgamma_tv_exp","2.5",0,"",true,1.0,
true,4.0);
__cxa_atexit(ConVar::~ConVar,mat_monitorgamma_tv_exp,&__dso_handle);
ConVar::ConVar((ConVar *)mat_monitorgamma_tv_enabled,"mat_monitorgamma_tv_enabled","0",0x1000080,
"");
__cxa_atexit(ConVar::~ConVar,mat_monitorgamma_tv_enabled,&__dso_handle);
ConVar::ConVar((ConVar *)r_drawbrushmodels,"r_drawbrushmodels","1",0x4000,
"Render brush models. 0=Off, 1=Normal, 2=Wireframe");
__cxa_atexit(ConVar::~ConVar,r_drawbrushmodels,&__dso_handle);
ConVar::ConVar((ConVar *)r_shadowrendertotexture,"r_shadowrendertotexture","0",0);
__cxa_atexit(ConVar::~ConVar,r_shadowrendertotexture,&__dso_handle);
ConVar::ConVar((ConVar *)r_flashlightdepthtexture,"r_flashlightdepthtexture","1",0);
__cxa_atexit(ConVar::~ConVar,r_flashlightdepthtexture,&__dso_handle);
ConVar::ConVar((ConVar *)mat_motion_blur_enabled,"mat_motion_blur_enabled","1",0);
__cxa_atexit(ConVar::~ConVar,mat_motion_blur_enabled,&__dso_handle);
ConVar::ConVar((ConVar *)mat_depthbias_normal,"mat_depthbias_normal","0.0f",0x4000);
__cxa_atexit(ConVar::~ConVar,mat_depthbias_normal,&__dso_handle);
ConVar::ConVar((ConVar *)mat_hdr_level,"mat_hdr_level","2",0,
"Set to 0 for no HDR, 1 for LDR+bloom on HDR maps, and 2 for full HDR on HDR maps."
,mat_hdr_level_Callback);
__cxa_atexit(ConVar::~ConVar,mat_hdr_level,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)mat_configcurrent_command,"mat_configcurrent",mat_configcurrent,
"show the current video control panel config for the material system",0,
(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,mat_configcurrent_command,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)mat_savechanges_command,"mat_savechanges",mat_savechanges,
"saves current video configuration to the registry",0,(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,mat_savechanges_command,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)mat_debug_command,"mat_debug",mat_debug,
"Activates debugging spew for a specific material.",0x4000,
(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,mat_debug_command,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)mat_suppress_command,"mat_suppress",mat_suppress,
"Supress a material from drawing",0x4000,(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,mat_suppress_command,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)mat_info_command,"mat_info",mat_info,"Shows material system info",0,
(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,mat_info_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.