L L4D2node

ServerClassInit<DT_SceneEntity::ignored>

0x00819a20 · 604 bytes · __cdecl

_Z15ServerClassInitIN14DT_SceneEntity7ignoredEEiPT_

Decompiled

int (1 param)

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

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

{
  int iVar1;
  code *pcVar2;
  undefined4 uVar3;
  SendProp local_60 [84];
  
  if (ServerClassInit<DT_SceneEntity::ignored>(DT_SceneEntity::ignored*)::g_SendProps == '\0') {
    iVar1 = __cxa_guard_acquire(&ServerClassInit<DT_SceneEntity::ignored>(DT_SceneEntity::ignored*)
                                 ::g_SendProps);
    if (iVar1 != 0) {
                    /* try { // try from 00819ab7 to 00819abb has its CatchHandler @ 00819c80 */
      SendPropInt(ServerClassInit<DT_SceneEntity::ignored>(DT_SceneEntity::ignored*)::g_SendProps,
                  0xbfae4c,0,4,-1,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
                    /* try { // try from 00819afe to 00819b02 has its CatchHandler @ 00819caf */
      SendPropInt(ServerClassInit<DT_SceneEntity::ignored>(DT_SceneEntity::ignored*)::g_SendProps +
                  0x54,0xccb13f,0x4f4,4,0xe,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 00819b25 to 00819b29 has its CatchHandler @ 00819ccd */
      SendPropBool(ServerClassInit<DT_SceneEntity::ignored>(DT_SceneEntity::ignored*)::g_SendProps +
                   0xa8,0xccb153,0x494);
                    /* try { // try from 00819b4c to 00819b50 has its CatchHandler @ 00819cd4 */
      SendPropBool(ServerClassInit<DT_SceneEntity::ignored>(DT_SceneEntity::ignored*)::g_SendProps +
                   0xfc,0xccb164,0x495);
                    /* try { // try from 00819b73 to 00819b77 has its CatchHandler @ 00819cdb */
      SendPropBool(ServerClassInit<DT_SceneEntity::ignored>(DT_SceneEntity::ignored*)::g_SendProps +
                   0x150,0xccb16e,0x496);
      uVar3 = 0x80;
      pcVar2 = SendProxy_FloatToFloat;
                    /* try { // try from 00819bca to 00819bce has its CatchHandler @ 00819ce2 */
      SendPropFloat(ServerClassInit<DT_SceneEntity::ignored>(DT_SceneEntity::ignored*)::g_SendProps
                    + 0x1a4,0xccb17d,0x498,4,0x20,0.0,0.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                    0xa0);
                    /* try { // try from 00819c00 to 00819c04 has its CatchHandler @ 00819ce9 */
      SendPropEHandle((char *)local_60,0,0,0,
                      (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)
                      &DAT_ffffffff);
                    /* try { // try from 00819c43 to 00819c47 has its CatchHandler @ 00819ced */
      SendPropUtlVector(0xff4a78,"m_hActorList",0x4c4,4,
                        UtlVectorTemplate<CHandle<CBaseFlex>,CUtlMemory<CHandle<CBaseFlex>,int>>::
                        EnsureCapacity,0x10,local_60,SendProxy_DataTableToDataTable,pcVar2,uVar3);
      SendProp::~SendProp(local_60);
      __cxa_guard_release(&ServerClassInit<DT_SceneEntity::ignored>(DT_SceneEntity::ignored*)::
                           g_SendProps);
      __cxa_atexit(__tcf_0,0,&__dso_handle);
    }
  }
  SendTable::Construct
            ((SendTable *)DT_SceneEntity::g_SendTable,
             (SendProp *)
             (ServerClassInit<DT_SceneEntity::ignored>(DT_SceneEntity::ignored*)::g_SendProps + 0x54
             ),6,"DT_SceneEntity");
  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)