L L4D2node

ServerClassInit<DT_ShadowControl::ignored>

0x00821e90 · 517 bytes · __cdecl

_Z15ServerClassInitIN16DT_ShadowControl7ignoredEEiPT_

Decompiled

int (1 param)

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

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

{
  int iVar1;
  char *pcVar2;
  undefined4 uVar3;
  undefined4 uVar4;
  
  if (ServerClassInit<DT_ShadowControl::ignored>(DT_ShadowControl::ignored*)::g_SendProps == '\0') {
    iVar1 = __cxa_guard_acquire(&ServerClassInit<DT_ShadowControl::ignored>(DT_ShadowControl::ignored*)
                                 ::g_SendProps);
    if (iVar1 != 0) {
                    /* try { // try from 00821f1f to 00821f23 has its CatchHandler @ 00822097 */
      SendPropInt(ServerClassInit<DT_ShadowControl::ignored>(DT_ShadowControl::ignored*)::
                  g_SendProps,0xbfae4c,0,4,-1,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
                    /* try { // try from 00821f76 to 00821f7a has its CatchHandler @ 008220c6 */
      SendPropVector(ServerClassInit<DT_ShadowControl::ignored>(DT_ShadowControl::ignored*)::
                     g_SendProps + 0x54,0xccd877,0x440,0xc,-1,5.60519e-45,0.0,
                     (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                     0xc0);
                    /* try { // try from 00821fbd to 00821fc1 has its CatchHandler @ 008220e4 */
      SendPropInt(ServerClassInit<DT_ShadowControl::ignored>(DT_ShadowControl::ignored*)::
                  g_SendProps + 0xa8,0xccd889,0x44c,4,0x20,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,0x80);
                    /* try { // try from 00822014 to 00822018 has its CatchHandler @ 008220eb */
      SendPropFloat(ServerClassInit<DT_ShadowControl::ignored>(DT_ShadowControl::ignored*)::
                    g_SendProps + 0xfc,0xccd897,0x450,4,0,5.60519e-45,0.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                    0xa0);
                    /* try { // try from 0082203b to 0082203f has its CatchHandler @ 008220f2 */
      SendPropBool(ServerClassInit<DT_ShadowControl::ignored>(DT_ShadowControl::ignored*)::
                   g_SendProps + 0x150,0xccd8a9,0x454);
      uVar4 = 1;
      uVar3 = 0x455;
      pcVar2 = "m_bEnableLocalLightShadows";
                    /* try { // try from 00822062 to 00822066 has its CatchHandler @ 008220f9 */
      SendPropBool(ServerClassInit<DT_ShadowControl::ignored>(DT_ShadowControl::ignored*)::
                   g_SendProps + 0x1a4,0xccd8bb,0x455);
      __cxa_guard_release(&ServerClassInit<DT_ShadowControl::ignored>(DT_ShadowControl::ignored*)::
                           g_SendProps,pcVar2,uVar3,uVar4);
      __cxa_atexit(__tcf_0,0,&__dso_handle);
    }
  }
  SendTable::Construct
            ((SendTable *)DT_ShadowControl::g_SendTable,
             (SendProp *)
             (ServerClassInit<DT_ShadowControl::ignored>(DT_ShadowControl::ignored*)::g_SendProps +
             0x54),5,"DT_ShadowControl");
  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)