_GLOBAL__sub_I_r_decal_overlap_count
0x0009f370 · 1299 bytes · unknown
Decompiled
undefined (0 params)
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
void _GLOBAL__sub_I_r_decal_overlap_count(void)
{
undefined4 *puVar1;
undefined4 *puVar2;
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;
ConVar::ConVar((ConVar *)r_decal_overlap_count,"r_decal_overlap_count","3",0);
__cxa_atexit(ConVar::~ConVar,r_decal_overlap_count,&__dso_handle);
ConVar::ConVar((ConVar *)r_decal_overlap_area,"r_decal_overlap_area","0.4",0);
__cxa_atexit(ConVar::~ConVar,r_decal_overlap_area,&__dso_handle);
ConVar::ConVar((ConVar *)r_decal_cover_count,"r_decal_cover_count","4",0);
__cxa_atexit(ConVar::~ConVar,r_decal_cover_count,&__dso_handle);
CUtlMemoryPool::CUtlMemoryPool((CUtlMemoryPool *)g_DecalAllocator,0x60,0x80,1,(char *)0x0,0);
__cxa_atexit(CClassMemoryPool<decal_t>::~CClassMemoryPool,g_DecalAllocator,&__dso_handle);
s_aDecalPool = 0;
_DAT_003b0648 = 0;
_DAT_003b064c = 0;
_DAT_003b0650 = 0;
_DAT_003b0654 = 0;
__cxa_atexit(CUtlVector<decal_t*,CUtlMemory<decal_t*,int>>::~CUtlVector,&s_aDecalPool,
&__dso_handle);
ConVar::ConVar((ConVar *)r_dscale_nearscale,"r_dscale_nearscale","1",0x4000);
__cxa_atexit(ConVar::~ConVar,r_dscale_nearscale,&__dso_handle);
ConVar::ConVar((ConVar *)r_dscale_neardist,"r_dscale_neardist","100",0x4000);
__cxa_atexit(ConVar::~ConVar,r_dscale_neardist,&__dso_handle);
ConVar::ConVar((ConVar *)r_dscale_farscale,"r_dscale_farscale","4",0x4000);
__cxa_atexit(ConVar::~ConVar,r_dscale_farscale,&__dso_handle);
ConVar::ConVar((ConVar *)r_dscale_fardist,"r_dscale_fardist","2000",0x4000);
__cxa_atexit(ConVar::~ConVar,r_dscale_fardist,&__dso_handle);
ConVar::ConVar((ConVar *)r_dscale_basefov,"r_dscale_basefov","90",0x4000);
__cxa_atexit(ConVar::~ConVar,r_dscale_basefov,&__dso_handle);
ConVar::ConVar((ConVar *)r_spray_lifetime,"r_spray_lifetime","10",0,
"Number of rounds player sprays are visible");
__cxa_atexit(ConVar::~ConVar,r_spray_lifetime,&__dso_handle);
ConVar::ConVar((ConVar *)r_queued_decals,"r_queued_decals","0",0,
"Offloads a bit of decal rendering setup work to the material system queue when enabled."
);
__cxa_atexit(ConVar::~ConVar,r_queued_decals,&__dso_handle);
__cxa_atexit(CDecalChecker::~CDecalChecker,&g_DecalChecker,&__dso_handle);
puVar1 = &s_DecalSurfaces;
do {
*puVar1 = 0;
puVar2 = puVar1 + 5;
puVar1[1] = 0;
puVar1[2] = 0;
puVar1[3] = 0;
puVar1[4] = 0;
puVar1 = puVar2;
} while (puVar2 != (undefined4 *)&g_DecalChecker);
__cxa_atexit(__tcf_0,0,&__dso_handle);
ConVar::ConVar((ConVar *)r_drawdecals,"r_drawdecals","1",0x4000,"Render decals.");
__cxa_atexit(ConVar::~ConVar,r_drawdecals,&__dso_handle);
ConVar::ConVar((ConVar *)r_drawbatchdecals,"r_drawbatchdecals","1",0,"Render decals batched.");
__cxa_atexit(ConVar::~ConVar,r_drawbatchdecals,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)r_printdecalinfo,"r_printdecalinfo",r_printdecalinfo_f,(char *)0x0,0,
(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,r_printdecalinfo,&__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.