L L4D2node

ServerClassInit<DT_InfectedAnimationLayer::ignored>

0x00a0ddc0 · 465 bytes · __cdecl

_Z15ServerClassInitIN25DT_InfectedAnimationLayer7ignoredEEiPT_

Decompiled

int (1 param)

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

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

{
  int iVar1;
  char *pcVar2;
  undefined4 uVar3;
  undefined4 uVar4;
  
  if (ServerClassInit<DT_InfectedAnimationLayer::ignored>(DT_InfectedAnimationLayer::ignored*)::
      g_SendProps == '\0') {
    iVar1 = __cxa_guard_acquire(&ServerClassInit<DT_InfectedAnimationLayer::ignored>(DT_InfectedAnimationLayer::ignored*)
                                 ::g_SendProps);
    if (iVar1 != 0) {
                    /* try { // try from 00a0de57 to 00a0de5b has its CatchHandler @ 00a0df98 */
      SendPropInt(ServerClassInit<DT_InfectedAnimationLayer::ignored>(DT_InfectedAnimationLayer::ignored*)
                  ::g_SendProps,0xbfae4c,0,4,-1,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
                    /* try { // try from 00a0de9e to 00a0dea2 has its CatchHandler @ 00a0dfc3 */
      SendPropInt(ServerClassInit<DT_InfectedAnimationLayer::ignored>(DT_InfectedAnimationLayer::ignored*)
                  ::g_SendProps + 0x54,0xc099c2,4,4,0xc,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 00a0def5 to 00a0def9 has its CatchHandler @ 00a0dfdb */
      SendPropFloat(ServerClassInit<DT_InfectedAnimationLayer::ignored>(DT_InfectedAnimationLayer::ignored*)
                    ::g_SendProps + 0xa8,0xc6a94d,8,4,0,5.60519e-45,0.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                    0xa0);
                    /* try { // try from 00a0df3c to 00a0df40 has its CatchHandler @ 00a0dfcc */
      SendPropInt(ServerClassInit<DT_InfectedAnimationLayer::ignored>(DT_InfectedAnimationLayer::ignored*)
                  ::g_SendProps + 0xfc,0xc5a957,0xc,4,4,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
      uVar4 = 1;
      uVar3 = 0x10;
      pcVar2 = "m_bLooping";
                    /* try { // try from 00a0df63 to 00a0df67 has its CatchHandler @ 00a0dfd5 */
      SendPropBool(ServerClassInit<DT_InfectedAnimationLayer::ignored>(DT_InfectedAnimationLayer::ignored*)
                   ::g_SendProps + 0x150,0xc5a9ac,0x10);
      __cxa_guard_release(&ServerClassInit<DT_InfectedAnimationLayer::ignored>(DT_InfectedAnimationLayer::ignored*)
                           ::g_SendProps,pcVar2,uVar3,uVar4);
      __cxa_atexit(__tcf_0,0,&__dso_handle);
    }
  }
  SendTable::Construct
            ((SendTable *)DT_InfectedAnimationLayer::g_SendTable,
             (SendProp *)
             (ServerClassInit<DT_InfectedAnimationLayer::ignored>(DT_InfectedAnimationLayer::ignored*)
              ::g_SendProps + 0x54),4,"DT_InfectedAnimationLayer");
  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)