L L4D2node

ServerClassInit<DT_TESparks::ignored>

0x00b06420 · 482 bytes · __cdecl

_Z15ServerClassInitIN11DT_TESparks7ignoredEEiPT_

Decompiled

int (1 param)

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

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

{
  int iVar1;
  
  if (ServerClassInit<DT_TESparks::ignored>(DT_TESparks::ignored*)::g_SendProps == '\0') {
    iVar1 = __cxa_guard_acquire(&ServerClassInit<DT_TESparks::ignored>(DT_TESparks::ignored*)::
                                 g_SendProps);
    if (iVar1 != 0) {
                    /* try { // try from 00b064b7 to 00b064bb has its CatchHandler @ 00b06609 */
      SendPropInt(ServerClassInit<DT_TESparks::ignored>(DT_TESparks::ignored*)::g_SendProps,0xbfae4c
                  ,0,4,-1,(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0'
                 );
                    /* try { // try from 00b064ef to 00b064f3 has its CatchHandler @ 00b06634 */
      SendPropDataTable(ServerClassInit<DT_TESparks::ignored>(DT_TESparks::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 00b06536 to 00b0653a has its CatchHandler @ 00b0664c */
      SendPropInt(ServerClassInit<DT_TESparks::ignored>(DT_TESparks::ignored*)::g_SendProps + 0xa8,
                  0xc7750a,0x18,4,4,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 00b0657d to 00b06581 has its CatchHandler @ 00b0663d */
      SendPropInt(ServerClassInit<DT_TESparks::ignored>(DT_TESparks::ignored*)::g_SendProps + 0xfc,
                  0xc7b8fb,0x1c,4,4,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 00b065d4 to 00b065d8 has its CatchHandler @ 00b06646 */
      SendPropVector(ServerClassInit<DT_TESparks::ignored>(DT_TESparks::ignored*)::g_SendProps +
                     0x150,0xd3aae6,0x20,0xc,-1,5.73972e-42,0.0,
                     (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                     0xc0);
      __cxa_guard_release(&ServerClassInit<DT_TESparks::ignored>(DT_TESparks::ignored*)::g_SendProps
                         );
      __cxa_atexit(__tcf_0,0,&__dso_handle);
    }
  }
  SendTable::Construct
            ((SendTable *)DT_TESparks::g_SendTable,
             (SendProp *)
             (ServerClassInit<DT_TESparks::ignored>(DT_TESparks::ignored*)::g_SendProps + 0x54),4,
             "DT_TESparks");
  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)