L L4D2node

ServerClassInit<DT_BaseMountedWeapon::ignored>

0x00551420 · 833 bytes · __cdecl

_Z15ServerClassInitIN20DT_BaseMountedWeapon7ignoredEEiPT_

Decompiled

int (1 param)

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

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

{
  int iVar1;
  
  if (ServerClassInit<DT_BaseMountedWeapon::ignored>(DT_BaseMountedWeapon::ignored*)::g_SendProps ==
      '\0') {
    iVar1 = __cxa_guard_acquire(&ServerClassInit<DT_BaseMountedWeapon::ignored>(DT_BaseMountedWeapon::ignored*)
                                 ::g_SendProps);
    if (iVar1 != 0) {
                    /* try { // try from 005514af to 005514b3 has its CatchHandler @ 00551763 */
      SendPropInt(ServerClassInit<DT_BaseMountedWeapon::ignored>(DT_BaseMountedWeapon::ignored*)::
                  g_SendProps,0xbfae4c,0,4,-1,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
                    /* try { // try from 005514e7 to 005514eb has its CatchHandler @ 00551792 */
      SendPropDataTable(ServerClassInit<DT_BaseMountedWeapon::ignored>(DT_BaseMountedWeapon::ignored*)
                        ::g_SendProps + 0x54,0xc087aa,(SendTable *)0x0,
                        (_func_void_ptr_SendProp_ptr_void_ptr_void_ptr_CSendProxyRecipients_ptr_int
                         *)CDynamicProp::m_pClassSendTable,'P');
                    /* try { // try from 00551506 to 0055150a has its CatchHandler @ 00551799 */
      SendPropExclude(ServerClassInit<DT_BaseMountedWeapon::ignored>(DT_BaseMountedWeapon::ignored*)
                      ::g_SendProps + 0xa8,"DT_BaseAnimating");
                    /* try { // try from 0055154d to 00551551 has its CatchHandler @ 005517b7 */
      SendPropQAngles(ServerClassInit<DT_BaseMountedWeapon::ignored>(DT_BaseMountedWeapon::ignored*)
                      ::g_SendProps + 0xfc,0xc42868,0x15e4,0xc,10,
                      (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,0xf0);
                    /* try { // try from 00551584 to 00551588 has its CatchHandler @ 005517be */
      SendPropEHandle(ServerClassInit<DT_BaseMountedWeapon::ignored>(DT_BaseMountedWeapon::ignored*)
                      ::g_SendProps + 0x150,0xc2158d,0x15cc,4,
                      (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)
                      &DAT_ffffffff);
                    /* try { // try from 005515db to 005515df has its CatchHandler @ 005517c5 */
      SendPropFloat(ServerClassInit<DT_BaseMountedWeapon::ignored>(DT_BaseMountedWeapon::ignored*)::
                    g_SendProps + 0x1a4,0xc40868,0x15d0,4,0,5.60519e-45,0.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                    0xa0);
                    /* try { // try from 00551632 to 00551636 has its CatchHandler @ 005517cc */
      SendPropFloat(ServerClassInit<DT_BaseMountedWeapon::ignored>(DT_BaseMountedWeapon::ignored*)::
                    g_SendProps + 0x1f8,0xc40878,0x15d4,4,0,5.60519e-45,0.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                    0xa0);
                    /* try { // try from 00551689 to 0055168d has its CatchHandler @ 005517d3 */
      SendPropFloat(ServerClassInit<DT_BaseMountedWeapon::ignored>(DT_BaseMountedWeapon::ignored*)::
                    g_SendProps + 0x24c,0xc40883,0x15d8,4,0,5.60519e-45,0.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                    0xa0);
                    /* try { // try from 005516b0 to 005516b4 has its CatchHandler @ 005517da */
      SendPropBool(ServerClassInit<DT_BaseMountedWeapon::ignored>(DT_BaseMountedWeapon::ignored*)::
                   g_SendProps + 0x2a0,0xc42878,0x15dc);
                    /* try { // try from 005516d7 to 005516db has its CatchHandler @ 005517e1 */
      SendPropBool(ServerClassInit<DT_BaseMountedWeapon::ignored>(DT_BaseMountedWeapon::ignored*)::
                   g_SendProps + 0x2f4,0xc409c4,0x15dd);
                    /* try { // try from 0055172e to 00551732 has its CatchHandler @ 005517e8 */
      SendPropFloat(ServerClassInit<DT_BaseMountedWeapon::ignored>(DT_BaseMountedWeapon::ignored*)::
                    g_SendProps + 0x348,0xc409d1,0x15e0,4,0x10,3.67342e-40,0.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x3f800000,
                    0xa0);
      __cxa_guard_release(&ServerClassInit<DT_BaseMountedWeapon::ignored>(DT_BaseMountedWeapon::ignored*)
                           ::g_SendProps);
      __cxa_atexit(__tcf_0,0,&__dso_handle);
    }
  }
  SendTable::Construct
            ((SendTable *)DT_BaseMountedWeapon::g_SendTable,
             (SendProp *)
             (ServerClassInit<DT_BaseMountedWeapon::ignored>(DT_BaseMountedWeapon::ignored*)::
              g_SendProps + 0x54),10,"DT_BaseMountedWeapon");
  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)