ServerClassInit<DT_ColorCorrection::ignored>
0x00645da0 · 1022 bytes · __cdecl
_Z15ServerClassInitIN18DT_ColorCorrection7ignoredEEiPT_
Decompiled
int (1 param)
/* int ServerClassInit<DT_ColorCorrection::ignored>(DT_ColorCorrection::ignored*) */
int ServerClassInit<DT_ColorCorrection::ignored>(ignored *param_1)
{
int iVar1;
char *pcVar2;
undefined4 uVar3;
undefined4 uVar4;
if (ServerClassInit<DT_ColorCorrection::ignored>(DT_ColorCorrection::ignored*)::g_SendProps ==
'\0') {
iVar1 = __cxa_guard_acquire(&ServerClassInit<DT_ColorCorrection::ignored>(DT_ColorCorrection::ignored*)
::g_SendProps);
if (iVar1 != 0) {
/* try { // try from 00645e2f to 00645e33 has its CatchHandler @ 006461a0 */
SendPropInt(ServerClassInit<DT_ColorCorrection::ignored>(DT_ColorCorrection::ignored*)::
g_SendProps,0xbfae4c,0,4,-1,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
/* try { // try from 00645e86 to 00645e8a has its CatchHandler @ 006461cf */
SendPropVector(ServerClassInit<DT_ColorCorrection::ignored>(DT_ColorCorrection::ignored*)::
g_SendProps + 0x54,0xbfae62,0x39c,0xc,-1,5.60519e-45,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
'`');
/* try { // try from 00645edd to 00645ee1 has its CatchHandler @ 006461e4 */
SendPropFloat(ServerClassInit<DT_ColorCorrection::ignored>(DT_ColorCorrection::ignored*)::
g_SendProps + 0xa8,0xc69df8,0x464,4,0x20,0.0,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
/* try { // try from 00645f34 to 00645f38 has its CatchHandler @ 006461d6 */
SendPropFloat(ServerClassInit<DT_ColorCorrection::ignored>(DT_ColorCorrection::ignored*)::
g_SendProps + 0xfc,0xc69e05,0x468,4,0x20,0.0,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
/* try { // try from 00645f8b to 00645f8f has its CatchHandler @ 006461dd */
SendPropFloat(ServerClassInit<DT_ColorCorrection::ignored>(DT_ColorCorrection::ignored*)::
g_SendProps + 0x150,0xc69e12,0x46c,4,0x20,0.0,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
/* try { // try from 00645fe2 to 00645fe6 has its CatchHandler @ 00646202 */
SendPropFloat(ServerClassInit<DT_ColorCorrection::ignored>(DT_ColorCorrection::ignored*)::
g_SendProps + 0x1a4,0xc69e20,0x458,4,0x20,0.0,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
/* try { // try from 00646039 to 0064603d has its CatchHandler @ 00646209 */
SendPropFloat(ServerClassInit<DT_ColorCorrection::ignored>(DT_ColorCorrection::ignored*)::
g_SendProps + 0x1f8,0xc69e2e,0x440,4,0x20,0.0,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
/* try { // try from 00646090 to 00646094 has its CatchHandler @ 00646210 */
SendPropFloat(ServerClassInit<DT_ColorCorrection::ignored>(DT_ColorCorrection::ignored*)::
g_SendProps + 0x24c,0xc69e41,0x444,4,0x20,0.0,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
/* try { // try from 006460cf to 006460d3 has its CatchHandler @ 00646217 */
SendPropString(ServerClassInit<DT_ColorCorrection::ignored>(DT_ColorCorrection::ignored*)::
g_SendProps + 0x2a0,0xc69e55,0x470,0x104,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,0x90);
/* try { // try from 006460f6 to 006460fa has its CatchHandler @ 0064621e */
SendPropBool(ServerClassInit<DT_ColorCorrection::ignored>(DT_ColorCorrection::ignored*)::
g_SendProps + 0x2f4,0xc57b59,0x45d);
/* try { // try from 0064611d to 00646121 has its CatchHandler @ 00646225 */
SendPropBool(ServerClassInit<DT_ColorCorrection::ignored>(DT_ColorCorrection::ignored*)::
g_SendProps + 0x348,0xc69e69,0x45e);
/* try { // try from 00646144 to 00646148 has its CatchHandler @ 0064622f */
SendPropBool(ServerClassInit<DT_ColorCorrection::ignored>(DT_ColorCorrection::ignored*)::
g_SendProps + 0x39c,0xc69e73,0x45f);
uVar4 = 1;
uVar3 = 0x460;
pcVar2 = "m_bExclusive";
/* try { // try from 0064616b to 0064616f has its CatchHandler @ 00646239 */
SendPropBool(ServerClassInit<DT_ColorCorrection::ignored>(DT_ColorCorrection::ignored*)::
g_SendProps + 0x3f0,0xc69e81,0x460);
__cxa_guard_release(&ServerClassInit<DT_ColorCorrection::ignored>(DT_ColorCorrection::ignored*)
::g_SendProps,pcVar2,uVar3,uVar4);
__cxa_atexit(__tcf_0,0,&__dso_handle);
}
}
SendTable::Construct
((SendTable *)DT_ColorCorrection::g_SendTable,
(SendProp *)
(ServerClassInit<DT_ColorCorrection::ignored>(DT_ColorCorrection::ignored*)::
g_SendProps + 0x54),0xc,"DT_ColorCorrection");
return 1;
}
SourceMod gamedata
paste intoaddons/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.
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.
Gamedata KeyValues
DHooks plugin example
Type inference is best-effort from the C signature - sanity-check the DHooks types before shipping.