L L4D2node

ServerClassInit<DT_AbilityTongue::ignored>

0x0083fe20 · 1276 bytes · __cdecl

_Z15ServerClassInitIN16DT_AbilityTongue7ignoredEEiPT_

Decompiled

int (1 param)

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

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

{
  int iVar1;
  char *pcVar2;
  undefined4 uVar3;
  undefined4 uVar4;
  
  if (ServerClassInit<DT_AbilityTongue::ignored>(DT_AbilityTongue::ignored*)::g_SendProps == '\0') {
    iVar1 = __cxa_guard_acquire(&ServerClassInit<DT_AbilityTongue::ignored>(DT_AbilityTongue::ignored*)
                                 ::g_SendProps);
    if (iVar1 != 0) {
                    /* try { // try from 0083feaf to 0083feb3 has its CatchHandler @ 0084031e */
      SendPropInt(ServerClassInit<DT_AbilityTongue::ignored>(DT_AbilityTongue::ignored*)::
                  g_SendProps,0xbfae4c,0,4,-1,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
                    /* try { // try from 0083fee7 to 0083feeb has its CatchHandler @ 0084034d */
      SendPropDataTable(ServerClassInit<DT_AbilityTongue::ignored>(DT_AbilityTongue::ignored*)::
                        g_SendProps + 0x54,0xc087aa,(SendTable *)0x0,
                        (_func_void_ptr_SendProp_ptr_void_ptr_void_ptr_CSendProxyRecipients_ptr_int
                         *)CBaseAbility::m_pClassSendTable,'P');
                    /* try { // try from 0083ff2e to 0083ff32 has its CatchHandler @ 0084036b */
      SendPropInt(ServerClassInit<DT_AbilityTongue::ignored>(DT_AbilityTongue::ignored*)::
                  g_SendProps + 0xa8,0xcd69b3,0x460,4,-1,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
                    /* try { // try from 0083ff85 to 0083ff89 has its CatchHandler @ 00840372 */
      SendPropFloat(ServerClassInit<DT_AbilityTongue::ignored>(DT_AbilityTongue::ignored*)::
                    g_SendProps + 0xfc,0xcd69ce,0x464,4,0x20,0.0,0.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                    0xa0);
                    /* try { // try from 0083ffdc to 0083ffe0 has its CatchHandler @ 00840379 */
      SendPropFloat(ServerClassInit<DT_AbilityTongue::ignored>(DT_AbilityTongue::ignored*)::
                    g_SendProps + 0x150,0xcd69df,0x468,4,0x20,0.0,0.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                    0xa0);
                    /* try { // try from 00840003 to 00840007 has its CatchHandler @ 00840380 */
      SendPropBool(ServerClassInit<DT_AbilityTongue::ignored>(DT_AbilityTongue::ignored*)::
                   g_SendProps + 0x1a4,0xcd69f4,0x46c);
                    /* try { // try from 0084005a to 0084005e has its CatchHandler @ 00840387 */
      SendPropFloat(ServerClassInit<DT_AbilityTongue::ignored>(DT_AbilityTongue::ignored*)::
                    g_SendProps + 0x1f8,0xcd6a09,0x470,4,0x20,0.0,0.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                    0xa0);
                    /* try { // try from 008400b1 to 008400b5 has its CatchHandler @ 0084038e */
      SendPropFloat(ServerClassInit<DT_AbilityTongue::ignored>(DT_AbilityTongue::ignored*)::
                    g_SendProps + 0x24c,0xcd6a20,0x474,4,0x20,0.0,0.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                    0xa0);
                    /* try { // try from 00840108 to 0084010c has its CatchHandler @ 00840395 */
      SendPropFloat(ServerClassInit<DT_AbilityTongue::ignored>(DT_AbilityTongue::ignored*)::
                    g_SendProps + 0x2a0,0xcd6fa8,0x478,4,0x20,0.0,0.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                    0xa0);
                    /* try { // try from 0084013f to 00840143 has its CatchHandler @ 0084039c */
      SendPropEHandle(ServerClassInit<DT_AbilityTongue::ignored>(DT_AbilityTongue::ignored*)::
                      g_SendProps + 0x2f4,0xcd6a3b,0x47c,4,
                      (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)
                      &DAT_ffffffff);
                    /* try { // try from 00840176 to 0084017a has its CatchHandler @ 008403a3 */
      SendPropEHandle(ServerClassInit<DT_AbilityTongue::ignored>(DT_AbilityTongue::ignored*)::
                      g_SendProps + 0x348,0xcd6a4d,0x480,4,
                      (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)
                      &DAT_ffffffff);
                    /* try { // try from 008401bd to 008401c1 has its CatchHandler @ 008403ad */
      SendPropInt(ServerClassInit<DT_AbilityTongue::ignored>(DT_AbilityTongue::ignored*)::
                  g_SendProps + 0x39c,0xcd6a60,0x4ac,4,-1,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
                    /* try { // try from 00840204 to 00840208 has its CatchHandler @ 008403b7 */
      SendPropInt(ServerClassInit<DT_AbilityTongue::ignored>(DT_AbilityTongue::ignored*)::
                  g_SendProps + 0x3f0,0xcd6a6e,0x534,4,-1,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
                    /* try { // try from 0084025b to 0084025f has its CatchHandler @ 008403c1 */
      SendPropVector(ServerClassInit<DT_AbilityTongue::ignored>(DT_AbilityTongue::ignored*)::
                     g_SendProps + 0x444,0xcd6a7f,0x538,0xc,0x20,5.60519e-45,0.0,
                     (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                     0xc0);
                    /* try { // try from 008402b2 to 008402b6 has its CatchHandler @ 008403cb */
      SendPropVector(ServerClassInit<DT_AbilityTongue::ignored>(DT_AbilityTongue::ignored*)::
                     g_SendProps + 0x498,0xcd6a8d,0x4bc,0xc,-1,5.73972e-42,0.0,
                     (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                     0xc0);
      uVar4 = 0x80;
      uVar3 = 0;
      pcVar2 = "m_bendPositions";
                    /* try { // try from 008402e9 to 008402ed has its CatchHandler @ 008403d5 */
      InternalSendPropArray
                (0xffb72c,10,(char *)0xc,(_func_int_void_ptr_int *)"m_bendPositions",'\0');
      __cxa_guard_release(&ServerClassInit<DT_AbilityTongue::ignored>(DT_AbilityTongue::ignored*)::
                           g_SendProps);
      __cxa_atexit(__tcf_0,0,&__dso_handle,pcVar2,uVar3,uVar4);
    }
  }
  SendTable::Construct
            ((SendTable *)DT_AbilityTongue::g_SendTable,
             (SendProp *)
             (ServerClassInit<DT_AbilityTongue::ignored>(DT_AbilityTongue::ignored*)::g_SendProps +
             0x54),0xf,"DT_AbilityTongue");
  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)