L L4D2node

ServerClassInit<DT_Infected::ignored>

0x00a161e0 · 2522 bytes · __cdecl

_Z15ServerClassInitIN11DT_Infected7ignoredEEiPT_

Decompiled

int (1 param)

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

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

{
  int iVar1;
  code *pcVar2;
  undefined4 uVar3;
  SendProp local_60 [84];
  
  if (ServerClassInit<DT_Infected::ignored>(DT_Infected::ignored*)::g_SendProps == '\0') {
    iVar1 = __cxa_guard_acquire(&ServerClassInit<DT_Infected::ignored>(DT_Infected::ignored*)::
                                 g_SendProps);
    if (iVar1 != 0) {
                    /* try { // try from 00a16277 to 00a1627b has its CatchHandler @ 00a16bbe */
      SendPropInt(ServerClassInit<DT_Infected::ignored>(DT_Infected::ignored*)::g_SendProps,0xbfae4c
                  ,0,4,-1,(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0'
                 );
                    /* try { // try from 00a162af to 00a162b3 has its CatchHandler @ 00a16bed */
      SendPropDataTable(ServerClassInit<DT_Infected::ignored>(DT_Infected::ignored*)::g_SendProps +
                        0x54,0xc087aa,(SendTable *)0x0,
                        (_func_void_ptr_SendProp_ptr_void_ptr_void_ptr_CSendProxyRecipients_ptr_int
                         *)NextBotCombatCharacter::m_pClassSendTable,'P');
                    /* try { // try from 00a162ce to 00a162d2 has its CatchHandler @ 00a16bf4 */
      SendPropExclude(ServerClassInit<DT_Infected::ignored>(DT_Infected::ignored*)::g_SendProps +
                      0xa8,"DT_BaseAnimatingOverlay");
                    /* try { // try from 00a162ed to 00a162f1 has its CatchHandler @ 00a16c12 */
      SendPropExclude(ServerClassInit<DT_Infected::ignored>(DT_Infected::ignored*)::g_SendProps +
                      0xfc,"DT_BaseAnimating");
                    /* try { // try from 00a1630c to 00a16310 has its CatchHandler @ 00a16c19 */
      SendPropExclude(ServerClassInit<DT_Infected::ignored>(DT_Infected::ignored*)::g_SendProps +
                      0x150,"DT_BaseAnimating");
                    /* try { // try from 00a1632b to 00a1632f has its CatchHandler @ 00a16c20 */
      SendPropExclude(ServerClassInit<DT_Infected::ignored>(DT_Infected::ignored*)::g_SendProps +
                      0x1a4,"DT_BaseAnimating");
                    /* try { // try from 00a16382 to 00a16386 has its CatchHandler @ 00a16c27 */
      SendPropFloat(ServerClassInit<DT_Infected::ignored>(DT_Infected::ignored*)::g_SendProps +
                    0x1f8,0xd20066,0x1cd8,4,0x20,0.0,0.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                    0xa0);
                    /* try { // try from 00a163c9 to 00a163cd has its CatchHandler @ 00a16c2e */
      SendPropInt(ServerClassInit<DT_Infected::ignored>(DT_Infected::ignored*)::g_SendProps + 0x24c,
                  0xc5d1d7,0x253,1,2,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 00a16410 to 00a16414 has its CatchHandler @ 00a16c35 */
      SendPropInt(ServerClassInit<DT_Infected::ignored>(DT_Infected::ignored*)::g_SendProps + 0x2a0,
                  0xc09a70,0x150,4,10,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)
                  ((int)&__DT_REL[0x5c40].r_offset + 1),0xb0);
                    /* try { // try from 00a16447 to 00a1644b has its CatchHandler @ 00a16c3c */
      SendPropEHandle(ServerClassInit<DT_Infected::ignored>(DT_Infected::ignored*)::g_SendProps +
                      0x2f4,0xd2007a,0x1d0c,4,
                      (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)
                      &DAT_ffffffff);
      uVar3 = 8;
      pcVar2 = SendProxy_FloatToFloat;
                    /* try { // try from 00a1649e to 00a164a2 has its CatchHandler @ 00a16c43 */
      SendPropFloat(ServerClassInit<DT_Infected::ignored>(DT_Infected::ignored*)::g_SendProps +
                    0x348,0xd2008f,0x1d10,4,8,3.67342e-40,-90.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x42b40000,
                    0xa0);
                    /* try { // try from 00a164d4 to 00a164d8 has its CatchHandler @ 00a16c4d */
      SendPropDataTable((char *)local_60,0,(SendTable *)0x0,
                        (_func_void_ptr_SendProp_ptr_void_ptr_void_ptr_CSendProxyRecipients_ptr_int
                         *)DT_InfectedAnimationLayer::g_SendTable,'P');
                    /* try { // try from 00a16517 to 00a1651b has its CatchHandler @ 00a16c57 */
      SendPropUtlVector(0x102353c,"m_clientAnimatedOverlay",0x1d14,0x18,
                        UtlVectorTemplate<CInfectedAnimationLayer,CUtlMemory<CInfectedAnimationLayer,int>>
                        ::EnsureCapacity,6,local_60,SendProxy_DataTableToDataTable,pcVar2,uVar3);
      SendProp::~SendProp(local_60);
                    /* try { // try from 00a1653e to 00a16542 has its CatchHandler @ 00a16c65 */
      SendPropExclude(ServerClassInit<DT_Infected::ignored>(DT_Infected::ignored*)::g_SendProps +
                      0x3f0,"DT_BaseAnimating");
                    /* try { // try from 00a1655d to 00a16561 has its CatchHandler @ 00a16c6f */
      SendPropExclude(ServerClassInit<DT_Infected::ignored>(DT_Infected::ignored*)::g_SendProps +
                      0x444,"DT_BaseAnimating");
                    /* try { // try from 00a1657c to 00a16580 has its CatchHandler @ 00a16c79 */
      SendPropExclude(ServerClassInit<DT_Infected::ignored>(DT_Infected::ignored*)::g_SendProps +
                      0x498,"DT_BaseFlex");
                    /* try { // try from 00a1659b to 00a1659f has its CatchHandler @ 00a16c83 */
      SendPropExclude(ServerClassInit<DT_Infected::ignored>(DT_Infected::ignored*)::g_SendProps +
                      0x4ec,"DT_BaseFlex");
                    /* try { // try from 00a165ba to 00a165be has its CatchHandler @ 00a16c8d */
      SendPropExclude(ServerClassInit<DT_Infected::ignored>(DT_Infected::ignored*)::g_SendProps +
                      0x540,"DT_BaseEntity");
                    /* try { // try from 00a165d9 to 00a165dd has its CatchHandler @ 00a16c97 */
      SendPropExclude(ServerClassInit<DT_Infected::ignored>(DT_Infected::ignored*)::g_SendProps +
                      0x594,"DT_BaseEntity");
                    /* try { // try from 00a165f8 to 00a165fc has its CatchHandler @ 00a16ca1 */
      SendPropExclude(ServerClassInit<DT_Infected::ignored>(DT_Infected::ignored*)::g_SendProps +
                      0x5e8,"DT_BaseEntity");
                    /* try { // try from 00a16617 to 00a1661b has its CatchHandler @ 00a16cab */
      SendPropExclude(ServerClassInit<DT_Infected::ignored>(DT_Infected::ignored*)::g_SendProps +
                      0x63c,"DT_BaseEntity");
                    /* try { // try from 00a16636 to 00a1663a has its CatchHandler @ 00a16cb5 */
      SendPropExclude(ServerClassInit<DT_Infected::ignored>(DT_Infected::ignored*)::g_SendProps +
                      0x690,"DT_BaseEntity");
                    /* try { // try from 00a16655 to 00a16659 has its CatchHandler @ 00a16cbf */
      SendPropExclude(ServerClassInit<DT_Infected::ignored>(DT_Infected::ignored*)::g_SendProps +
                      0x6e4,"DT_BaseEntity");
                    /* try { // try from 00a16674 to 00a16678 has its CatchHandler @ 00a16cc9 */
      SendPropExclude(ServerClassInit<DT_Infected::ignored>(DT_Infected::ignored*)::g_SendProps +
                      0x738,"DT_BaseEntity");
                    /* try { // try from 00a16693 to 00a16697 has its CatchHandler @ 00a16cd3 */
      SendPropExclude(ServerClassInit<DT_Infected::ignored>(DT_Infected::ignored*)::g_SendProps +
                      0x78c,"DT_BaseEntity");
                    /* try { // try from 00a166b2 to 00a166b6 has its CatchHandler @ 00a16cdd */
      SendPropExclude(ServerClassInit<DT_Infected::ignored>(DT_Infected::ignored*)::g_SendProps +
                      0x7e0,"DT_BaseEntity");
                    /* try { // try from 00a166d1 to 00a166d5 has its CatchHandler @ 00a16ce7 */
      SendPropExclude(ServerClassInit<DT_Infected::ignored>(DT_Infected::ignored*)::g_SendProps +
                      0x834,"DT_BaseEntity");
                    /* try { // try from 00a166f0 to 00a166f4 has its CatchHandler @ 00a16cf1 */
      SendPropExclude(ServerClassInit<DT_Infected::ignored>(DT_Infected::ignored*)::g_SendProps +
                      0x888,"DT_BaseEntity");
                    /* try { // try from 00a1670f to 00a16713 has its CatchHandler @ 00a16cfb */
      SendPropExclude(ServerClassInit<DT_Infected::ignored>(DT_Infected::ignored*)::g_SendProps +
                      0x8dc,"DT_BaseEntity");
                    /* try { // try from 00a1672e to 00a16732 has its CatchHandler @ 00a16d05 */
      SendPropExclude(ServerClassInit<DT_Infected::ignored>(DT_Infected::ignored*)::g_SendProps +
                      0x930,"DT_BaseEntity");
                    /* try { // try from 00a1674d to 00a16751 has its CatchHandler @ 00a16d0f */
      SendPropExclude(ServerClassInit<DT_Infected::ignored>(DT_Infected::ignored*)::g_SendProps +
                      0x984,"DT_BaseAnimating");
                    /* try { // try from 00a1676c to 00a16770 has its CatchHandler @ 00a16d19 */
      SendPropExclude(ServerClassInit<DT_Infected::ignored>(DT_Infected::ignored*)::g_SendProps +
                      0x9d8,"DT_BaseAnimating");
                    /* try { // try from 00a1678b to 00a1678f has its CatchHandler @ 00a16d23 */
      SendPropExclude(ServerClassInit<DT_Infected::ignored>(DT_Infected::ignored*)::g_SendProps +
                      0xa2c,"DT_BaseAnimating");
                    /* try { // try from 00a167aa to 00a167ae has its CatchHandler @ 00a16d2d */
      SendPropExclude(ServerClassInit<DT_Infected::ignored>(DT_Infected::ignored*)::g_SendProps +
                      0xa80,"DT_BaseAnimating");
                    /* try { // try from 00a167c9 to 00a167cd has its CatchHandler @ 00a16d37 */
      SendPropExclude(ServerClassInit<DT_Infected::ignored>(DT_Infected::ignored*)::g_SendProps +
                      0xad4,"DT_BaseAnimating");
                    /* try { // try from 00a167e8 to 00a167ec has its CatchHandler @ 00a16d41 */
      SendPropExclude(ServerClassInit<DT_Infected::ignored>(DT_Infected::ignored*)::g_SendProps +
                      0xb28,"DT_BaseAnimating");
                    /* try { // try from 00a16807 to 00a1680b has its CatchHandler @ 00a16d4b */
      SendPropExclude(ServerClassInit<DT_Infected::ignored>(DT_Infected::ignored*)::g_SendProps +
                      0xb7c,"DT_BaseCombatCharacter");
                    /* try { // try from 00a16826 to 00a1682a has its CatchHandler @ 00a16d55 */
      SendPropExclude(ServerClassInit<DT_Infected::ignored>(DT_Infected::ignored*)::g_SendProps +
                      0xbd0,"DT_BaseCombatCharacter");
                    /* try { // try from 00a16845 to 00a16849 has its CatchHandler @ 00a16d5f */
      SendPropExclude(ServerClassInit<DT_Infected::ignored>(DT_Infected::ignored*)::g_SendProps +
                      0xc24,"DT_BaseEntity");
                    /* try { // try from 00a1689c to 00a168a0 has its CatchHandler @ 00a16d69 */
      SendPropVectorXY(ServerClassInit<DT_Infected::ignored>(DT_Infected::ignored*)::g_SendProps +
                       0xc78,0xbfae62,0x39c,0xc,5,4.59177e-40,0.0,
                       (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                       'P');
                    /* try { // try from 00a168f3 to 00a168f7 has its CatchHandler @ 00a16d73 */
      SendPropFloat(ServerClassInit<DT_Infected::ignored>(DT_Infected::ignored*)::g_SendProps +
                    0xccc,0xc6d01c,-0x3a4,4,5,4.59177e-40,0.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                    0x80);
                    /* try { // try from 00a1693a to 00a1693e has its CatchHandler @ 00a16d7d */
      SendPropAngle(ServerClassInit<DT_Infected::ignored>(DT_Infected::ignored*)::g_SendProps +
                    0xd20,0xc63f5c,-0x3a8,4,8,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,0xa0);
                    /* try { // try from 00a16981 to 00a16985 has its CatchHandler @ 00a16d87 */
      SendPropAngle(ServerClassInit<DT_Infected::ignored>(DT_Infected::ignored*)::g_SendProps +
                    0xd74,0xc63f6d,-0x3ac,4,8,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)
                    (__DT_REL + 0x5c40),0xa0);
                    /* try { // try from 00a169c8 to 00a169cc has its CatchHandler @ 00a16d91 */
      SendPropAngle(ServerClassInit<DT_Infected::ignored>(DT_Infected::ignored*)::g_SendProps +
                    0xdc8,0xc63f7e,-0x3b0,4,8,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,0xa0);
                    /* try { // try from 00a16a1f to 00a16a23 has its CatchHandler @ 00a16d9b */
      SendPropVector(ServerClassInit<DT_Infected::ignored>(DT_Infected::ignored*)::g_SendProps +
                     0xe1c,0xd200da,0x1cdc,0xc,-1,5.60519e-45,0.0,
                     (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                     0xc0);
                    /* try { // try from 00a16a66 to 00a16a6a has its CatchHandler @ 00a16da5 */
      SendPropInt(ServerClassInit<DT_Infected::ignored>(DT_Infected::ignored*)::g_SendProps + 0xe70,
                  0xd200ec,0x1ce8,4,0x20,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
                    /* try { // try from 00a16a8d to 00a16a91 has its CatchHandler @ 00a16daf */
      SendPropBool(ServerClassInit<DT_Infected::ignored>(DT_Infected::ignored*)::g_SendProps + 0xec4
                   ,0xd200fb,0x1cbd);
                    /* try { // try from 00a16ab4 to 00a16ab8 has its CatchHandler @ 00a16db9 */
      SendPropBool(ServerClassInit<DT_Infected::ignored>(DT_Infected::ignored*)::g_SendProps + 0xf18
                   ,0xd20105,0x1cd4);
                    /* try { // try from 00a16afb to 00a16aff has its CatchHandler @ 00a16dc3 */
      SendPropInt(ServerClassInit<DT_Infected::ignored>(DT_Infected::ignored*)::g_SendProps + 0xf6c,
                  0xd20112,0x1cf4,4,-1,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
                    /* try { // try from 00a16b42 to 00a16b46 has its CatchHandler @ 00a16dcd */
      SendPropInt(ServerClassInit<DT_Infected::ignored>(DT_Infected::ignored*)::g_SendProps + 0xfc0,
                  0xd20125,0x1cf8,4,-1,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
                    /* try { // try from 00a16b89 to 00a16b8d has its CatchHandler @ 00a16dd7 */
      SendPropInt(ServerClassInit<DT_Infected::ignored>(DT_Infected::ignored*)::g_SendProps + 0x1014
                  ,0xd20138,0x1c78,4,-1,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
      __cxa_guard_release(&ServerClassInit<DT_Infected::ignored>(DT_Infected::ignored*)::g_SendProps
                         );
      __cxa_atexit(__tcf_1,0,&__dso_handle);
    }
  }
  SendTable::Construct
            ((SendTable *)DT_Infected::g_SendTable,
             (SendProp *)
             (ServerClassInit<DT_Infected::ignored>(DT_Infected::ignored*)::g_SendProps + 0x54),0x31
             ,"DT_Infected");
  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)