L L4D2node

ServerClassInit<DT_BreakableSurface::ignored>

0x006ba6c0 · 1072 bytes · __cdecl

_Z15ServerClassInitIN19DT_BreakableSurface7ignoredEEiPT_

Decompiled

int (1 param)

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

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

{
  int iVar1;
  SendProp local_60 [84];
  
  if (ServerClassInit<DT_BreakableSurface::ignored>(DT_BreakableSurface::ignored*)::g_SendProps ==
      '\0') {
    iVar1 = __cxa_guard_acquire(&ServerClassInit<DT_BreakableSurface::ignored>(DT_BreakableSurface::ignored*)
                                 ::g_SendProps);
    if (iVar1 != 0) {
                    /* try { // try from 006ba757 to 006ba75b has its CatchHandler @ 006baaf4 */
      SendPropInt(ServerClassInit<DT_BreakableSurface::ignored>(DT_BreakableSurface::ignored*)::
                  g_SendProps,0xbfae4c,0,4,-1,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
                    /* try { // try from 006ba78f to 006ba793 has its CatchHandler @ 006bab23 */
      SendPropDataTable(ServerClassInit<DT_BreakableSurface::ignored>(DT_BreakableSurface::ignored*)
                        ::g_SendProps + 0x54,0xc087aa,(SendTable *)0x0,
                        (_func_void_ptr_SendProp_ptr_void_ptr_void_ptr_CSendProxyRecipients_ptr_int
                         *)CBreakable::m_pClassSendTable,'P');
                    /* try { // try from 006ba7d6 to 006ba7da has its CatchHandler @ 006bab38 */
      SendPropInt(ServerClassInit<DT_BreakableSurface::ignored>(DT_BreakableSurface::ignored*)::
                  g_SendProps + 0xa8,0xc8b186,0x4fc,4,8,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 006ba81d to 006ba821 has its CatchHandler @ 006bab2a */
      SendPropInt(ServerClassInit<DT_BreakableSurface::ignored>(DT_BreakableSurface::ignored*)::
                  g_SendProps + 0xfc,0xc8b191,0x500,4,8,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 006ba874 to 006ba878 has its CatchHandler @ 006bab31 */
      SendPropFloat(ServerClassInit<DT_BreakableSurface::ignored>(DT_BreakableSurface::ignored*)::
                    g_SendProps + 0x150,0xc8b19c,0x504,4,0,5.60519e-45,0.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                    0xa0);
                    /* try { // try from 006ba8cb to 006ba8cf has its CatchHandler @ 006bab56 */
      SendPropFloat(ServerClassInit<DT_BreakableSurface::ignored>(DT_BreakableSurface::ignored*)::
                    g_SendProps + 0x1a4,0xc8b1ab,0x508,4,0,5.60519e-45,0.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                    0xa0);
                    /* try { // try from 006ba922 to 006ba926 has its CatchHandler @ 006bab5d */
      SendPropVector(ServerClassInit<DT_BreakableSurface::ignored>(DT_BreakableSurface::ignored*)::
                     g_SendProps + 0x1f8,0xc11b3f,0x50c,0xc,-1,5.73972e-42,0.0,
                     (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                     0xc0);
                    /* try { // try from 006ba979 to 006ba97d has its CatchHandler @ 006bab64 */
      SendPropVector(ServerClassInit<DT_BreakableSurface::ignored>(DT_BreakableSurface::ignored*)::
                     g_SendProps + 0x24c,0xc8b1bb,0x518,0xc,-1,5.73972e-42,0.0,
                     (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                     0xc0);
                    /* try { // try from 006ba9c0 to 006ba9c4 has its CatchHandler @ 006bab6b */
      SendPropInt(ServerClassInit<DT_BreakableSurface::ignored>(DT_BreakableSurface::ignored*)::
                  g_SendProps + 0x2a0,0xc8b1c5,0x524,1,1,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 006baa07 to 006baa0b has its CatchHandler @ 006bab72 */
      SendPropInt(ServerClassInit<DT_BreakableSurface::ignored>(DT_BreakableSurface::ignored*)::
                  g_SendProps + 0x2f4,0xc8b1d1,0x528,4,2,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 006baa2e to 006baa32 has its CatchHandler @ 006bab79 */
      SendPropBool(ServerClassInit<DT_BreakableSurface::ignored>(DT_BreakableSurface::ignored*)::
                   g_SendProps + 0x348,0xc8b1e0,0xa68);
                    /* try { // try from 006baa74 to 006baa78 has its CatchHandler @ 006bab83 */
      SendPropInt((char *)local_60,0xc8b1f3,0x968,1,1,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 006baab7 to 006baabb has its CatchHandler @ 006bab8a */
      SendPropArray3(0xfe0afc,"m_RawPanelBitVec",0x968,1,0x100,local_60,
                     SendProxy_DataTableToDataTable,0x80);
      SendProp::~SendProp(local_60);
      __cxa_guard_release(&ServerClassInit<DT_BreakableSurface::ignored>(DT_BreakableSurface::ignored*)
                           ::g_SendProps);
      __cxa_atexit(__tcf_0,0,&__dso_handle);
    }
  }
  SendTable::Construct
            ((SendTable *)DT_BreakableSurface::g_SendTable,
             (SendProp *)
             (ServerClassInit<DT_BreakableSurface::ignored>(DT_BreakableSurface::ignored*)::
              g_SendProps + 0x54),0xb,"DT_BreakableSurface");
  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)