ServerClassInit<DT_ClientPath::ignored>
0x008cf3d0 · 712 bytes · __cdecl
_Z15ServerClassInitIN13DT_ClientPath7ignoredEEiPT_
Decompiled
int (1 param)
/* int ServerClassInit<DT_ClientPath::ignored>(DT_ClientPath::ignored*) */
int ServerClassInit<DT_ClientPath::ignored>(ignored *param_1)
{
int iVar1;
SendProp local_108 [84];
SendProp local_b4 [84];
SendProp local_60 [84];
if (ServerClassInit<DT_ClientPath::ignored>(DT_ClientPath::ignored*)::g_SendProps == '\0') {
iVar1 = __cxa_guard_acquire(&ServerClassInit<DT_ClientPath::ignored>(DT_ClientPath::ignored*)::
g_SendProps);
if (iVar1 != 0) {
/* try { // try from 008cf467 to 008cf46b has its CatchHandler @ 008cf69c */
SendPropInt(ServerClassInit<DT_ClientPath::ignored>(DT_ClientPath::ignored*)::g_SendProps,
0xbfae4c,0,4,-1,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
/* try { // try from 008cf4b0 to 008cf4b4 has its CatchHandler @ 008cf6c7 */
SendPropInt((char *)local_108,0xce90fa,0x440,4,0xf,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
/* try { // try from 008cf4f3 to 008cf4f7 has its CatchHandler @ 008cf6e4 */
SendPropArray3(0x1003bd4,"m_posX",0x440,4,0x100,local_108,SendProxy_DataTableToDataTable,0x80)
;
SendProp::~SendProp(local_108);
/* try { // try from 008cf544 to 008cf548 has its CatchHandler @ 008cf6f7 */
SendPropInt((char *)local_b4,0xce9101,0x840,4,0xf,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
/* try { // try from 008cf587 to 008cf58b has its CatchHandler @ 008cf700 */
SendPropArray3(0x1003c28,"m_posY",0x840,4,0x100,local_b4,SendProxy_DataTableToDataTable,0x80);
SendProp::~SendProp(local_b4);
/* try { // try from 008cf5d5 to 008cf5d9 has its CatchHandler @ 008cf713 */
SendPropInt((char *)local_60,0xce9108,0xc40,4,0xf,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
/* try { // try from 008cf618 to 008cf61c has its CatchHandler @ 008cf71c */
SendPropArray3(0x1003c7c,"m_posZ",0xc40,4,0x100,local_60,SendProxy_DataTableToDataTable,0x80);
SendProp::~SendProp(local_60);
/* try { // try from 008cf667 to 008cf66b has its CatchHandler @ 008cf732 */
SendPropInt(ServerClassInit<DT_ClientPath::ignored>(DT_ClientPath::ignored*)::g_SendProps +
0x150,0xce910f,0x1040,4,10,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
__cxa_guard_release(&ServerClassInit<DT_ClientPath::ignored>(DT_ClientPath::ignored*)::
g_SendProps);
__cxa_atexit(__tcf_0,0,&__dso_handle);
}
}
SendTable::Construct
((SendTable *)DT_ClientPath::g_SendTable,
(SendProp *)
(ServerClassInit<DT_ClientPath::ignored>(DT_ClientPath::ignored*)::g_SendProps + 0x54),
4,"DT_ClientPath");
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.