ServerClassInit<DT_SmokeTrail::ignored>
0x008267f0 · 1491 bytes · __cdecl
_Z15ServerClassInitIN13DT_SmokeTrail7ignoredEEiPT_
Decompiled
int (1 param)
/* int ServerClassInit<DT_SmokeTrail::ignored>(DT_SmokeTrail::ignored*) */
int ServerClassInit<DT_SmokeTrail::ignored>(ignored *param_1)
{
int iVar1;
if (ServerClassInit<DT_SmokeTrail::ignored>(DT_SmokeTrail::ignored*)::g_SendProps == '\0') {
iVar1 = __cxa_guard_acquire(&ServerClassInit<DT_SmokeTrail::ignored>(DT_SmokeTrail::ignored*)::
g_SendProps);
if (iVar1 != 0) {
/* try { // try from 0082687f to 00826883 has its CatchHandler @ 00826dc5 */
SendPropInt(ServerClassInit<DT_SmokeTrail::ignored>(DT_SmokeTrail::ignored*)::g_SendProps,
0xbfae4c,0,4,-1,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
/* try { // try from 008268b7 to 008268bb has its CatchHandler @ 00826df8 */
SendPropDataTable(ServerClassInit<DT_SmokeTrail::ignored>(DT_SmokeTrail::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 0082690e to 00826912 has its CatchHandler @ 00826e67 */
SendPropFloat(ServerClassInit<DT_SmokeTrail::ignored>(DT_SmokeTrail::ignored*)::g_SendProps +
0xa8,0xc8c142,0x45c,4,8,0.0,1.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x44800000,
0xa0);
/* try { // try from 00826965 to 00826969 has its CatchHandler @ 00826e53 */
SendPropVector(ServerClassInit<DT_SmokeTrail::ignored>(DT_SmokeTrail::ignored*)::g_SendProps +
0xfc,0xccee57,0x440,0xc,8,0.0,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x3f800000,
0xc0);
/* try { // try from 008269bc to 008269c0 has its CatchHandler @ 00826e5d */
SendPropVector(ServerClassInit<DT_SmokeTrail::ignored>(DT_SmokeTrail::ignored*)::g_SendProps +
0x150,0xccee64,0x44c,0xc,8,0.0,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x3f800000,
0xc0);
/* try { // try from 00826a13 to 00826a17 has its CatchHandler @ 00826e34 */
SendPropFloat(ServerClassInit<DT_SmokeTrail::ignored>(DT_SmokeTrail::ignored*)::g_SendProps +
0x1a4,0xccee6f,0x460,4,0x10,2.24208e-44,0.1,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x42c80000,
0xa0);
/* try { // try from 00826a6a to 00826a6e has its CatchHandler @ 00826e3b */
SendPropFloat(ServerClassInit<DT_SmokeTrail::ignored>(DT_SmokeTrail::ignored*)::g_SendProps +
0x1f8,0xccee82,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 00826ac1 to 00826ac5 has its CatchHandler @ 00826e42 */
SendPropFloat(ServerClassInit<DT_SmokeTrail::ignored>(DT_SmokeTrail::ignored*)::g_SendProps +
0x24c,0xccee91,0x468,4,-1,5.60519e-45,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
/* try { // try from 00826b18 to 00826b1c has its CatchHandler @ 00826e49 */
SendPropFloat(ServerClassInit<DT_SmokeTrail::ignored>(DT_SmokeTrail::ignored*)::g_SendProps +
0x2a0,0xccee9c,0x46c,4,-1,5.60519e-45,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
/* try { // try from 00826b6f to 00826b73 has its CatchHandler @ 00826dff */
SendPropFloat(ServerClassInit<DT_SmokeTrail::ignored>(DT_SmokeTrail::ignored*)::g_SendProps +
0x2f4,0xcceea7,0x47c,4,-1,5.60519e-45,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
/* try { // try from 00826bc6 to 00826bca has its CatchHandler @ 00826e06 */
SendPropFloat(ServerClassInit<DT_SmokeTrail::ignored>(DT_SmokeTrail::ignored*)::g_SendProps +
0x348,0xcceeba,0x480,4,-1,5.60519e-45,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
/* try { // try from 00826c1d to 00826c21 has its CatchHandler @ 00826e0d */
SendPropFloat(ServerClassInit<DT_SmokeTrail::ignored>(DT_SmokeTrail::ignored*)::g_SendProps +
0x39c,0xcce8da,0x470,4,-1,5.60519e-45,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
/* try { // try from 00826c74 to 00826c78 has its CatchHandler @ 00826e14 */
SendPropFloat(ServerClassInit<DT_SmokeTrail::ignored>(DT_SmokeTrail::ignored*)::g_SendProps +
0x3f0,0xcce8e6,0x474,4,-1,5.60519e-45,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
/* try { // try from 00826ccb to 00826ccf has its CatchHandler @ 00826e1b */
SendPropFloat(ServerClassInit<DT_SmokeTrail::ignored>(DT_SmokeTrail::ignored*)::g_SendProps +
0x444,0xcceecd,0x478,4,-1,5.60519e-45,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
/* try { // try from 00826cf2 to 00826cf6 has its CatchHandler @ 00826e22 */
SendPropBool(ServerClassInit<DT_SmokeTrail::ignored>(DT_SmokeTrail::ignored*)::g_SendProps +
0x498,0xc70e3b,0x484);
/* try { // try from 00826d39 to 00826d3d has its CatchHandler @ 00826e29 */
SendPropInt(ServerClassInit<DT_SmokeTrail::ignored>(DT_SmokeTrail::ignored*)::g_SendProps +
0x4ec,0xc1e718,0x488,4,0x20,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
/* try { // try from 00826d90 to 00826d94 has its CatchHandler @ 00826e30 */
SendPropFloat(ServerClassInit<DT_SmokeTrail::ignored>(DT_SmokeTrail::ignored*)::g_SendProps +
0x540,0xcceedb,0x458,4,-1,5.60519e-45,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
__cxa_guard_release(&ServerClassInit<DT_SmokeTrail::ignored>(DT_SmokeTrail::ignored*)::
g_SendProps);
__cxa_atexit(__tcf_0,0,&__dso_handle);
}
}
SendTable::Construct
((SendTable *)DT_SmokeTrail::g_SendTable,
(SendProp *)
(ServerClassInit<DT_SmokeTrail::ignored>(DT_SmokeTrail::ignored*)::g_SendProps + 0x54),
0x10,"DT_SmokeTrail");
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.