L L4D2node

ServerClassInit<DT_BaseViewModel::ignored>

0x0041c540 · 1330 bytes · __cdecl

_Z15ServerClassInitIN16DT_BaseViewModel7ignoredEEiPT_

Decompiled

int (1 param)

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

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

{
  int iVar1;
  
  if (ServerClassInit<DT_BaseViewModel::ignored>(DT_BaseViewModel::ignored*)::g_SendProps == '\0') {
    iVar1 = __cxa_guard_acquire(&ServerClassInit<DT_BaseViewModel::ignored>(DT_BaseViewModel::ignored*)
                                 ::g_SendProps);
    if (iVar1 != 0) {
                    /* try { // try from 0041c5cf to 0041c5d3 has its CatchHandler @ 0041ca74 */
      SendPropInt(ServerClassInit<DT_BaseViewModel::ignored>(DT_BaseViewModel::ignored*)::
                  g_SendProps,0xbfae4c,0,4,-1,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
                    /* try { // try from 0041c616 to 0041c61a has its CatchHandler @ 0041caa7 */
      SendPropInt(ServerClassInit<DT_BaseViewModel::ignored>(DT_BaseViewModel::ignored*)::
                  g_SendProps + 0x54,0xc0a9d0,0x122,2,0xc,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
                    /* try { // try from 0041c65d to 0041c661 has its CatchHandler @ 0041cb16 */
      SendPropInt(ServerClassInit<DT_BaseViewModel::ignored>(DT_BaseViewModel::ignored*)::
                  g_SendProps + 0xa8,0xc0a9de,0x45c,4,8,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
                    /* try { // try from 0041c6a4 to 0041c6a8 has its CatchHandler @ 0041cb02 */
      SendPropInt(ServerClassInit<DT_BaseViewModel::ignored>(DT_BaseViewModel::ignored*)::
                  g_SendProps + 0xfc,0xc0a9e6,0x458,4,10,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
                    /* try { // try from 0041c6eb to 0041c6ef has its CatchHandler @ 0041cb0c */
      SendPropInt(ServerClassInit<DT_BaseViewModel::ignored>(DT_BaseViewModel::ignored*)::
                  g_SendProps + 0x150,0xc099c2,0x494,4,8,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 0041c732 to 0041c736 has its CatchHandler @ 0041cae3 */
      SendPropInt(ServerClassInit<DT_BaseViewModel::ignored>(DT_BaseViewModel::ignored*)::
                  g_SendProps + 0x1a4,0xc0a9ee,0x160c,4,8,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 0041c779 to 0041c77d has its CatchHandler @ 0041caea */
      SendPropInt(ServerClassInit<DT_BaseViewModel::ignored>(DT_BaseViewModel::ignored*)::
                  g_SendProps + 0x1f8,0xc0a9ff,0x1610,4,2,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 0041c7c0 to 0041c7c4 has its CatchHandler @ 0041caf1 */
      SendPropInt(ServerClassInit<DT_BaseViewModel::ignored>(DT_BaseViewModel::ignored*)::
                  g_SendProps + 0x24c,0xc08785,0x1604,4,1,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 0041c817 to 0041c81b has its CatchHandler @ 0041caf8 */
      SendPropFloat(ServerClassInit<DT_BaseViewModel::ignored>(DT_BaseViewModel::ignored*)::
                    g_SendProps + 0x2a0,0xc099b1,0x468,4,8,2.24208e-44,-4.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x41400000,
                    0xa0);
                    /* try { // try from 0041c85e to 0041c862 has its CatchHandler @ 0041caae */
      SendPropInt(ServerClassInit<DT_BaseViewModel::ignored>(DT_BaseViewModel::ignored*)::
                  g_SendProps + 0x2f4,0xc0aa08,0xd4,4,10,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 0041c8a5 to 0041c8a9 has its CatchHandler @ 0041cab5 */
      SendPropInt(ServerClassInit<DT_BaseViewModel::ignored>(DT_BaseViewModel::ignored*)::
                  g_SendProps + 0x348,0xc0aa13,0x1608,4,3,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 0041c8dc to 0041c8e0 has its CatchHandler @ 0041cabc */
      SendPropEHandle(ServerClassInit<DT_BaseViewModel::ignored>(DT_BaseViewModel::ignored*)::
                      g_SendProps + 0x39c,0xc0aa26,0x1618,4,
                      (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)
                      &DAT_ffffffff);
                    /* try { // try from 0041c913 to 0041c917 has its CatchHandler @ 0041cac3 */
      SendPropEHandle(ServerClassInit<DT_BaseViewModel::ignored>(DT_BaseViewModel::ignored*)::
                      g_SendProps + 0x3f0,0xc08896,0x161c,4,
                      (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)
                      &DAT_ffffffff);
                    /* try { // try from 0041c95a to 0041c95e has its CatchHandler @ 0041caca */
      SendPropInt(ServerClassInit<DT_BaseViewModel::ignored>(DT_BaseViewModel::ignored*)::
                  g_SendProps + 0x444,0xc099ce,0x50c,4,3,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 0041c9a1 to 0041c9a5 has its CatchHandler @ 0041cad1 */
      SendPropInt(ServerClassInit<DT_BaseViewModel::ignored>(DT_BaseViewModel::ignored*)::
                  g_SendProps + 0x498,0xc099e3,0x510,4,3,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 0041c9e8 to 0041c9ec has its CatchHandler @ 0041cad8 */
      SendPropInt(ServerClassInit<DT_BaseViewModel::ignored>(DT_BaseViewModel::ignored*)::
                  g_SendProps + 0x4ec,0xc099f8,0x514,1,2,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 0041ca3f to 0041ca43 has its CatchHandler @ 0041cadf */
      SendPropFloat(ServerClassInit<DT_BaseViewModel::ignored>(DT_BaseViewModel::ignored*)::
                    g_SendProps + 0x540,0xc0aa30,0x1614,4,0,5.60519e-45,0.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                    0xa0);
      __cxa_guard_release(&ServerClassInit<DT_BaseViewModel::ignored>(DT_BaseViewModel::ignored*)::
                           g_SendProps);
      __cxa_atexit(__tcf_0,0,&__dso_handle);
    }
  }
  SendTable::Construct
            ((SendTable *)DT_BaseViewModel::g_SendTable,
             (SendProp *)
             (ServerClassInit<DT_BaseViewModel::ignored>(DT_BaseViewModel::ignored*)::g_SendProps +
             0x54),0x10,"DT_BaseViewModel");
  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)