ServerClassInit<DT_Inferno::ignored>
0x008cb630 · 768 bytes · __cdecl
_Z15ServerClassInitIN10DT_Inferno7ignoredEEiPT_
Decompiled
int (1 param)
/* int ServerClassInit<DT_Inferno::ignored>(DT_Inferno::ignored*) */
int ServerClassInit<DT_Inferno::ignored>(ignored *param_1)
{
int iVar1;
SendProp local_108 [84];
SendProp local_b4 [84];
SendProp local_60 [84];
if (ServerClassInit<DT_Inferno::ignored>(DT_Inferno::ignored*)::g_SendProps == '\0') {
iVar1 = __cxa_guard_acquire(&ServerClassInit<DT_Inferno::ignored>(DT_Inferno::ignored*)::
g_SendProps);
if (iVar1 != 0) {
/* try { // try from 008cb6c7 to 008cb6cb has its CatchHandler @ 008cb934 */
SendPropInt(ServerClassInit<DT_Inferno::ignored>(DT_Inferno::ignored*)::g_SendProps,0xbfae4c,0
,4,-1,(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
/* try { // try from 008cb6ff to 008cb703 has its CatchHandler @ 008cb969 */
SendPropDataTable(ServerClassInit<DT_Inferno::ignored>(DT_Inferno::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 008cb748 to 008cb74c has its CatchHandler @ 008cb9b1 */
SendPropInt((char *)local_108,0xce7a29,0x440,4,0xf,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
/* try { // try from 008cb78b to 008cb78f has its CatchHandler @ 008cb99c */
SendPropArray3(0x10036a8,"m_fireXDelta",0x440,4,0x40,local_108,SendProxy_DataTableToDataTable,
0x80);
SendProp::~SendProp(local_108);
/* try { // try from 008cb7dc to 008cb7e0 has its CatchHandler @ 008cb9af */
SendPropInt((char *)local_b4,0xce7a36,0x540,4,0xf,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
/* try { // try from 008cb81f to 008cb823 has its CatchHandler @ 008cb970 */
SendPropArray3(0x10036fc,"m_fireYDelta",0x540,4,0x40,local_b4,SendProxy_DataTableToDataTable,
0x80);
SendProp::~SendProp(local_b4);
/* try { // try from 008cb86d to 008cb871 has its CatchHandler @ 008cb983 */
SendPropInt((char *)local_60,0xce7a43,0x640,4,0xf,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
/* try { // try from 008cb8b0 to 008cb8b4 has its CatchHandler @ 008cb98a */
SendPropArray3(0x1003750,"m_fireZDelta",0x640,4,0x40,local_60,SendProxy_DataTableToDataTable,
0x80);
SendProp::~SendProp(local_60);
/* try { // try from 008cb8ff to 008cb903 has its CatchHandler @ 008cb998 */
SendPropInt(ServerClassInit<DT_Inferno::ignored>(DT_Inferno::ignored*)::g_SendProps + 0x1a4,
0xce7a50,0xa40,4,7,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
__cxa_guard_release(&ServerClassInit<DT_Inferno::ignored>(DT_Inferno::ignored*)::g_SendProps);
__cxa_atexit(__tcf_0,0,&__dso_handle);
}
}
SendTable::Construct
((SendTable *)DT_Inferno::g_SendTable,
(SendProp *)
(ServerClassInit<DT_Inferno::ignored>(DT_Inferno::ignored*)::g_SendProps + 0x54),5,
"DT_Inferno");
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.