L L4D2node

ServerClassInit<DT_SpriteTrail::ignored>

0x004c47a0 · 946 bytes · __cdecl

_Z15ServerClassInitIN14DT_SpriteTrail7ignoredEEiPT_

Decompiled

int (1 param)

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

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

{
  int iVar1;
  
  if (ServerClassInit<DT_SpriteTrail::ignored>(DT_SpriteTrail::ignored*)::g_SendProps == '\0') {
    iVar1 = __cxa_guard_acquire(&ServerClassInit<DT_SpriteTrail::ignored>(DT_SpriteTrail::ignored*)
                                 ::g_SendProps);
    if (iVar1 != 0) {
                    /* try { // try from 004c482f to 004c4833 has its CatchHandler @ 004c4b54 */
      SendPropInt(ServerClassInit<DT_SpriteTrail::ignored>(DT_SpriteTrail::ignored*)::g_SendProps,
                  0xbfae4c,0,4,-1,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
                    /* try { // try from 004c4867 to 004c486b has its CatchHandler @ 004c4b83 */
      SendPropDataTable(ServerClassInit<DT_SpriteTrail::ignored>(DT_SpriteTrail::ignored*)::
                        g_SendProps + 0x54,0xc087aa,(SendTable *)0x0,
                        (_func_void_ptr_SendProp_ptr_void_ptr_void_ptr_CSendProxyRecipients_ptr_int
                         *)CSprite::m_pClassSendTable,'P');
                    /* try { // try from 004c48be to 004c48c2 has its CatchHandler @ 004c4ba1 */
      SendPropFloat(ServerClassInit<DT_SpriteTrail::ignored>(DT_SpriteTrail::ignored*)::g_SendProps
                    + 0xa8,0xc1f0a5,0x490,4,0,5.60519e-45,0.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                    0xa0);
                    /* try { // try from 004c4915 to 004c4919 has its CatchHandler @ 004c4ba8 */
      SendPropFloat(ServerClassInit<DT_SpriteTrail::ignored>(DT_SpriteTrail::ignored*)::g_SendProps
                    + 0xfc,0xc1f0b2,0x494,4,0,5.60519e-45,0.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                    0xa0);
                    /* try { // try from 004c496c to 004c4970 has its CatchHandler @ 004c4baf */
      SendPropFloat(ServerClassInit<DT_SpriteTrail::ignored>(DT_SpriteTrail::ignored*)::g_SendProps
                    + 0x150,0xc1f0c1,0x498,4,0,5.60519e-45,0.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                    0xa0);
                    /* try { // try from 004c49c3 to 004c49c7 has its CatchHandler @ 004c4bb6 */
      SendPropFloat(ServerClassInit<DT_SpriteTrail::ignored>(DT_SpriteTrail::ignored*)::g_SendProps
                    + 0x1a4,0xc1f0ce,0x49c,4,0,5.60519e-45,0.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                    0xa0);
                    /* try { // try from 004c4a1a to 004c4a1e has its CatchHandler @ 004c4bbd */
      SendPropFloat(ServerClassInit<DT_SpriteTrail::ignored>(DT_SpriteTrail::ignored*)::g_SendProps
                    + 0x1f8,0xc1f0e5,0x4a0,4,0,5.60519e-45,0.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                    0xa0);
                    /* try { // try from 004c4a71 to 004c4a75 has its CatchHandler @ 004c4bc4 */
      SendPropFloat(ServerClassInit<DT_SpriteTrail::ignored>(DT_SpriteTrail::ignored*)::g_SendProps
                    + 0x24c,0xc1f0f4,0x4a4,4,0,5.60519e-45,0.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                    0xa0);
                    /* try { // try from 004c4ac8 to 004c4acc has its CatchHandler @ 004c4bcb */
      SendPropVector(ServerClassInit<DT_SpriteTrail::ignored>(DT_SpriteTrail::ignored*)::g_SendProps
                     + 0x2a0,0xc1f106,0x4a8,0xc,0,5.60519e-45,0.0,
                     (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                     0xc0);
                    /* try { // try from 004c4b1f to 004c4b23 has its CatchHandler @ 004c4bd2 */
      SendPropFloat(ServerClassInit<DT_SpriteTrail::ignored>(DT_SpriteTrail::ignored*)::g_SendProps
                    + 0x2f4,0xc1f118,0x4b4,4,0,5.60519e-45,0.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                    0xa0);
      __cxa_guard_release(&ServerClassInit<DT_SpriteTrail::ignored>(DT_SpriteTrail::ignored*)::
                           g_SendProps);
      __cxa_atexit(__tcf_0,0,&__dso_handle);
    }
  }
  SendTable::Construct
            ((SendTable *)DT_SpriteTrail::g_SendTable,
             (SendProp *)
             (ServerClassInit<DT_SpriteTrail::ignored>(DT_SpriteTrail::ignored*)::g_SendProps + 0x54
             ),9,"DT_SpriteTrail");
  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)