L L4D2node

ServerClassInit<DT_TEExplosion::ignored>

0x00aff950 · 850 bytes · __cdecl

_Z15ServerClassInitIN14DT_TEExplosion7ignoredEEiPT_

Decompiled

int (1 param)

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

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

{
  int iVar1;
  
  if (ServerClassInit<DT_TEExplosion::ignored>(DT_TEExplosion::ignored*)::g_SendProps == '\0') {
    iVar1 = __cxa_guard_acquire(&ServerClassInit<DT_TEExplosion::ignored>(DT_TEExplosion::ignored*)
                                 ::g_SendProps);
    if (iVar1 != 0) {
                    /* try { // try from 00aff9df to 00aff9e3 has its CatchHandler @ 00affca4 */
      SendPropInt(ServerClassInit<DT_TEExplosion::ignored>(DT_TEExplosion::ignored*)::g_SendProps,
                  0xbfae4c,0,4,-1,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
                    /* try { // try from 00affa17 to 00affa1b has its CatchHandler @ 00affcd3 */
      SendPropDataTable(ServerClassInit<DT_TEExplosion::ignored>(DT_TEExplosion::ignored*)::
                        g_SendProps + 0x54,0xc087aa,(SendTable *)0x0,
                        (_func_void_ptr_SendProp_ptr_void_ptr_void_ptr_CSendProxyRecipients_ptr_int
                         *)CTEParticleSystem::m_pClassSendTable,'P');
                    /* try { // try from 00affa5e to 00affa62 has its CatchHandler @ 00affcf1 */
      SendPropInt(ServerClassInit<DT_TEExplosion::ignored>(DT_TEExplosion::ignored*)::g_SendProps +
                  0xa8,0xc0a9d0,0x18,4,0xc,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
                    /* try { // try from 00affab5 to 00affab9 has its CatchHandler @ 00affcf8 */
      SendPropFloat(ServerClassInit<DT_TEExplosion::ignored>(DT_TEExplosion::ignored*)::g_SendProps
                    + 0xfc,0xd3b644,0x1c,4,9,0.0,0.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x424ccccd,
                    0xa0);
                    /* try { // try from 00affafc to 00affb00 has its CatchHandler @ 00affcff */
      SendPropInt(ServerClassInit<DT_TEExplosion::ignored>(DT_TEExplosion::ignored*)::g_SendProps +
                  0x150,0xd3ac12,0x20,4,8,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 00affb43 to 00affb47 has its CatchHandler @ 00affd06 */
      SendPropInt(ServerClassInit<DT_TEExplosion::ignored>(DT_TEExplosion::ignored*)::g_SendProps +
                  0x1a4,0xc86be2,0x24,4,9,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 00affb9a to 00affb9e has its CatchHandler @ 00affd0d */
      SendPropVector(ServerClassInit<DT_TEExplosion::ignored>(DT_TEExplosion::ignored*)::g_SendProps
                     + 0x1f8,0xd3b64d,0x28,0xc,-1,5.73972e-42,0.0,
                     (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                     0xc0);
                    /* try { // try from 00affbe1 to 00affbe5 has its CatchHandler @ 00affd14 */
      SendPropInt(ServerClassInit<DT_TEExplosion::ignored>(DT_TEExplosion::ignored*)::g_SendProps +
                  0x24c,0xd3b659,0x34,1,8,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 00affc28 to 00affc2c has its CatchHandler @ 00affd1b */
      SendPropInt(ServerClassInit<DT_TEExplosion::ignored>(DT_TEExplosion::ignored*)::g_SendProps +
                  0x2a0,0xd3b66a,0x38,4,0x20,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 00affc6f to 00affc73 has its CatchHandler @ 00affd22 */
      SendPropInt(ServerClassInit<DT_TEExplosion::ignored>(DT_TEExplosion::ignored*)::g_SendProps +
                  0x2f4,0xc7750a,0x3c,4,0x20,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
      __cxa_guard_release(&ServerClassInit<DT_TEExplosion::ignored>(DT_TEExplosion::ignored*)::
                           g_SendProps);
      __cxa_atexit(__tcf_0,0,&__dso_handle);
    }
  }
  SendTable::Construct
            ((SendTable *)DT_TEExplosion::g_SendTable,
             (SendProp *)
             (ServerClassInit<DT_TEExplosion::ignored>(DT_TEExplosion::ignored*)::g_SendProps + 0x54
             ),9,"DT_TEExplosion");
  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)