L L4D2node

ServerClassInit<DT_GlowProperty::ignored>

0x00466250 · 517 bytes · __cdecl

_Z15ServerClassInitIN15DT_GlowProperty7ignoredEEiPT_

Decompiled

int (1 param)

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

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

{
  int iVar1;
  char *pcVar2;
  undefined4 uVar3;
  undefined4 uVar4;
  
  if (ServerClassInit<DT_GlowProperty::ignored>(DT_GlowProperty::ignored*)::g_SendProps == '\0') {
    iVar1 = __cxa_guard_acquire(&ServerClassInit<DT_GlowProperty::ignored>(DT_GlowProperty::ignored*)
                                 ::g_SendProps);
    if (iVar1 != 0) {
                    /* try { // try from 004662df to 004662e3 has its CatchHandler @ 00466457 */
      SendPropInt(ServerClassInit<DT_GlowProperty::ignored>(DT_GlowProperty::ignored*)::g_SendProps,
                  0xbfae4c,0,4,-1,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
                    /* try { // try from 00466326 to 0046632a has its CatchHandler @ 00466486 */
      SendPropInt(ServerClassInit<DT_GlowProperty::ignored>(DT_GlowProperty::ignored*)::g_SendProps
                  + 0x54,0xc1581a,4,4,0,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
                    /* try { // try from 0046636d to 00466371 has its CatchHandler @ 004664a4 */
      SendPropInt(ServerClassInit<DT_GlowProperty::ignored>(DT_GlowProperty::ignored*)::g_SendProps
                  + 0xa8,0xc15826,8,4,0,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
                    /* try { // try from 004663b4 to 004663b8 has its CatchHandler @ 004664ab */
      SendPropInt(ServerClassInit<DT_GlowProperty::ignored>(DT_GlowProperty::ignored*)::g_SendProps
                  + 0xfc,0xc15833,0xc,4,0,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
                    /* try { // try from 004663fb to 004663ff has its CatchHandler @ 004664b2 */
      SendPropInt(ServerClassInit<DT_GlowProperty::ignored>(DT_GlowProperty::ignored*)::g_SendProps
                  + 0x150,0xc15843,0x10,4,0,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,0x80);
      uVar4 = 1;
      uVar3 = 0x14;
      pcVar2 = "m_bFlashing";
                    /* try { // try from 00466422 to 00466426 has its CatchHandler @ 004664b9 */
      SendPropBool(ServerClassInit<DT_GlowProperty::ignored>(DT_GlowProperty::ignored*)::g_SendProps
                   + 0x1a4,0xc15857,0x14);
      __cxa_guard_release(&ServerClassInit<DT_GlowProperty::ignored>(DT_GlowProperty::ignored*)::
                           g_SendProps,pcVar2,uVar3,uVar4);
      __cxa_atexit(__tcf_0,0,&__dso_handle);
    }
  }
  SendTable::Construct
            ((SendTable *)DT_GlowProperty::g_SendTable,
             (SendProp *)
             (ServerClassInit<DT_GlowProperty::ignored>(DT_GlowProperty::ignored*)::g_SendProps +
             0x54),5,"DT_GlowProperty");
  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)