L L4D2node

ServerClassInit<DT_Local::ignored>

0x007c5a70 · 3731 bytes · __cdecl

_Z15ServerClassInitIN8DT_Local7ignoredEEiPT_

Decompiled

int (1 param)

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

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

{
  int iVar1;
  SendProp local_b4 [84];
  SendProp local_60 [84];
  
  if (ServerClassInit<DT_Local::ignored>(DT_Local::ignored*)::g_SendProps == '\0') {
    iVar1 = __cxa_guard_acquire(&ServerClassInit<DT_Local::ignored>(DT_Local::ignored*)::g_SendProps
                               );
    if (iVar1 != 0) {
                    /* try { // try from 007c5b07 to 007c5b0b has its CatchHandler @ 007c6907 */
      SendPropInt(ServerClassInit<DT_Local::ignored>(DT_Local::ignored*)::g_SendProps,0xbfae4c,0,4,
                  -1,(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
                    /* try { // try from 007c5b50 to 007c5b54 has its CatchHandler @ 007c693c */
      SendPropInt((char *)local_b4,0xcbbea7,4,1,8,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 007c5b93 to 007c5b97 has its CatchHandler @ 007c6943 */
      SendPropArray3(0xfefef4,"m_chAreaBits",4,1,0x20,local_b4,SendProxy_DataTableToDataTable,0x80);
      SendProp::~SendProp(local_b4);
                    /* try { // try from 007c5be1 to 007c5be5 has its CatchHandler @ 007c696b */
      SendPropInt((char *)local_60,0xcbbeb4,0x24,1,8,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 007c5c24 to 007c5c28 has its CatchHandler @ 007c6972 */
      SendPropArray3(0xfeff48,"m_chAreaPortalBits",0x24,1,0x18,local_60,
                     SendProxy_DataTableToDataTable,0x80);
      SendProp::~SendProp(local_60);
                    /* try { // try from 007c5c73 to 007c5c77 has its CatchHandler @ 007c6980 */
      SendPropInt(ServerClassInit<DT_Local::ignored>(DT_Local::ignored*)::g_SendProps + 0xfc,
                  0xcbbec7,0x3c,4,0xc,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 007c5cca to 007c5cce has its CatchHandler @ 007c6987 */
      SendPropFloat(ServerClassInit<DT_Local::ignored>(DT_Local::ignored*)::g_SendProps + 0x150,
                    0xcbbed2,0x40,4,0,5.60519e-45,0.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                    0xa0);
                    /* try { // try from 007c5d11 to 007c5d15 has its CatchHandler @ 007c6991 */
      SendPropInt(ServerClassInit<DT_Local::ignored>(DT_Local::ignored*)::g_SendProps + 0x1a4,
                  0xcbbede,0x50,1,1,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 007c5d58 to 007c5d5c has its CatchHandler @ 007c699b */
      SendPropInt(ServerClassInit<DT_Local::ignored>(DT_Local::ignored*)::g_SendProps + 0x1f8,
                  0xcbbee8,0x51,1,1,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 007c5d9f to 007c5da3 has its CatchHandler @ 007c69a5 */
      SendPropInt(ServerClassInit<DT_Local::ignored>(DT_Local::ignored*)::g_SendProps + 0x24c,
                  0xcbbef3,0x52,1,1,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 007c5de6 to 007c5dea has its CatchHandler @ 007c69af */
      SendPropInt(ServerClassInit<DT_Local::ignored>(DT_Local::ignored*)::g_SendProps + 0x2a0,
                  0xcbbf01,0x54,4,10,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)
                  ((int)&__DT_REL[0x5c40].r_offset + 1),'\0');
                    /* try { // try from 007c5e2d to 007c5e31 has its CatchHandler @ 007c69b9 */
      SendPropInt(ServerClassInit<DT_Local::ignored>(DT_Local::ignored*)::g_SendProps + 0x2f4,
                  0xcbbf12,0x58,4,10,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 007c5e74 to 007c5e78 has its CatchHandler @ 007c69c3 */
      SendPropInt(ServerClassInit<DT_Local::ignored>(DT_Local::ignored*)::g_SendProps + 0x348,
                  0xcbbf27,0x5c,4,10,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 007c5ecb to 007c5ecf has its CatchHandler @ 007c69cd */
      SendPropFloat(ServerClassInit<DT_Local::ignored>(DT_Local::ignored*)::g_SendProps + 0x39c,
                    0xcbbf38,100,4,0x11,3.67342e-40,-4096.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x45800000,
                    0xa0);
                    /* try { // try from 007c5f22 to 007c5f26 has its CatchHandler @ 007c69d7 */
      SendPropVector(ServerClassInit<DT_Local::ignored>(DT_Local::ignored*)::g_SendProps + 0x3f0,
                     0xcbbf49,0x70,0xc,-1,3.73082e-40,0.0,
                     (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                     0xc0);
                    /* try { // try from 007c5f79 to 007c5f7d has its CatchHandler @ 007c69e1 */
      SendPropVector(ServerClassInit<DT_Local::ignored>(DT_Local::ignored*)::g_SendProps + 0x444,
                     0xcbbf59,0x7c,0xc,-1,5.73972e-42,0.0,
                     (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                     0xc0);
                    /* try { // try from 007c5fc0 to 007c5fc4 has its CatchHandler @ 007c69eb */
      SendPropInt(ServerClassInit<DT_Local::ignored>(DT_Local::ignored*)::g_SendProps + 0x498,
                  0xcbbf6c,0x88,1,1,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 007c6007 to 007c600b has its CatchHandler @ 007c69f5 */
      SendPropInt(ServerClassInit<DT_Local::ignored>(DT_Local::ignored*)::g_SendProps + 0x4ec,
                  0xcbbf7d,0x89,1,1,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 007c602e to 007c6032 has its CatchHandler @ 007c69ff */
      SendPropBool(ServerClassInit<DT_Local::ignored>(DT_Local::ignored*)::g_SendProps + 0x540,
                   0xcbbf8c,0x8a);
                    /* try { // try from 007c6085 to 007c6089 has its CatchHandler @ 007c6a09 */
      SendPropFloat(ServerClassInit<DT_Local::ignored>(DT_Local::ignored*)::g_SendProps + 0x594,
                    0xcbbf98,0x8c,4,0x10,2.24208e-44,0.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x43000000,
                    0xa0);
                    /* try { // try from 007c60cc to 007c60d0 has its CatchHandler @ 007c6a13 */
      SendPropInt(ServerClassInit<DT_Local::ignored>(DT_Local::ignored*)::g_SendProps + 0x5e8,
                  0xcbbfa5,0x90,1,1,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 007c60f3 to 007c60f7 has its CatchHandler @ 007c6a1d */
      SendPropBool(ServerClassInit<DT_Local::ignored>(DT_Local::ignored*)::g_SendProps + 0x63c,
                   0xcbbfba,0x91);
                    /* try { // try from 007c613a to 007c613e has its CatchHandler @ 007c6a27 */
      SendPropInt(ServerClassInit<DT_Local::ignored>(DT_Local::ignored*)::g_SendProps + 0x690,
                  0xcbbfcb,0x98,4,0xc,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
                    /* try { // try from 007c6191 to 007c6195 has its CatchHandler @ 007c6a31 */
      SendPropVector(ServerClassInit<DT_Local::ignored>(DT_Local::ignored*)::g_SendProps + 0x6e4,
                     0xcbbfdc,0x9c,0xc,-1,5.73972e-42,0.0,
                     (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                     0xc0);
                    /* try { // try from 007c61d8 to 007c61dc has its CatchHandler @ 007c6a3b */
      SendPropInt(ServerClassInit<DT_Local::ignored>(DT_Local::ignored*)::g_SendProps + 0x738,
                  0xcbbfee,0xa8,4,8,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 007c621f to 007c6223 has its CatchHandler @ 007c6a45 */
      SendPropInt(ServerClassInit<DT_Local::ignored>(DT_Local::ignored*)::g_SendProps + 0x78c,
                  0xcbc2a8,0xac,1,1,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 007c6276 to 007c627a has its CatchHandler @ 007c6a4f */
      SendPropFloat(ServerClassInit<DT_Local::ignored>(DT_Local::ignored*)::g_SendProps + 0x7e0,
                    0xcbc2d0,0xb0,4,0,5.60519e-45,0.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                    0xa0);
                    /* try { // try from 007c62bd to 007c62c1 has its CatchHandler @ 007c6a59 */
      SendPropInt(ServerClassInit<DT_Local::ignored>(DT_Local::ignored*)::g_SendProps + 0x834,
                  0xcbbffe,0x100,1,1,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 007c6304 to 007c6308 has its CatchHandler @ 007c6a63 */
      SendPropInt(ServerClassInit<DT_Local::ignored>(DT_Local::ignored*)::g_SendProps + 0x888,
                  0xcbc014,0x101,1,1,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 007c635b to 007c635f has its CatchHandler @ 007c6a6d */
      SendPropVector(ServerClassInit<DT_Local::ignored>(DT_Local::ignored*)::g_SendProps + 0x8dc,
                     0xcbc029,0xb8,0xc,-1,5.73972e-42,0.0,
                     (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                     0xc0);
                    /* try { // try from 007c63a2 to 007c63a6 has its CatchHandler @ 007c6a77 */
      SendPropInt(ServerClassInit<DT_Local::ignored>(DT_Local::ignored*)::g_SendProps + 0x930,
                  0xcbc043,0xc4,4,0x20,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,0x80);
                    /* try { // try from 007c63e9 to 007c63ed has its CatchHandler @ 007c6a81 */
      SendPropInt(ServerClassInit<DT_Local::ignored>(DT_Local::ignored*)::g_SendProps + 0x984,
                  0xcbc05f,200,4,0x20,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,0x80);
                    /* try { // try from 007c6440 to 007c6444 has its CatchHandler @ 007c6a8b */
      SendPropFloat(ServerClassInit<DT_Local::ignored>(DT_Local::ignored*)::g_SendProps + 0x9d8,
                    0xcbc07d,0xd4,4,0,5.60519e-45,0.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                    0xa0);
                    /* try { // try from 007c6497 to 007c649b has its CatchHandler @ 007c6a95 */
      SendPropFloat(ServerClassInit<DT_Local::ignored>(DT_Local::ignored*)::g_SendProps + 0xa2c,
                    0xcbc092,0xd8,4,0,5.60519e-45,0.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                    0xa0);
                    /* try { // try from 007c64ee to 007c64f2 has its CatchHandler @ 007c6a9f */
      SendPropFloat(ServerClassInit<DT_Local::ignored>(DT_Local::ignored*)::g_SendProps + 0xa80,
                    0xcbc0a5,0xe0,4,0,5.60519e-45,0.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                    0xa0);
                    /* try { // try from 007c6545 to 007c6549 has its CatchHandler @ 007c6aa9 */
      SendPropFloat(ServerClassInit<DT_Local::ignored>(DT_Local::ignored*)::g_SendProps + 0xad4,
                    0xcbc0bf,0x104,4,0,5.60519e-45,0.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                    0xa0);
                    /* try { // try from 007c659c to 007c65a0 has its CatchHandler @ 007c6ab3 */
      SendPropVector(ServerClassInit<DT_Local::ignored>(DT_Local::ignored*)::g_SendProps + 0xb28,
                     0xcbc0dc,0x160,0xc,-1,5.73972e-42,0.0,
                     (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                     0xc0);
                    /* try { // try from 007c65f3 to 007c65f7 has its CatchHandler @ 007c6abd */
      SendPropVector(ServerClassInit<DT_Local::ignored>(DT_Local::ignored*)::g_SendProps + 0xb7c,
                     0xcbc0f2,0x16c,0xc,-1,5.73972e-42,0.0,
                     (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                     0xc0);
                    /* try { // try from 007c664a to 007c664e has its CatchHandler @ 007c6ac7 */
      SendPropVector(ServerClassInit<DT_Local::ignored>(DT_Local::ignored*)::g_SendProps + 0xbd0,
                     0xcbc108,0x178,0xc,-1,5.73972e-42,0.0,
                     (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                     0xc0);
                    /* try { // try from 007c66a1 to 007c66a5 has its CatchHandler @ 007c6ad1 */
      SendPropVector(ServerClassInit<DT_Local::ignored>(DT_Local::ignored*)::g_SendProps + 0xc24,
                     0xcbc11e,0x184,0xc,-1,5.73972e-42,0.0,
                     (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                     0xc0);
                    /* try { // try from 007c66f8 to 007c66fc has its CatchHandler @ 007c6adb */
      SendPropVector(ServerClassInit<DT_Local::ignored>(DT_Local::ignored*)::g_SendProps + 0xc78,
                     0xcbc134,400,0xc,-1,5.73972e-42,0.0,
                     (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                     0xc0);
                    /* try { // try from 007c674f to 007c6753 has its CatchHandler @ 007c6ae5 */
      SendPropVector(ServerClassInit<DT_Local::ignored>(DT_Local::ignored*)::g_SendProps + 0xccc,
                     0xcbc14a,0x19c,0xc,-1,5.73972e-42,0.0,
                     (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                     0xc0);
                    /* try { // try from 007c67a6 to 007c67aa has its CatchHandler @ 007c6aef */
      SendPropVector(ServerClassInit<DT_Local::ignored>(DT_Local::ignored*)::g_SendProps + 0xd20,
                     0xcbc160,0x1a8,0xc,-1,5.73972e-42,0.0,
                     (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                     0xc0);
                    /* try { // try from 007c67fd to 007c6801 has its CatchHandler @ 007c6af9 */
      SendPropVector(ServerClassInit<DT_Local::ignored>(DT_Local::ignored*)::g_SendProps + 0xd74,
                     0xcbc176,0x1b4,0xc,-1,5.73972e-42,0.0,
                     (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                     0xc0);
                    /* try { // try from 007c6844 to 007c6848 has its CatchHandler @ 007c6b03 */
      SendPropInt(ServerClassInit<DT_Local::ignored>(DT_Local::ignored*)::g_SendProps + 0xdc8,
                  0xcbc18c,0x1c0,4,0x11,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
                    /* try { // try from 007c688b to 007c688f has its CatchHandler @ 007c6b0d */
      SendPropInt(ServerClassInit<DT_Local::ignored>(DT_Local::ignored*)::g_SendProps + 0xe1c,
                  0xcbc1a4,0x1c4,4,8,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 007c68d2 to 007c68d6 has its CatchHandler @ 007c6b17 */
      SendPropInt(ServerClassInit<DT_Local::ignored>(DT_Local::ignored*)::g_SendProps + 0xe70,
                  0xcbc1b6,0x1c8,4,-1,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
      __cxa_guard_release(&ServerClassInit<DT_Local::ignored>(DT_Local::ignored*)::g_SendProps);
      __cxa_atexit(__tcf_0,0,&__dso_handle);
    }
  }
  SendTable::Construct
            ((SendTable *)&DT_Local::g_SendTable,
             (SendProp *)
             (ServerClassInit<DT_Local::ignored>(DT_Local::ignored*)::g_SendProps + 0x54),0x2c,
             "DT_Local");
  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)