L L4D2node

ServerClassInit<DT_EnvScreenOverlay::ignored>

0x00695990 · 707 bytes · __cdecl

_Z15ServerClassInitIN19DT_EnvScreenOverlay7ignoredEEiPT_

Decompiled

int (1 param)

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

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

{
  int iVar1;
  char *pcVar2;
  undefined4 uVar3;
  undefined4 uVar4;
  
  if (ServerClassInit<DT_EnvScreenOverlay::ignored>(DT_EnvScreenOverlay::ignored*)::g_SendProps ==
      '\0') {
    iVar1 = __cxa_guard_acquire(&ServerClassInit<DT_EnvScreenOverlay::ignored>(DT_EnvScreenOverlay::ignored*)
                                 ::g_SendProps);
    if (iVar1 != 0) {
                    /* try { // try from 00695a1f to 00695a23 has its CatchHandler @ 00695c55 */
      SendPropInt(ServerClassInit<DT_EnvScreenOverlay::ignored>(DT_EnvScreenOverlay::ignored*)::
                  g_SendProps,0xbfae4c,0,4,-1,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
                    /* try { // try from 00695a57 to 00695a5b has its CatchHandler @ 00695c84 */
      SendPropDataTable(ServerClassInit<DT_EnvScreenOverlay::ignored>(DT_EnvScreenOverlay::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 00695a96 to 00695a9a has its CatchHandler @ 00695cb2 */
      SendPropString(ServerClassInit<DT_EnvScreenOverlay::ignored>(DT_EnvScreenOverlay::ignored*)::
                     g_SendProps + 0xa8,0xc7f80f,0x440,4,
                     (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,0xb0);
                    /* try { // try from 00695acd to 00695ad1 has its CatchHandler @ 00695ca4 */
      InternalSendPropArray
                (0xfdd6dc,10,(char *)0x4,(_func_int_void_ptr_int *)"m_iszOverlayNames",'\0');
                    /* try { // try from 00695b24 to 00695b28 has its CatchHandler @ 00695cab */
      SendPropFloat(ServerClassInit<DT_EnvScreenOverlay::ignored>(DT_EnvScreenOverlay::ignored*)::
                    g_SendProps + 0x150,0xc7f821,0x468,4,0xb,1.12104e-44,-1.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x427c0000,
                    0xa0);
                    /* try { // try from 00695b5b to 00695b5f has its CatchHandler @ 00695c8b */
      InternalSendPropArray
                (0xfdd784,10,(char *)0x4,(_func_int_void_ptr_int *)"m_flOverlayTimes",'\0');
                    /* try { // try from 00695bb2 to 00695bb6 has its CatchHandler @ 00695c92 */
      SendPropFloat(ServerClassInit<DT_EnvScreenOverlay::ignored>(DT_EnvScreenOverlay::ignored*)::
                    g_SendProps + 0x1f8,0xc6a94d,0x490,4,0x20,5.60519e-45,0.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                    0xa0);
                    /* try { // try from 00695bf9 to 00695bfd has its CatchHandler @ 00695c99 */
      SendPropInt(ServerClassInit<DT_EnvScreenOverlay::ignored>(DT_EnvScreenOverlay::ignored*)::
                  g_SendProps + 0x24c,0xc7f832,0x494,4,5,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
      uVar4 = 1;
      uVar3 = 0x498;
      pcVar2 = "m_bIsActive";
                    /* try { // try from 00695c20 to 00695c24 has its CatchHandler @ 00695ca0 */
      SendPropBool(ServerClassInit<DT_EnvScreenOverlay::ignored>(DT_EnvScreenOverlay::ignored*)::
                   g_SendProps + 0x2a0,0xc7f844,0x498);
      __cxa_guard_release(&ServerClassInit<DT_EnvScreenOverlay::ignored>(DT_EnvScreenOverlay::ignored*)
                           ::g_SendProps,pcVar2,uVar3,uVar4);
      __cxa_atexit(__tcf_0,0,&__dso_handle);
    }
  }
  SendTable::Construct
            ((SendTable *)DT_EnvScreenOverlay::g_SendTable,
             (SendProp *)
             (ServerClassInit<DT_EnvScreenOverlay::ignored>(DT_EnvScreenOverlay::ignored*)::
              g_SendProps + 0x54),8,"DT_EnvScreenOverlay");
  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)