ServerClassInit<DT_SporeTrail::ignored>
0x008285c0 · 811 bytes · __cdecl
_Z15ServerClassInitIN13DT_SporeTrail7ignoredEEiPT_
Decompiled
int (1 param)
/* int ServerClassInit<DT_SporeTrail::ignored>(DT_SporeTrail::ignored*) */
int ServerClassInit<DT_SporeTrail::ignored>(ignored *param_1)
{
int iVar1;
char *pcVar2;
undefined4 uVar3;
undefined4 uVar4;
if (ServerClassInit<DT_SporeTrail::ignored>(DT_SporeTrail::ignored*)::g_SendProps == '\0') {
iVar1 = __cxa_guard_acquire(&ServerClassInit<DT_SporeTrail::ignored>(DT_SporeTrail::ignored*)::
g_SendProps);
if (iVar1 != 0) {
/* try { // try from 0082864f to 00828653 has its CatchHandler @ 008288ed */
SendPropInt(ServerClassInit<DT_SporeTrail::ignored>(DT_SporeTrail::ignored*)::g_SendProps,
0xbfae4c,0,4,-1,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
/* try { // try from 00828687 to 0082868b has its CatchHandler @ 0082891c */
SendPropDataTable(ServerClassInit<DT_SporeTrail::ignored>(DT_SporeTrail::ignored*)::
g_SendProps + 0x54,0xc087aa,(SendTable *)0x0,
(_func_void_ptr_SendProp_ptr_void_ptr_void_ptr_CSendProxyRecipients_ptr_int
*)CBaseParticleEntity::m_pClassSendTable,'P');
/* try { // try from 008286de to 008286e2 has its CatchHandler @ 0082894a */
SendPropFloat(ServerClassInit<DT_SporeTrail::ignored>(DT_SporeTrail::ignored*)::g_SendProps +
0xa8,0xccef3b,0x44c,4,8,0.0,1.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x44800000,
0xa0);
/* try { // try from 00828735 to 00828739 has its CatchHandler @ 0082893c */
SendPropVector(ServerClassInit<DT_SporeTrail::ignored>(DT_SporeTrail::ignored*)::g_SendProps +
0xfc,0xccef49,0x440,0xc,8,0.0,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x3f800000,
0xc0);
/* try { // try from 0082878c to 00828790 has its CatchHandler @ 00828943 */
SendPropFloat(ServerClassInit<DT_SporeTrail::ignored>(DT_SporeTrail::ignored*)::g_SendProps +
0x150,0xccef57,0x450,4,0x10,2.24208e-44,0.1,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x42c80000,
0xa0);
/* try { // try from 008287e3 to 008287e7 has its CatchHandler @ 00828923 */
SendPropFloat(ServerClassInit<DT_SporeTrail::ignored>(DT_SporeTrail::ignored*)::g_SendProps +
0x1a4,0xc11c97,0x454,4,-1,5.60519e-45,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
/* try { // try from 0082883a to 0082883e has its CatchHandler @ 0082892a */
SendPropFloat(ServerClassInit<DT_SporeTrail::ignored>(DT_SporeTrail::ignored*)::g_SendProps +
0x1f8,0xc11ca5,0x458,4,-1,5.60519e-45,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
/* try { // try from 00828891 to 00828895 has its CatchHandler @ 00828931 */
SendPropFloat(ServerClassInit<DT_SporeTrail::ignored>(DT_SporeTrail::ignored*)::g_SendProps +
0x24c,0xccef6c,0x45c,4,-1,5.60519e-45,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
uVar4 = 1;
uVar3 = 0x460;
pcVar2 = "m_bEmit";
/* try { // try from 008288b8 to 008288bc has its CatchHandler @ 00828938 */
SendPropBool(ServerClassInit<DT_SporeTrail::ignored>(DT_SporeTrail::ignored*)::g_SendProps +
0x2a0,0xc70e3b,0x460);
__cxa_guard_release(&ServerClassInit<DT_SporeTrail::ignored>(DT_SporeTrail::ignored*)::
g_SendProps,pcVar2,uVar3,uVar4);
__cxa_atexit(__tcf_2,0,&__dso_handle);
}
}
SendTable::Construct
((SendTable *)DT_SporeTrail::g_SendTable,
(SendProp *)
(ServerClassInit<DT_SporeTrail::ignored>(DT_SporeTrail::ignored*)::g_SendProps + 0x54),
8,"DT_SporeTrail");
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.