L L4D2node

ServerClassInit<DT_LocalActiveShotgunData::ignored>

0x00526a40 · 826 bytes · __cdecl

_Z15ServerClassInitIN25DT_LocalActiveShotgunData7ignoredEEiPT_

Decompiled

int (1 param)

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

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

{
  int iVar1;
  
  if (ServerClassInit<DT_LocalActiveShotgunData::ignored>(DT_LocalActiveShotgunData::ignored*)::
      g_SendProps == '\0') {
    iVar1 = __cxa_guard_acquire(&ServerClassInit<DT_LocalActiveShotgunData::ignored>(DT_LocalActiveShotgunData::ignored*)
                                 ::g_SendProps);
    if (iVar1 != 0) {
                    /* try { // try from 00526acf to 00526ad3 has its CatchHandler @ 00526d7c */
      SendPropInt(ServerClassInit<DT_LocalActiveShotgunData::ignored>(DT_LocalActiveShotgunData::ignored*)
                  ::g_SendProps,0xbfae4c,0,4,-1,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
                    /* try { // try from 00526b16 to 00526b1a has its CatchHandler @ 00526dab */
      SendPropInt(ServerClassInit<DT_LocalActiveShotgunData::ignored>(DT_LocalActiveShotgunData::ignored*)
                  ::g_SendProps + 0x54,0xc325f8,0x17f4,4,1,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 00526b5d to 00526b61 has its CatchHandler @ 00526dd9 */
      SendPropInt(ServerClassInit<DT_LocalActiveShotgunData::ignored>(DT_LocalActiveShotgunData::ignored*)
                  ::g_SendProps + 0xa8,0xc32606,0x180c,4,3,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 00526ba4 to 00526ba8 has its CatchHandler @ 00526dcb */
      SendPropInt(ServerClassInit<DT_LocalActiveShotgunData::ignored>(DT_LocalActiveShotgunData::ignored*)
                  ::g_SendProps + 0xfc,0xc32618,0x17f8,4,4,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 00526bfb to 00526bff has its CatchHandler @ 00526dd2 */
      SendPropFloat(ServerClassInit<DT_LocalActiveShotgunData::ignored>(DT_LocalActiveShotgunData::ignored*)
                    ::g_SendProps + 0x150,0xc3262a,0x17fc,4,0x20,0.0,0.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                    0xa0);
                    /* try { // try from 00526c52 to 00526c56 has its CatchHandler @ 00526db2 */
      SendPropFloat(ServerClassInit<DT_LocalActiveShotgunData::ignored>(DT_LocalActiveShotgunData::ignored*)
                    ::g_SendProps + 0x1a4,0xc3263c,0x1800,4,0x20,0.0,0.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                    0xa0);
                    /* try { // try from 00526ca9 to 00526cad has its CatchHandler @ 00526db9 */
      SendPropFloat(ServerClassInit<DT_LocalActiveShotgunData::ignored>(DT_LocalActiveShotgunData::ignored*)
                    ::g_SendProps + 0x1f8,0xc32652,0x1804,4,0x20,0.0,0.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                    0xa0);
                    /* try { // try from 00526d00 to 00526d04 has its CatchHandler @ 00526dc0 */
      SendPropFloat(ServerClassInit<DT_LocalActiveShotgunData::ignored>(DT_LocalActiveShotgunData::ignored*)
                    ::g_SendProps + 0x24c,0xc32669,0x1808,4,0x20,0.0,0.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                    0xa0);
                    /* try { // try from 00526d47 to 00526d4b has its CatchHandler @ 00526dc7 */
      SendPropInt(ServerClassInit<DT_LocalActiveShotgunData::ignored>(DT_LocalActiveShotgunData::ignored*)
                  ::g_SendProps + 0x2a0,0xc3267d,0x1810,4,4,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
      __cxa_guard_release(&ServerClassInit<DT_LocalActiveShotgunData::ignored>(DT_LocalActiveShotgunData::ignored*)
                           ::g_SendProps);
      __cxa_atexit(__tcf_0,0,&__dso_handle);
    }
  }
  SendTable::Construct
            ((SendTable *)DT_LocalActiveShotgunData::g_SendTable,
             (SendProp *)
             (ServerClassInit<DT_LocalActiveShotgunData::ignored>(DT_LocalActiveShotgunData::ignored*)
              ::g_SendProps + 0x54),8,"DT_LocalActiveShotgunData");
  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)