ServerClassInit<DT_EnvTonemapController::ignored>
0x00697710 · 1246 bytes · __cdecl
_Z15ServerClassInitIN23DT_EnvTonemapController7ignoredEEiPT_
Decompiled
int (1 param)
/* int ServerClassInit<DT_EnvTonemapController::ignored>(DT_EnvTonemapController::ignored*) */
int ServerClassInit<DT_EnvTonemapController::ignored>(ignored *param_1)
{
int iVar1;
if (ServerClassInit<DT_EnvTonemapController::ignored>(DT_EnvTonemapController::ignored*)::
g_SendProps == '\0') {
iVar1 = __cxa_guard_acquire(&ServerClassInit<DT_EnvTonemapController::ignored>(DT_EnvTonemapController::ignored*)
::g_SendProps);
if (iVar1 != 0) {
/* try { // try from 0069779f to 006977a3 has its CatchHandler @ 00697bf0 */
SendPropInt(ServerClassInit<DT_EnvTonemapController::ignored>(DT_EnvTonemapController::ignored*)
::g_SendProps,0xbfae4c,0,4,-1,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
/* try { // try from 006977d7 to 006977db has its CatchHandler @ 00697c1f */
SendPropDataTable(ServerClassInit<DT_EnvTonemapController::ignored>(DT_EnvTonemapController::ignored*)
::g_SendProps + 0x54,0xc087aa,(SendTable *)0x0,
(_func_void_ptr_SendProp_ptr_void_ptr_void_ptr_CSendProxyRecipients_ptr_int
*)CBaseEntity::m_pClassSendTable,'P');
/* try { // try from 0069781e to 00697822 has its CatchHandler @ 00697c3d */
SendPropInt(ServerClassInit<DT_EnvTonemapController::ignored>(DT_EnvTonemapController::ignored*)
::g_SendProps + 0xa8,0xc80768,0x450,1,1,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
/* try { // try from 00697865 to 00697869 has its CatchHandler @ 00697c44 */
SendPropInt(ServerClassInit<DT_EnvTonemapController::ignored>(DT_EnvTonemapController::ignored*)
::g_SendProps + 0xfc,0xc80784,0x451,1,1,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
/* try { // try from 006978ac to 006978b0 has its CatchHandler @ 00697c4b */
SendPropInt(ServerClassInit<DT_EnvTonemapController::ignored>(DT_EnvTonemapController::ignored*)
::g_SendProps + 0x150,0xc807a0,0x452,1,1,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
/* try { // try from 00697903 to 00697907 has its CatchHandler @ 00697c52 */
SendPropFloat(ServerClassInit<DT_EnvTonemapController::ignored>(DT_EnvTonemapController::ignored*)
::g_SendProps + 0x1a4,0xc807b7,0x454,4,0,5.60519e-45,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
/* try { // try from 0069795a to 0069795e has its CatchHandler @ 00697c59 */
SendPropFloat(ServerClassInit<DT_EnvTonemapController::ignored>(DT_EnvTonemapController::ignored*)
::g_SendProps + 0x1f8,0xc807d1,0x458,4,0,5.60519e-45,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
/* try { // try from 006979b1 to 006979b5 has its CatchHandler @ 00697c60 */
SendPropFloat(ServerClassInit<DT_EnvTonemapController::ignored>(DT_EnvTonemapController::ignored*)
::g_SendProps + 0x24c,0xc807eb,0x45c,4,0,5.60519e-45,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
/* try { // try from 00697a08 to 00697a0c has its CatchHandler @ 00697c67 */
SendPropFloat(ServerClassInit<DT_EnvTonemapController::ignored>(DT_EnvTonemapController::ignored*)
::g_SendProps + 0x2a0,0xc80800,0x460,4,0,5.60519e-45,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
/* try { // try from 00697a5f to 00697a63 has its CatchHandler @ 00697c6e */
SendPropFloat(ServerClassInit<DT_EnvTonemapController::ignored>(DT_EnvTonemapController::ignored*)
::g_SendProps + 0x2f4,0xc8081c,0x464,4,0,5.60519e-45,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
/* try { // try from 00697ab6 to 00697aba has its CatchHandler @ 00697c75 */
SendPropFloat(ServerClassInit<DT_EnvTonemapController::ignored>(DT_EnvTonemapController::ignored*)
::g_SendProps + 0x348,0xc8082e,0x468,4,0,5.60519e-45,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
/* try { // try from 00697b0d to 00697b11 has its CatchHandler @ 00697c7f */
SendPropFloat(ServerClassInit<DT_EnvTonemapController::ignored>(DT_EnvTonemapController::ignored*)
::g_SendProps + 0x39c,0xc80842,0x46c,4,0,5.60519e-45,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
/* try { // try from 00697b64 to 00697b68 has its CatchHandler @ 00697c89 */
SendPropFloat(ServerClassInit<DT_EnvTonemapController::ignored>(DT_EnvTonemapController::ignored*)
::g_SendProps + 0x3f0,0xc80bc8,0x470,4,0,5.60519e-45,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
/* try { // try from 00697bbb to 00697bbf has its CatchHandler @ 00697c93 */
SendPropFloat(ServerClassInit<DT_EnvTonemapController::ignored>(DT_EnvTonemapController::ignored*)
::g_SendProps + 0x444,0xc8085b,0x474,4,0,5.60519e-45,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
__cxa_guard_release(&ServerClassInit<DT_EnvTonemapController::ignored>(DT_EnvTonemapController::ignored*)
::g_SendProps);
__cxa_atexit(__tcf_0,0,&__dso_handle);
}
}
SendTable::Construct
((SendTable *)DT_EnvTonemapController::g_SendTable,
(SendProp *)
(ServerClassInit<DT_EnvTonemapController::ignored>(DT_EnvTonemapController::ignored*)::
g_SendProps + 0x54),0xd,"DT_EnvTonemapController");
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.