L L4D2node

ServerClassInit<DT_VGuiScreen::ignored>

0x00b3df50 · 747 bytes · __cdecl

_Z15ServerClassInitIN13DT_VGuiScreen7ignoredEEiPT_

Decompiled

int (1 param)

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

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

{
  int iVar1;
  undefined4 uVar2;
  undefined4 uVar3;
  code *pcVar4;
  undefined4 uVar5;
  undefined4 uVar6;
  
  if (ServerClassInit<DT_VGuiScreen::ignored>(DT_VGuiScreen::ignored*)::g_SendProps == '\0') {
    iVar1 = __cxa_guard_acquire(&ServerClassInit<DT_VGuiScreen::ignored>(DT_VGuiScreen::ignored*)::
                                 g_SendProps);
    if (iVar1 != 0) {
                    /* try { // try from 00b3dfdf to 00b3dfe3 has its CatchHandler @ 00b3e23d */
      SendPropInt(ServerClassInit<DT_VGuiScreen::ignored>(DT_VGuiScreen::ignored*)::g_SendProps,
                  0xbfae4c,0,4,-1,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
                    /* try { // try from 00b3e017 to 00b3e01b has its CatchHandler @ 00b3e26c */
      SendPropDataTable(ServerClassInit<DT_VGuiScreen::ignored>(DT_VGuiScreen::ignored*)::
                        g_SendProps + 0x54,0xc087aa,(SendTable *)0x0,
                        (_func_void_ptr_SendProp_ptr_void_ptr_void_ptr_CSendProxyRecipients_ptr_int
                         *)CBaseEntity::m_pClassSendTable,'P');
                    /* try { // try from 00b3e06e to 00b3e072 has its CatchHandler @ 00b3e29a */
      SendPropFloat(ServerClassInit<DT_VGuiScreen::ignored>(DT_VGuiScreen::ignored*)::g_SendProps +
                    0xa8,0xc70ec3,0x444,4,0,5.60519e-45,0.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                    0xa0);
                    /* try { // try from 00b3e0c5 to 00b3e0c9 has its CatchHandler @ 00b3e28c */
      SendPropFloat(ServerClassInit<DT_VGuiScreen::ignored>(DT_VGuiScreen::ignored*)::g_SendProps +
                    0xfc,0xcd33f4,0x448,4,0,5.60519e-45,0.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                    0xa0);
                    /* try { // try from 00b3e0fc to 00b3e100 has its CatchHandler @ 00b3e293 */
      SendPropIntWithMinusOneFlag
                (ServerClassInit<DT_VGuiScreen::ignored>(DT_VGuiScreen::ignored*)::g_SendProps +
                 0x150,0xc11b61,0x450,4,
                 (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x6);
                    /* try { // try from 00b3e143 to 00b3e147 has its CatchHandler @ 00b3e273 */
      SendPropInt(ServerClassInit<DT_VGuiScreen::ignored>(DT_VGuiScreen::ignored*)::g_SendProps +
                  0x1a4,0xd4aa1c,0x44c,4,8,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 00b3e18a to 00b3e18e has its CatchHandler @ 00b3e27a */
      SendPropInt(ServerClassInit<DT_VGuiScreen::ignored>(DT_VGuiScreen::ignored*)::g_SendProps +
                  0x1f8,0xd4aa29,0x458,4,5,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
      uVar6 = 0x80;
      uVar5 = 0;
                    /* try { // try from 00b3e1d1 to 00b3e1d5 has its CatchHandler @ 00b3e281 */
      SendPropInt(ServerClassInit<DT_VGuiScreen::ignored>(DT_VGuiScreen::ignored*)::g_SendProps +
                  0x24c,0xcd42da,0x454,4,10,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
      pcVar4 = SendProxy_EHandleToInt;
      uVar3 = 0xffffffff;
      uVar2 = 4;
                    /* try { // try from 00b3e208 to 00b3e20c has its CatchHandler @ 00b3e288 */
      SendPropEHandle(ServerClassInit<DT_VGuiScreen::ignored>(DT_VGuiScreen::ignored*)::g_SendProps
                      + 0x2a0,0xd4aa38,0x45c,4,
                      (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)
                      &DAT_ffffffff);
      __cxa_guard_release(&ServerClassInit<DT_VGuiScreen::ignored>(DT_VGuiScreen::ignored*)::
                           g_SendProps);
      __cxa_atexit(__tcf_0,0,&__dso_handle,uVar2,uVar3,pcVar4,uVar5,uVar6);
    }
  }
  SendTable::Construct
            ((SendTable *)DT_VGuiScreen::g_SendTable,
             (SendProp *)
             (ServerClassInit<DT_VGuiScreen::ignored>(DT_VGuiScreen::ignored*)::g_SendProps + 0x54),
             8,"DT_VGuiScreen");
  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)