L L4D2node

ServerClassInit<DT_PropMinigun::ignored>

0x0054b930 · 410 bytes · __cdecl

_Z15ServerClassInitIN14DT_PropMinigun7ignoredEEiPT_

Decompiled

int (1 param)

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

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

{
  int iVar1;
  
  if (ServerClassInit<DT_PropMinigun::ignored>(DT_PropMinigun::ignored*)::g_SendProps == '\0') {
    iVar1 = __cxa_guard_acquire(&ServerClassInit<DT_PropMinigun::ignored>(DT_PropMinigun::ignored*)
                                 ::g_SendProps);
    if (iVar1 != 0) {
                    /* try { // try from 0054b9c7 to 0054b9cb has its CatchHandler @ 0054bad1 */
      SendPropInt(ServerClassInit<DT_PropMinigun::ignored>(DT_PropMinigun::ignored*)::g_SendProps,
                  0xbfae4c,0,4,-1,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
                    /* try { // try from 0054b9ff to 0054ba03 has its CatchHandler @ 0054bafc */
      SendPropDataTable(ServerClassInit<DT_PropMinigun::ignored>(DT_PropMinigun::ignored*)::
                        g_SendProps + 0x54,0xc087aa,(SendTable *)0x0,
                        (_func_void_ptr_SendProp_ptr_void_ptr_void_ptr_CSendProxyRecipients_ptr_int
                         *)CBaseMountedWeapon::m_pClassSendTable,'P');
                    /* try { // try from 0054ba1e to 0054ba22 has its CatchHandler @ 0054bb14 */
      SendPropExclude(ServerClassInit<DT_PropMinigun::ignored>(DT_PropMinigun::ignored*)::
                      g_SendProps + 0xa8,"DT_BaseAnimating");
                    /* try { // try from 0054ba45 to 0054ba49 has its CatchHandler @ 0054bb05 */
      SendPropBool(ServerClassInit<DT_PropMinigun::ignored>(DT_PropMinigun::ignored*)::g_SendProps +
                   0xfc,0xc409c4,0x15dd);
                    /* try { // try from 0054ba9c to 0054baa0 has its CatchHandler @ 0054bb0e */
      SendPropFloat(ServerClassInit<DT_PropMinigun::ignored>(DT_PropMinigun::ignored*)::g_SendProps
                    + 0x150,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_PropMinigun::ignored>(DT_PropMinigun::ignored*)::
                           g_SendProps);
      __cxa_atexit(__tcf_0,0,&__dso_handle);
    }
  }
  SendTable::Construct
            ((SendTable *)DT_PropMinigun::g_SendTable,
             (SendProp *)
             (ServerClassInit<DT_PropMinigun::ignored>(DT_PropMinigun::ignored*)::g_SendProps + 0x54
             ),4,"DT_PropMinigun");
  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)