L L4D2node

ServerClassInit<DT_TEBloodStream::ignored>

0x00afa560 · 692 bytes · __cdecl

_Z15ServerClassInitIN16DT_TEBloodStream7ignoredEEiPT_

Decompiled

int (1 param)

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

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

{
  int iVar1;
  
  if (ServerClassInit<DT_TEBloodStream::ignored>(DT_TEBloodStream::ignored*)::g_SendProps == '\0') {
    iVar1 = __cxa_guard_acquire(&ServerClassInit<DT_TEBloodStream::ignored>(DT_TEBloodStream::ignored*)
                                 ::g_SendProps);
    if (iVar1 != 0) {
                    /* try { // try from 00afa5ef to 00afa5f3 has its CatchHandler @ 00afa816 */
      SendPropInt(ServerClassInit<DT_TEBloodStream::ignored>(DT_TEBloodStream::ignored*)::
                  g_SendProps,0xbfae4c,0,4,-1,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
                    /* try { // try from 00afa627 to 00afa62b has its CatchHandler @ 00afa845 */
      SendPropDataTable(ServerClassInit<DT_TEBloodStream::ignored>(DT_TEBloodStream::ignored*)::
                        g_SendProps + 0x54,0xc087aa,(SendTable *)0x0,
                        (_func_void_ptr_SendProp_ptr_void_ptr_void_ptr_CSendProxyRecipients_ptr_int
                         *)CTEParticleSystem::m_pClassSendTable,'P');
                    /* try { // try from 00afa67e to 00afa682 has its CatchHandler @ 00afa863 */
      SendPropVector(ServerClassInit<DT_TEBloodStream::ignored>(DT_TEBloodStream::ignored*)::
                     g_SendProps + 0xa8,0xc8c1c7,0x18,0xc,0xb,0.0,-10.0,
                     (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x41200000,
                     0xc0);
                    /* try { // try from 00afa6c5 to 00afa6c9 has its CatchHandler @ 00afa86a */
      SendPropInt(ServerClassInit<DT_TEBloodStream::ignored>(DT_TEBloodStream::ignored*)::
                  g_SendProps + 0xfc,0xd2aa9d,0x24,4,8,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 00afa70c to 00afa710 has its CatchHandler @ 00afa871 */
      SendPropInt(ServerClassInit<DT_TEBloodStream::ignored>(DT_TEBloodStream::ignored*)::
                  g_SendProps + 0x150,0xd3c1a3,0x28,4,8,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 00afa753 to 00afa757 has its CatchHandler @ 00afa878 */
      SendPropInt(ServerClassInit<DT_TEBloodStream::ignored>(DT_TEBloodStream::ignored*)::
                  g_SendProps + 0x1a4,0xc05ba0,0x2c,4,8,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 00afa79a to 00afa79e has its CatchHandler @ 00afa87f */
      SendPropInt(ServerClassInit<DT_TEBloodStream::ignored>(DT_TEBloodStream::ignored*)::
                  g_SendProps + 0x1f8,0xc908f8,0x30,4,8,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 00afa7e1 to 00afa7e5 has its CatchHandler @ 00afa886 */
      SendPropInt(ServerClassInit<DT_TEBloodStream::ignored>(DT_TEBloodStream::ignored*)::
                  g_SendProps + 0x24c,0xd3b104,0x34,4,8,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
      __cxa_guard_release(&ServerClassInit<DT_TEBloodStream::ignored>(DT_TEBloodStream::ignored*)::
                           g_SendProps);
      __cxa_atexit(__tcf_0,0,&__dso_handle);
    }
  }
  SendTable::Construct
            ((SendTable *)DT_TEBloodStream::g_SendTable,
             (SendProp *)
             (ServerClassInit<DT_TEBloodStream::ignored>(DT_TEBloodStream::ignored*)::g_SendProps +
             0x54),7,"DT_TEBloodStream");
  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)