L L4D2node

ServerClassInit<DT_BaseTeamObjectiveResource::ignored>

0x0083bfc0 · 3458 bytes · __cdecl

_Z15ServerClassInitIN28DT_BaseTeamObjectiveResource7ignoredEEiPT_

Decompiled

int (1 param)

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

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

{
  int iVar1;
  code *pcVar2;
  undefined4 uVar3;
  SendProp local_5f4 [84];
  SendProp local_5a0 [84];
  SendProp local_54c [84];
  SendProp local_4f8 [84];
  SendProp local_4a4 [84];
  SendProp local_450 [84];
  SendProp local_3fc [84];
  SendProp local_3a8 [84];
  SendProp local_354 [84];
  SendProp local_300 [84];
  SendProp local_2ac [84];
  SendProp local_258 [84];
  SendProp local_204 [84];
  SendProp local_1b0 [84];
  SendProp local_15c [84];
  SendProp local_108 [84];
  SendProp local_b4 [84];
  SendProp local_60 [84];
  
  if (ServerClassInit<DT_BaseTeamObjectiveResource::ignored>(DT_BaseTeamObjectiveResource::ignored*)
      ::g_SendProps == '\0') {
    iVar1 = __cxa_guard_acquire(&ServerClassInit<DT_BaseTeamObjectiveResource::ignored>(DT_BaseTeamObjectiveResource::ignored*)
                                 ::g_SendProps);
    if (iVar1 != 0) {
                    /* try { // try from 0083c057 to 0083c05b has its CatchHandler @ 0083cd46 */
      SendPropInt(ServerClassInit<DT_BaseTeamObjectiveResource::ignored>(DT_BaseTeamObjectiveResource::ignored*)
                  ::g_SendProps,0xbfae4c,0,4,-1,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
                    /* try { // try from 0083c09e to 0083c0a2 has its CatchHandler @ 0083cd7b */
      SendPropInt(ServerClassInit<DT_BaseTeamObjectiveResource::ignored>(DT_BaseTeamObjectiveResource::ignored*)
                  ::g_SendProps + 0x54,0xcd595b,0x440,4,0xb,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 0083c0e5 to 0083c0e9 has its CatchHandler @ 0083cd9c */
      SendPropInt(ServerClassInit<DT_BaseTeamObjectiveResource::ignored>(DT_BaseTeamObjectiveResource::ignored*)
                  ::g_SendProps + 0xa8,0xcd596f,0x444,4,0xb,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 0083c12c to 0083c130 has its CatchHandler @ 0083cda3 */
      SendPropInt(ServerClassInit<DT_BaseTeamObjectiveResource::ignored>(DT_BaseTeamObjectiveResource::ignored*)
                  ::g_SendProps + 0xfc,0xcd5981,0x448,4,4,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 0083c153 to 0083c157 has its CatchHandler @ 0083cdaa */
      SendPropBool(ServerClassInit<DT_BaseTeamObjectiveResource::ignored>(DT_BaseTeamObjectiveResource::ignored*)
                   ::g_SendProps + 0x150,0xcd5995,0x44c);
                    /* try { // try from 0083c17a to 0083c17e has its CatchHandler @ 0083cdb1 */
      SendPropBool(ServerClassInit<DT_BaseTeamObjectiveResource::ignored>(DT_BaseTeamObjectiveResource::ignored*)
                   ::g_SendProps + 0x1a4,0xcd59aa,0x44d);
                    /* try { // try from 0083c1c1 to 0083c1c5 has its CatchHandler @ 0083cdb8 */
      SendPropInt(ServerClassInit<DT_BaseTeamObjectiveResource::ignored>(DT_BaseTeamObjectiveResource::ignored*)
                  ::g_SendProps + 0x1f8,0xcd59c0,0x450,4,6,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
      uVar3 = 0x80;
      pcVar2 = SendProxy_VectorToVector;
                    /* try { // try from 0083c218 to 0083c21c has its CatchHandler @ 0083cdbf */
      SendPropVector(ServerClassInit<DT_BaseTeamObjectiveResource::ignored>(DT_BaseTeamObjectiveResource::ignored*)
                     ::g_SendProps + 0x24c,0xcd59d6,0x454,0xc,-1,5.73972e-42,0.0,
                     (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                     0xc0);
                    /* try { // try from 0083c24f to 0083c253 has its CatchHandler @ 0083cdc6 */
      InternalSendPropArray(0xff9e80,8,(char *)0xc,(_func_int_void_ptr_int *)"m_vCPPositions",'\0');
                    /* try { // try from 0083c298 to 0083c29c has its CatchHandler @ 0083cdd0 */
      SendPropInt((char *)local_5f4,0xcd59e5,0x4b4,4,1,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 0083c2db to 0083c2df has its CatchHandler @ 0083cdda */
      SendPropArray3(0xff9ed4,"m_bCPIsVisible",0x4b4,4,8,local_5f4,SendProxy_DataTableToDataTable,
                     0x80,pcVar2,uVar3);
      SendProp::~SendProp(local_5f4);
      uVar3 = 0x80;
      pcVar2 = SendProxy_FloatToFloat;
                    /* try { // try from 0083c33c to 0083c340 has its CatchHandler @ 0083cde8 */
      SendPropFloat((char *)local_5a0,0xcd59f4,0x4d4,4,0x20,0.0,0.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                    0xa0);
                    /* try { // try from 0083c37f to 0083c383 has its CatchHandler @ 0083cdf2 */
      SendPropArray3(0xff9f28,"m_flLazyCapPerc",0x4d4,4,8,local_5a0,SendProxy_DataTableToDataTable,
                     0x80,pcVar2,uVar3);
      SendProp::~SendProp(local_5a0);
                    /* try { // try from 0083c3d0 to 0083c3d4 has its CatchHandler @ 0083ce00 */
      SendPropInt((char *)local_54c,0xcd5a04,0x4f4,4,8,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 0083c413 to 0083c417 has its CatchHandler @ 0083ce0a */
      SendPropArray3(0xff9f7c,"m_iTeamIcons",0x4f4,4,0x40,local_54c,SendProxy_DataTableToDataTable,
                     0x80);
      SendProp::~SendProp(local_54c);
                    /* try { // try from 0083c464 to 0083c468 has its CatchHandler @ 0083ce18 */
      SendPropInt((char *)local_4f8,0xcd5a11,0x5f4,4,8,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 0083c4a7 to 0083c4ab has its CatchHandler @ 0083ce22 */
      SendPropArray3(0xff9fd0,"m_iTeamOverlays",0x5f4,4,0x40,local_4f8,
                     SendProxy_DataTableToDataTable,0x80);
      SendProp::~SendProp(local_4f8);
                    /* try { // try from 0083c4f8 to 0083c4fc has its CatchHandler @ 0083ce30 */
      SendPropInt((char *)local_4a4,0xcd5a21,0x6f4,4,4,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 0083c53b to 0083c53f has its CatchHandler @ 0083ce3a */
      SendPropArray3(0xffa024,"m_iTeamReqCappers",0x6f4,4,0x40,local_4a4,
                     SendProxy_DataTableToDataTable,0x80);
      SendProp::~SendProp(local_4a4);
                    /* try { // try from 0083c56c to 0083c570 has its CatchHandler @ 0083ce48 */
      SendPropTime((char *)local_450,0xcd5a33,0x7f4);
                    /* try { // try from 0083c5af to 0083c5b3 has its CatchHandler @ 0083ce52 */
      SendPropArray3(0xffa078,"m_flTeamCapTime",0x7f4,4,0x40,local_450,
                     SendProxy_DataTableToDataTable,0x80);
      SendProp::~SendProp(local_450);
                    /* try { // try from 0083c600 to 0083c604 has its CatchHandler @ 0083ce60 */
      SendPropInt((char *)local_3fc,0xcd5a43,0x8f4,4,8,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
                    /* try { // try from 0083c643 to 0083c647 has its CatchHandler @ 0083ce6a */
      SendPropArray3(0xffa0cc,"m_iPreviousPoints",0x8f4,4,0xc0,local_3fc,
                     SendProxy_DataTableToDataTable,0x80);
      SendProp::~SendProp(local_3fc);
                    /* try { // try from 0083c674 to 0083c678 has its CatchHandler @ 0083ce78 */
      SendPropBool((char *)local_3a8,0xcd5a55,0xbf4);
                    /* try { // try from 0083c6b7 to 0083c6bb has its CatchHandler @ 0083ce82 */
      SendPropArray3(0xffa120,"m_bTeamCanCap",0xbf4,1,0x40,local_3a8,SendProxy_DataTableToDataTable,
                     0x80);
      SendProp::~SendProp(local_3a8);
                    /* try { // try from 0083c708 to 0083c70c has its CatchHandler @ 0083ce90 */
      SendPropInt((char *)local_354,0xcd5a63,0xc34,4,8,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
                    /* try { // try from 0083c74b to 0083c74f has its CatchHandler @ 0083ce9a */
      SendPropArray3(0xffa174,"m_iTeamBaseIcons",0xc34,4,0x20,local_354,
                     SendProxy_DataTableToDataTable,0x80);
      SendProp::~SendProp(local_354);
                    /* try { // try from 0083c79c to 0083c7a0 has its CatchHandler @ 0083cea8 */
      SendPropInt((char *)local_300,0xcd5a74,0xcb4,4,8,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
                    /* try { // try from 0083c7df to 0083c7e3 has its CatchHandler @ 0083ceb2 */
      SendPropArray3(0xffa1c8,"m_iBaseControlPoints",0xcb4,4,0x20,local_300,
                     SendProxy_DataTableToDataTable,0x80);
      SendProp::~SendProp(local_300);
                    /* try { // try from 0083c810 to 0083c814 has its CatchHandler @ 0083cec0 */
      SendPropBool((char *)local_2ac,0xcd5a89,0xd34);
                    /* try { // try from 0083c853 to 0083c857 has its CatchHandler @ 0083ceca */
      SendPropArray3(0xffa21c,"m_bInMiniRound",0xd34,1,8,local_2ac,SendProxy_DataTableToDataTable,
                     0x80);
      SendProp::~SendProp(local_2ac);
                    /* try { // try from 0083c8a4 to 0083c8a8 has its CatchHandler @ 0083ced8 */
      SendPropInt((char *)local_258,0xcd5a98,0xd3c,4,4,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 0083c8e7 to 0083c8eb has its CatchHandler @ 0083cee2 */
      SendPropArray3(0xffa270,"m_iWarnOnCap",0xd3c,4,8,local_258,SendProxy_DataTableToDataTable,0x80
                    );
      SendProp::~SendProp(local_258);
                    /* try { // try from 0083c916 to 0083c91a has its CatchHandler @ 0083cef0 */
      SendPropStringT(ServerClassInit<DT_BaseTeamObjectiveResource::ignored>(DT_BaseTeamObjectiveResource::ignored*)
                      ::g_SendProps + 0x6e4,0xcd5aa5,0xd5c);
                    /* try { // try from 0083c94d to 0083c951 has its CatchHandler @ 0083cefa */
      InternalSendPropArray(0xffa318,8,(char *)0x4,(_func_int_void_ptr_int *)"m_iszWarnSound",'\0');
      uVar3 = 0x80;
      pcVar2 = SendProxy_FloatToFloat;
                    /* try { // try from 0083c9a6 to 0083c9aa has its CatchHandler @ 0083cf04 */
      SendPropFloat((char *)local_204,0xcd5ab4,0xd7c,4,8,0.0,0.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x3f800000,
                    0xa0);
                    /* try { // try from 0083c9e9 to 0083c9ed has its CatchHandler @ 0083cf0e */
      SendPropArray3(0xffa36c,"m_flPathDistance",0xd7c,4,8,local_204,SendProxy_DataTableToDataTable,
                     0x80,pcVar2,uVar3);
      SendProp::~SendProp(local_204);
                    /* try { // try from 0083ca3a to 0083ca3e has its CatchHandler @ 0083cf1c */
      SendPropInt((char *)local_1b0,0xcd5ac5,0xd9c,4,4,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 0083ca7d to 0083ca81 has its CatchHandler @ 0083cf26 */
      SendPropArray3(0xffa3c0,"m_iNumTeamMembers",0xd9c,4,0x40,local_1b0,
                     SendProxy_DataTableToDataTable,0x80);
      SendProp::~SendProp(local_1b0);
                    /* try { // try from 0083cace to 0083cad2 has its CatchHandler @ 0083cf34 */
      SendPropInt((char *)local_15c,0xcd5ad7,0xe9c,4,4,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 0083cb11 to 0083cb15 has its CatchHandler @ 0083cf3e */
      SendPropArray3(0xffa414,"m_iCappingTeam",0xe9c,4,8,local_15c,SendProxy_DataTableToDataTable,
                     0x80);
      SendProp::~SendProp(local_15c);
                    /* try { // try from 0083cb62 to 0083cb66 has its CatchHandler @ 0083cf4c */
      SendPropInt((char *)local_108,0xcd5ae6,0xebc,4,4,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 0083cba5 to 0083cba9 has its CatchHandler @ 0083cf56 */
      SendPropArray3(0xffa468,"m_iTeamInZone",0xebc,4,8,local_108,SendProxy_DataTableToDataTable,
                     0x80);
      SendProp::~SendProp(local_108);
                    /* try { // try from 0083cbf6 to 0083cbfa has its CatchHandler @ 0083cf64 */
      SendPropInt((char *)local_b4,0xc7bd3c,0xedc,1,1,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 0083cc39 to 0083cc3d has its CatchHandler @ 0083cf6e */
      SendPropArray3(0xffa4bc,"m_bBlocked",0xedc,1,8,local_b4,SendProxy_DataTableToDataTable,0x80);
      SendProp::~SendProp(local_b4);
                    /* try { // try from 0083cc87 to 0083cc8b has its CatchHandler @ 0083cf7c */
      SendPropInt((char *)local_60,0xcd5af4,0xee4,4,4,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 0083ccca to 0083ccce has its CatchHandler @ 0083cf86 */
      SendPropArray3(0xffa510,"m_iOwner",0xee4,4,8,local_60,SendProxy_DataTableToDataTable,0x80);
      SendProp::~SendProp(local_60);
                    /* try { // try from 0083cd11 to 0083cd15 has its CatchHandler @ 0083cf94 */
      SendPropString(ServerClassInit<DT_BaseTeamObjectiveResource::ignored>(DT_BaseTeamObjectiveResource::ignored*)
                     ::g_SendProps + 0x984,0xcd5afd,0xf04,0x20,
                     (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,0x90);
      __cxa_guard_release(&ServerClassInit<DT_BaseTeamObjectiveResource::ignored>(DT_BaseTeamObjectiveResource::ignored*)
                           ::g_SendProps);
      __cxa_atexit(__tcf_0,0,&__dso_handle);
    }
  }
  SendTable::Construct
            ((SendTable *)DT_BaseTeamObjectiveResource::g_SendTable,
             (SendProp *)
             (ServerClassInit<DT_BaseTeamObjectiveResource::ignored>(DT_BaseTeamObjectiveResource::ignored*)
              ::g_SendProps + 0x54),0x1d,"DT_BaseTeamObjectiveResource");
  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)