L L4D2node

ServerClassInit<DT_TerrorMeleeWeapon::ignored>

0x00568890 · 667 bytes · __cdecl

_Z15ServerClassInitIN20DT_TerrorMeleeWeapon7ignoredEEiPT_

Decompiled

int (1 param)

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

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

{
  int iVar1;
  undefined1 *puVar2;
  code *pcVar3;
  undefined4 uVar4;
  undefined4 uVar5;
  undefined4 uVar6;
  
  if (ServerClassInit<DT_TerrorMeleeWeapon::ignored>(DT_TerrorMeleeWeapon::ignored*)::g_SendProps ==
      '\0') {
    iVar1 = __cxa_guard_acquire(&ServerClassInit<DT_TerrorMeleeWeapon::ignored>(DT_TerrorMeleeWeapon::ignored*)
                                 ::g_SendProps);
    if (iVar1 != 0) {
                    /* try { // try from 0056891f to 00568923 has its CatchHandler @ 00568b2d */
      SendPropInt(ServerClassInit<DT_TerrorMeleeWeapon::ignored>(DT_TerrorMeleeWeapon::ignored*)::
                  g_SendProps,0xbfae4c,0,4,-1,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
                    /* try { // try from 00568957 to 0056895b has its CatchHandler @ 00568b5c */
      SendPropDataTable(ServerClassInit<DT_TerrorMeleeWeapon::ignored>(DT_TerrorMeleeWeapon::ignored*)
                        ::g_SendProps + 0x54,0xc087aa,(SendTable *)0x0,
                        (_func_void_ptr_SendProp_ptr_void_ptr_void_ptr_CSendProxyRecipients_ptr_int
                         *)CTerrorWeapon::m_pClassSendTable,'P');
                    /* try { // try from 0056897e to 00568982 has its CatchHandler @ 00568b8a */
      SendPropTime(ServerClassInit<DT_TerrorMeleeWeapon::ignored>(DT_TerrorMeleeWeapon::ignored*)::
                   g_SendProps + 0xa8,0xc50f97,0x182c);
                    /* try { // try from 005689c5 to 005689c9 has its CatchHandler @ 00568b7c */
      SendPropInt(ServerClassInit<DT_TerrorMeleeWeapon::ignored>(DT_TerrorMeleeWeapon::ignored*)::
                  g_SendProps + 0xfc,0xc50faa,0x17e0,4,4,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 00568a0c to 00568a10 has its CatchHandler @ 00568b83 */
      SendPropInt(ServerClassInit<DT_TerrorMeleeWeapon::ignored>(DT_TerrorMeleeWeapon::ignored*)::
                  g_SendProps + 0x150,0xc50fbd,0x17fc,4,4,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 00568a53 to 00568a57 has its CatchHandler @ 00568b63 */
      SendPropInt(ServerClassInit<DT_TerrorMeleeWeapon::ignored>(DT_TerrorMeleeWeapon::ignored*)::
                  g_SendProps + 0x1a4,0xc50fd7,0x1800,4,4,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
      uVar6 = 0x80;
      uVar5 = 0;
                    /* try { // try from 00568a9a to 00568a9e has its CatchHandler @ 00568b6a */
      SendPropInt(ServerClassInit<DT_TerrorMeleeWeapon::ignored>(DT_TerrorMeleeWeapon::ignored*)::
                  g_SendProps + 0x1f8,0xc50ff0,0x1804,4,4,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 00568ac1 to 00568ac5 has its CatchHandler @ 00568b71 */
      SendPropBool(ServerClassInit<DT_TerrorMeleeWeapon::ignored>(DT_TerrorMeleeWeapon::ignored*)::
                   g_SendProps + 0x24c,0xc5100c,0x1808);
      uVar4 = 0x80;
      pcVar3 = SendProxy_DataTableToDataTable;
      puVar2 = DT_CountdownTimer::g_SendTable;
                    /* try { // try from 00568af8 to 00568afc has its CatchHandler @ 00568b78 */
      SendPropDataTable(ServerClassInit<DT_TerrorMeleeWeapon::ignored>(DT_TerrorMeleeWeapon::ignored*)
                        ::g_SendProps + 0x2a0,0xc5101c,(SendTable *)0x180c,
                        (_func_void_ptr_SendProp_ptr_void_ptr_void_ptr_CSendProxyRecipients_ptr_int
                         *)DT_CountdownTimer::g_SendTable,'P');
      __cxa_guard_release(&ServerClassInit<DT_TerrorMeleeWeapon::ignored>(DT_TerrorMeleeWeapon::ignored*)
                           ::g_SendProps);
      __cxa_atexit(__tcf_0,0,&__dso_handle,puVar2,pcVar3,uVar4,uVar5,uVar6);
    }
  }
  SendTable::Construct
            ((SendTable *)DT_TerrorMeleeWeapon::g_SendTable,
             (SendProp *)
             (ServerClassInit<DT_TerrorMeleeWeapon::ignored>(DT_TerrorMeleeWeapon::ignored*)::
              g_SendProps + 0x54),8,"DT_TerrorMeleeWeapon");
  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)