L L4D2node

ServerClassInit<DT_Team::ignored>

0x00839900 · 596 bytes · __cdecl

_Z15ServerClassInitIN7DT_Team7ignoredEEiPT_

Decompiled

int (1 param)

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

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

{
  int iVar1;
  char *pcVar2;
  code *pcVar3;
  undefined4 uVar4;
  code *pcVar5;
  undefined4 uVar6;
  
  if (ServerClassInit<DT_Team::ignored>(DT_Team::ignored*)::g_SendProps == '\0') {
    iVar1 = __cxa_guard_acquire(&ServerClassInit<DT_Team::ignored>(DT_Team::ignored*)::g_SendProps);
    if (iVar1 != 0) {
                    /* try { // try from 0083998f to 00839993 has its CatchHandler @ 00839b56 */
      SendPropInt(ServerClassInit<DT_Team::ignored>(DT_Team::ignored*)::g_SendProps,0xbfae4c,0,4,-1,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
                    /* try { // try from 008399d6 to 008399da has its CatchHandler @ 00839b85 */
      SendPropInt(ServerClassInit<DT_Team::ignored>(DT_Team::ignored*)::g_SendProps + 0x54,0xc5c154,
                  0x498,4,5,(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,
                  '\0');
                    /* try { // try from 00839a1d to 00839a21 has its CatchHandler @ 00839b8c */
      SendPropInt(ServerClassInit<DT_Team::ignored>(DT_Team::ignored*)::g_SendProps + 0xa8,0xcbcbff,
                  0x488,4,0,(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,
                  '\0');
                    /* try { // try from 00839a64 to 00839a68 has its CatchHandler @ 00839baa */
      SendPropInt(ServerClassInit<DT_Team::ignored>(DT_Team::ignored*)::g_SendProps + 0xfc,0xcd5514,
                  0x48c,4,8,(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,
                  '\0');
                    /* try { // try from 00839aa3 to 00839aa7 has its CatchHandler @ 00839bb1 */
      SendPropString(ServerClassInit<DT_Team::ignored>(DT_Team::ignored*)::g_SendProps + 0x150,
                     0xcd5521,0x468,0x20,
                     (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,0x90);
      uVar6 = 0x80;
      pcVar5 = SendProxy_PlayerList;
                    /* try { // try from 00839aea to 00839aee has its CatchHandler @ 00839bb8 */
      SendPropInt(ServerClassInit<DT_Team::ignored>(DT_Team::ignored*)::g_SendProps + 0x1a4,0xcd552e
                  ,0,4,10,(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'`')
      ;
      uVar4 = 0x80;
      pcVar3 = SendProxyArrayLength_PlayerArray;
      pcVar2 = "\"player_array\"";
                    /* try { // try from 00839b21 to 00839b25 has its CatchHandler @ 00839bbf */
      InternalSendPropArray
                (0xff9af8,0x20,(char *)0x0,(_func_int_void_ptr_int *)"\"player_array\"",0xa0);
      __cxa_guard_release(&ServerClassInit<DT_Team::ignored>(DT_Team::ignored*)::g_SendProps);
      __cxa_atexit(__tcf_0,0,&__dso_handle,pcVar2,pcVar3,uVar4,pcVar5,uVar6);
    }
  }
  SendTable::Construct
            ((SendTable *)DT_Team::g_SendTable,
             (SendProp *)(ServerClassInit<DT_Team::ignored>(DT_Team::ignored*)::g_SendProps + 0x54),
             6,"DT_Team");
  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)