L L4D2node

ServerClassInit<DT_SporeExplosion::ignored>

0x00828e20 · 763 bytes · __cdecl

_Z15ServerClassInitIN17DT_SporeExplosion7ignoredEEiPT_

Decompiled

int (1 param)

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

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

{
  int iVar1;
  char *pcVar2;
  undefined4 uVar3;
  undefined4 uVar4;
  
  if (ServerClassInit<DT_SporeExplosion::ignored>(DT_SporeExplosion::ignored*)::g_SendProps == '\0')
  {
    iVar1 = __cxa_guard_acquire(&ServerClassInit<DT_SporeExplosion::ignored>(DT_SporeExplosion::ignored*)
                                 ::g_SendProps);
    if (iVar1 != 0) {
                    /* try { // try from 00828eaf to 00828eb3 has its CatchHandler @ 0082911d */
      SendPropInt(ServerClassInit<DT_SporeExplosion::ignored>(DT_SporeExplosion::ignored*)::
                  g_SendProps,0xbfae4c,0,4,-1,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
                    /* try { // try from 00828ee7 to 00828eeb has its CatchHandler @ 0082914c */
      SendPropDataTable(ServerClassInit<DT_SporeExplosion::ignored>(DT_SporeExplosion::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 00828f3e to 00828f42 has its CatchHandler @ 0082917a */
      SendPropFloat(ServerClassInit<DT_SporeExplosion::ignored>(DT_SporeExplosion::ignored*)::
                    g_SendProps + 0xa8,0xccef3b,0x444,4,8,0.0,1.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x44800000,
                    0xa0);
                    /* try { // try from 00828f95 to 00828f99 has its CatchHandler @ 0082916c */
      SendPropFloat(ServerClassInit<DT_SporeExplosion::ignored>(DT_SporeExplosion::ignored*)::
                    g_SendProps + 0xfc,0xccef57,0x448,4,0x10,2.24208e-44,0.1,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x42c80000,
                    0xa0);
                    /* try { // try from 00828fec to 00828ff0 has its CatchHandler @ 00829173 */
      SendPropFloat(ServerClassInit<DT_SporeExplosion::ignored>(DT_SporeExplosion::ignored*)::
                    g_SendProps + 0x150,0xc11c97,0x44c,4,-1,5.60519e-45,0.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                    0xa0);
                    /* try { // try from 00829043 to 00829047 has its CatchHandler @ 00829153 */
      SendPropFloat(ServerClassInit<DT_SporeExplosion::ignored>(DT_SporeExplosion::ignored*)::
                    g_SendProps + 0x1a4,0xc11ca5,0x450,4,-1,5.60519e-45,0.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                    0xa0);
                    /* try { // try from 0082909a to 0082909e has its CatchHandler @ 0082915a */
      SendPropFloat(ServerClassInit<DT_SporeExplosion::ignored>(DT_SporeExplosion::ignored*)::
                    g_SendProps + 0x1f8,0xccef6c,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 008290c1 to 008290c5 has its CatchHandler @ 00829161 */
      SendPropBool(ServerClassInit<DT_SporeExplosion::ignored>(DT_SporeExplosion::ignored*)::
                   g_SendProps + 0x24c,0xc70e3b,0x458);
      uVar4 = 1;
      uVar3 = 0x459;
      pcVar2 = "m_bDontRemove";
                    /* try { // try from 008290e8 to 008290ec has its CatchHandler @ 00829168 */
      SendPropBool(ServerClassInit<DT_SporeExplosion::ignored>(DT_SporeExplosion::ignored*)::
                   g_SendProps + 0x2a0,0xccef99,0x459);
      __cxa_guard_release(&ServerClassInit<DT_SporeExplosion::ignored>(DT_SporeExplosion::ignored*)
                           ::g_SendProps,pcVar2,uVar3,uVar4);
      __cxa_atexit(__tcf_3,0,&__dso_handle);
    }
  }
  SendTable::Construct
            ((SendTable *)DT_SporeExplosion::g_SendTable,
             (SendProp *)
             (ServerClassInit<DT_SporeExplosion::ignored>(DT_SporeExplosion::ignored*)::g_SendProps
             + 0x54),8,"DT_SporeExplosion");
  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)