L L4D2node

ServerClassInit<DT_ParticleSmokeGrenade::ignored>

0x0076f270 · 534 bytes · __cdecl

_Z15ServerClassInitIN23DT_ParticleSmokeGrenade7ignoredEEiPT_

Decompiled

int (1 param)

/* int ServerClassInit<DT_ParticleSmokeGrenade::ignored>(DT_ParticleSmokeGrenade::ignored*) */

int ServerClassInit<DT_ParticleSmokeGrenade::ignored>(ignored *param_1)

{
  int iVar1;
  
  if (ServerClassInit<DT_ParticleSmokeGrenade::ignored>(DT_ParticleSmokeGrenade::ignored*)::
      g_SendProps == '\0') {
    iVar1 = __cxa_guard_acquire(&ServerClassInit<DT_ParticleSmokeGrenade::ignored>(DT_ParticleSmokeGrenade::ignored*)
                                 ::g_SendProps);
    if (iVar1 != 0) {
                    /* try { // try from 0076f2ff to 0076f303 has its CatchHandler @ 0076f488 */
      SendPropInt(ServerClassInit<DT_ParticleSmokeGrenade::ignored>(DT_ParticleSmokeGrenade::ignored*)
                  ::g_SendProps,0xbfae4c,0,4,-1,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
                    /* try { // try from 0076f337 to 0076f33b has its CatchHandler @ 0076f4b7 */
      SendPropDataTable(ServerClassInit<DT_ParticleSmokeGrenade::ignored>(DT_ParticleSmokeGrenade::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 0076f35e to 0076f362 has its CatchHandler @ 0076f4d5 */
      SendPropTime(ServerClassInit<DT_ParticleSmokeGrenade::ignored>(DT_ParticleSmokeGrenade::ignored*)
                   ::g_SendProps + 0xa8,0xcab9ac,0x444);
                    /* try { // try from 0076f3b5 to 0076f3b9 has its CatchHandler @ 0076f4dc */
      SendPropFloat(ServerClassInit<DT_ParticleSmokeGrenade::ignored>(DT_ParticleSmokeGrenade::ignored*)
                    ::g_SendProps + 0xfc,0xcab9ba,0x448,4,0,5.60519e-45,0.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                    0xa0);
                    /* try { // try from 0076f40c to 0076f410 has its CatchHandler @ 0076f4e3 */
      SendPropFloat(ServerClassInit<DT_ParticleSmokeGrenade::ignored>(DT_ParticleSmokeGrenade::ignored*)
                    ::g_SendProps + 0x150,0xcab9ca,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 0076f453 to 0076f457 has its CatchHandler @ 0076f4ea */
      SendPropInt(ServerClassInit<DT_ParticleSmokeGrenade::ignored>(DT_ParticleSmokeGrenade::ignored*)
                  ::g_SendProps + 0x1a4,0xcab9d8,0x440,1,1,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
      __cxa_guard_release(&ServerClassInit<DT_ParticleSmokeGrenade::ignored>(DT_ParticleSmokeGrenade::ignored*)
                           ::g_SendProps);
      __cxa_atexit(__tcf_0,0,&__dso_handle);
    }
  }
  SendTable::Construct
            ((SendTable *)DT_ParticleSmokeGrenade::g_SendTable,
             (SendProp *)
             (ServerClassInit<DT_ParticleSmokeGrenade::ignored>(DT_ParticleSmokeGrenade::ignored*)::
              g_SendProps + 0x54),5,"DT_ParticleSmokeGrenade");
  return 1;
}

SourceMod gamedata

paste into addons/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.



        

        

          

Type inference is best-effort from the C signature - sanity-check the DHooks types before shipping.

Return-type handling cheatsheet (DHookReturn)