L L4D2node

ServerClassInit<DT_CSNonLocalPlayerExclusive::ignored>

0x00655d50 · 629 bytes · __cdecl

_Z15ServerClassInitIN28DT_CSNonLocalPlayerExclusive7ignoredEEiPT_

Decompiled

int (1 param)

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

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

{
  int iVar1;
  
  if (ServerClassInit<DT_CSNonLocalPlayerExclusive::ignored>(DT_CSNonLocalPlayerExclusive::ignored*)
      ::g_SendProps == '\0') {
    iVar1 = __cxa_guard_acquire(&ServerClassInit<DT_CSNonLocalPlayerExclusive::ignored>(DT_CSNonLocalPlayerExclusive::ignored*)
                                 ::g_SendProps);
    if (iVar1 != 0) {
                    /* try { // try from 00655ddf to 00655de3 has its CatchHandler @ 00655fc7 */
      SendPropInt(ServerClassInit<DT_CSNonLocalPlayerExclusive::ignored>(DT_CSNonLocalPlayerExclusive::ignored*)
                  ::g_SendProps,0xbfae4c,0,4,-1,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
                    /* try { // try from 00655e36 to 00655e3a has its CatchHandler @ 00655ff6 */
      SendPropVectorXY(ServerClassInit<DT_CSNonLocalPlayerExclusive::ignored>(DT_CSNonLocalPlayerExclusive::ignored*)
                       ::g_SendProps + 0x54,0xbfae62,0x39c,0xc,5,4.59177e-40,0.0,
                       (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                       'P');
                    /* try { // try from 00655e8d to 00655e91 has its CatchHandler @ 00656014 */
      SendPropFloat(ServerClassInit<DT_CSNonLocalPlayerExclusive::ignored>(DT_CSNonLocalPlayerExclusive::ignored*)
                    ::g_SendProps + 0xa8,0xc6d01c,-0x3a4,4,5,4.59177e-40,0.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                    0x80);
                    /* try { // try from 00655ee4 to 00655ee8 has its CatchHandler @ 0065601b */
      SendPropFloat(ServerClassInit<DT_CSNonLocalPlayerExclusive::ignored>(DT_CSNonLocalPlayerExclusive::ignored*)
                    ::g_SendProps + 0xfc,0xc6d02b,-0x3b8,4,10,1.12104e-44,-64.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x42800000,
                    0xa0);
                    /* try { // try from 00655f3b to 00655f3f has its CatchHandler @ 00656022 */
      SendPropFloat(ServerClassInit<DT_CSNonLocalPlayerExclusive::ignored>(DT_CSNonLocalPlayerExclusive::ignored*)
                    ::g_SendProps + 0x150,0xc6d03e,-0x3bc,4,10,1.12104e-44,-64.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x42800000,
                    0xa0);
                    /* try { // try from 00655f92 to 00655f96 has its CatchHandler @ 00656029 */
      SendPropFloat(ServerClassInit<DT_CSNonLocalPlayerExclusive::ignored>(DT_CSNonLocalPlayerExclusive::ignored*)
                    ::g_SendProps + 0x1a4,0xc6d051,-0x3c0,4,10,3.67342e-40,0.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x43000000,
                    0xa0);
      __cxa_guard_release(&ServerClassInit<DT_CSNonLocalPlayerExclusive::ignored>(DT_CSNonLocalPlayerExclusive::ignored*)
                           ::g_SendProps);
      __cxa_atexit(__tcf_3,0,&__dso_handle);
    }
  }
  SendTable::Construct
            ((SendTable *)DT_CSNonLocalPlayerExclusive::g_SendTable,
             (SendProp *)
             (ServerClassInit<DT_CSNonLocalPlayerExclusive::ignored>(DT_CSNonLocalPlayerExclusive::ignored*)
              ::g_SendProps + 0x54),5,"DT_CSNonLocalPlayerExclusive");
  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)