ServerClassInit<DT_EnvDOFController::ignored>
0x0068d110 · 843 bytes · __cdecl
_Z15ServerClassInitIN19DT_EnvDOFController7ignoredEEiPT_
Decompiled
int (1 param)
/* int ServerClassInit<DT_EnvDOFController::ignored>(DT_EnvDOFController::ignored*) */
int ServerClassInit<DT_EnvDOFController::ignored>(ignored *param_1)
{
int iVar1;
if (ServerClassInit<DT_EnvDOFController::ignored>(DT_EnvDOFController::ignored*)::g_SendProps ==
'\0') {
iVar1 = __cxa_guard_acquire(&ServerClassInit<DT_EnvDOFController::ignored>(DT_EnvDOFController::ignored*)
::g_SendProps);
if (iVar1 != 0) {
/* try { // try from 0068d19f to 0068d1a3 has its CatchHandler @ 0068d45d */
SendPropInt(ServerClassInit<DT_EnvDOFController::ignored>(DT_EnvDOFController::ignored*)::
g_SendProps,0xbfae4c,0,4,-1,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
/* try { // try from 0068d1d7 to 0068d1db has its CatchHandler @ 0068d48c */
SendPropDataTable(ServerClassInit<DT_EnvDOFController::ignored>(DT_EnvDOFController::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 0068d21e to 0068d222 has its CatchHandler @ 0068d4ba */
SendPropInt(ServerClassInit<DT_EnvDOFController::ignored>(DT_EnvDOFController::ignored*)::
g_SendProps + 0xa8,0xc7cbe4,0x448,1,1,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
/* try { // try from 0068d275 to 0068d279 has its CatchHandler @ 0068d4ac */
SendPropFloat(ServerClassInit<DT_EnvDOFController::ignored>(DT_EnvDOFController::ignored*)::
g_SendProps + 0xfc,0xc7cbf2,0x44c,4,0,5.60519e-45,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
/* try { // try from 0068d2cc to 0068d2d0 has its CatchHandler @ 0068d4b3 */
SendPropFloat(ServerClassInit<DT_EnvDOFController::ignored>(DT_EnvDOFController::ignored*)::
g_SendProps + 0x150,0xc7cc04,0x450,4,0,5.60519e-45,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
/* try { // try from 0068d323 to 0068d327 has its CatchHandler @ 0068d493 */
SendPropFloat(ServerClassInit<DT_EnvDOFController::ignored>(DT_EnvDOFController::ignored*)::
g_SendProps + 0x1a4,0xc7cc17,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 0068d37a to 0068d37e has its CatchHandler @ 0068d49a */
SendPropFloat(ServerClassInit<DT_EnvDOFController::ignored>(DT_EnvDOFController::ignored*)::
g_SendProps + 0x1f8,0xc7cc29,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 0068d3d1 to 0068d3d5 has its CatchHandler @ 0068d4a1 */
SendPropFloat(ServerClassInit<DT_EnvDOFController::ignored>(DT_EnvDOFController::ignored*)::
g_SendProps + 0x24c,0xc7cc3a,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 0068d428 to 0068d42c has its CatchHandler @ 0068d4a8 */
SendPropFloat(ServerClassInit<DT_EnvDOFController::ignored>(DT_EnvDOFController::ignored*)::
g_SendProps + 0x2a0,0xc7cc4d,0x460,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_EnvDOFController::ignored>(DT_EnvDOFController::ignored*)
::g_SendProps);
__cxa_atexit(__tcf_0,0,&__dso_handle);
}
}
SendTable::Construct
((SendTable *)DT_EnvDOFController::g_SendTable,
(SendProp *)
(ServerClassInit<DT_EnvDOFController::ignored>(DT_EnvDOFController::ignored*)::
g_SendProps + 0x54),8,"DT_EnvDOFController");
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.