L L4D2node

ServerClassInit<DT_WeaponSpawn::ignored>

0x008d7c10 · 749 bytes · __cdecl

_Z15ServerClassInitIN14DT_WeaponSpawn7ignoredEEiPT_

Decompiled

int (1 param)

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

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

{
  int iVar1;
  
  if (ServerClassInit<DT_WeaponSpawn::ignored>(DT_WeaponSpawn::ignored*)::g_SendProps == '\0') {
    iVar1 = __cxa_guard_acquire(&ServerClassInit<DT_WeaponSpawn::ignored>(DT_WeaponSpawn::ignored*)
                                 ::g_SendProps);
    if (iVar1 != 0) {
                    /* try { // try from 008d7c9f to 008d7ca3 has its CatchHandler @ 008d7eff */
      SendPropInt(ServerClassInit<DT_WeaponSpawn::ignored>(DT_WeaponSpawn::ignored*)::g_SendProps,
                  0xbfae4c,0,4,-1,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
                    /* try { // try from 008d7cd7 to 008d7cdb has its CatchHandler @ 008d7f2e */
      SendPropDataTable(ServerClassInit<DT_WeaponSpawn::ignored>(DT_WeaponSpawn::ignored*)::
                        g_SendProps + 0x54,0xc087aa,(SendTable *)0x0,
                        (_func_void_ptr_SendProp_ptr_void_ptr_void_ptr_CSendProxyRecipients_ptr_int
                         *)CBaseAnimating::m_pClassSendTable,'P');
                    /* try { // try from 008d7cf6 to 008d7cfa has its CatchHandler @ 008d7f35 */
      SendPropExclude(ServerClassInit<DT_WeaponSpawn::ignored>(DT_WeaponSpawn::ignored*)::
                      g_SendProps + 0xa8,"DT_BaseAnimating");
                    /* try { // try from 008d7d15 to 008d7d19 has its CatchHandler @ 008d7f53 */
      SendPropExclude(ServerClassInit<DT_WeaponSpawn::ignored>(DT_WeaponSpawn::ignored*)::
                      g_SendProps + 0xfc,"DT_BaseAnimating");
                    /* try { // try from 008d7d34 to 008d7d38 has its CatchHandler @ 008d7f5a */
      SendPropExclude(ServerClassInit<DT_WeaponSpawn::ignored>(DT_WeaponSpawn::ignored*)::
                      g_SendProps + 0x150,"DT_BaseAnimating");
                    /* try { // try from 008d7d53 to 008d7d57 has its CatchHandler @ 008d7f61 */
      SendPropExclude(ServerClassInit<DT_WeaponSpawn::ignored>(DT_WeaponSpawn::ignored*)::
                      g_SendProps + 0x1a4,"DT_BaseAnimating");
                    /* try { // try from 008d7d72 to 008d7d76 has its CatchHandler @ 008d7f68 */
      SendPropExclude(ServerClassInit<DT_WeaponSpawn::ignored>(DT_WeaponSpawn::ignored*)::
                      g_SendProps + 0x1f8,"DT_BaseAnimating");
                    /* try { // try from 008d7d91 to 008d7d95 has its CatchHandler @ 008d7f6f */
      SendPropExclude(ServerClassInit<DT_WeaponSpawn::ignored>(DT_WeaponSpawn::ignored*)::
                      g_SendProps + 0x24c,"DT_BaseAnimating");
                    /* try { // try from 008d7db0 to 008d7db4 has its CatchHandler @ 008d7f76 */
      SendPropExclude(ServerClassInit<DT_WeaponSpawn::ignored>(DT_WeaponSpawn::ignored*)::
                      g_SendProps + 0x2a0,"DT_BaseAnimatingOverlay");
                    /* try { // try from 008d7dcf to 008d7dd3 has its CatchHandler @ 008d7f7d */
      SendPropExclude(ServerClassInit<DT_WeaponSpawn::ignored>(DT_WeaponSpawn::ignored*)::
                      g_SendProps + 0x2f4,"DT_BaseFlex");
                    /* try { // try from 008d7dee to 008d7df2 has its CatchHandler @ 008d7f84 */
      SendPropExclude(ServerClassInit<DT_WeaponSpawn::ignored>(DT_WeaponSpawn::ignored*)::
                      g_SendProps + 0x348,"DT_BaseFlex");
                    /* try { // try from 008d7e0d to 008d7e11 has its CatchHandler @ 008d7f8e */
      SendPropExclude(ServerClassInit<DT_WeaponSpawn::ignored>(DT_WeaponSpawn::ignored*)::
                      g_SendProps + 0x39c,"DT_ServerAnimationData");
                    /* try { // try from 008d7e2c to 008d7e30 has its CatchHandler @ 008d7f98 */
      SendPropExclude(ServerClassInit<DT_WeaponSpawn::ignored>(DT_WeaponSpawn::ignored*)::
                      g_SendProps + 0x3f0,"DT_AnimTimeMustBeFirst");
                    /* try { // try from 008d7e73 to 008d7e77 has its CatchHandler @ 008d7fa2 */
      SendPropInt(ServerClassInit<DT_WeaponSpawn::ignored>(DT_WeaponSpawn::ignored*)::g_SendProps +
                  0x444,0xcede22,0x1458,4,8,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
                    /* try { // try from 008d7eca to 008d7ece has its CatchHandler @ 008d7fac */
      SendPropFloat(ServerClassInit<DT_WeaponSpawn::ignored>(DT_WeaponSpawn::ignored*)::g_SendProps
                    + 0x498,0xcede2d,0x145c,4,0x20,0.0,0.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                    0xa0);
      __cxa_guard_release(&ServerClassInit<DT_WeaponSpawn::ignored>(DT_WeaponSpawn::ignored*)::
                           g_SendProps);
      __cxa_atexit(__tcf_0,0,&__dso_handle);
    }
  }
  SendTable::Construct
            ((SendTable *)DT_WeaponSpawn::g_SendTable,
             (SendProp *)
             (ServerClassInit<DT_WeaponSpawn::ignored>(DT_WeaponSpawn::ignored*)::g_SendProps + 0x54
             ),0xe,"DT_WeaponSpawn");
  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)