L L4D2node

ServerClassInit<DT_CSRagdoll::ignored>

0x00654cb0 · 1314 bytes · __cdecl

_Z15ServerClassInitIN12DT_CSRagdoll7ignoredEEiPT_

Decompiled

int (1 param)

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

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

{
  int iVar1;
  
  if (ServerClassInit<DT_CSRagdoll::ignored>(DT_CSRagdoll::ignored*)::g_SendProps == '\0') {
    iVar1 = __cxa_guard_acquire(&ServerClassInit<DT_CSRagdoll::ignored>(DT_CSRagdoll::ignored*)::
                                 g_SendProps);
    if (iVar1 != 0) {
                    /* try { // try from 00654d3f to 00654d43 has its CatchHandler @ 006551d4 */
      SendPropInt(ServerClassInit<DT_CSRagdoll::ignored>(DT_CSRagdoll::ignored*)::g_SendProps,
                  0xbfae4c,0,4,-1,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
                    /* try { // try from 00654d96 to 00654d9a has its CatchHandler @ 00655207 */
      SendPropVector(ServerClassInit<DT_CSRagdoll::ignored>(DT_CSRagdoll::ignored*)::g_SendProps +
                     0x54,0xbfae62,0x39c,0xc,-1,3.73082e-40,0.0,
                     (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                     '`');
                    /* try { // try from 00654ded to 00654df1 has its CatchHandler @ 00655276 */
      SendPropVector(ServerClassInit<DT_CSRagdoll::ignored>(DT_CSRagdoll::ignored*)::g_SendProps +
                     0xa8,0xc6cef7,0x1608,0xc,-1,5.73972e-42,0.0,
                     (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                     0xc0);
                    /* try { // try from 00654e24 to 00654e28 has its CatchHandler @ 00655262 */
      SendPropEHandle(ServerClassInit<DT_CSRagdoll::ignored>(DT_CSRagdoll::ignored*)::g_SendProps +
                      0xfc,0xc6cf0a,0x15f8,4,
                      (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)
                      &DAT_ffffffff);
                    /* try { // try from 00654e6b to 00654e6f has its CatchHandler @ 0065526c */
      SendPropInt(ServerClassInit<DT_CSRagdoll::ignored>(DT_CSRagdoll::ignored*)::g_SendProps +
                  0x150,0xc0a9d0,0x122,2,0xc,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
                    /* try { // try from 00654eb2 to 00654eb6 has its CatchHandler @ 00655243 */
      SendPropInt(ServerClassInit<DT_CSRagdoll::ignored>(DT_CSRagdoll::ignored*)::g_SendProps +
                  0x1a4,0xc59c62,0x448,4,8,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
                    /* try { // try from 00654f09 to 00654f0d has its CatchHandler @ 0065524a */
      SendPropVector(ServerClassInit<DT_CSRagdoll::ignored>(DT_CSRagdoll::ignored*)::g_SendProps +
                     0x1f8,0xc59c6f,0x44c,0xc,-1,5.60519e-45,0.0,
                     (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                     0xc0);
                    /* try { // try from 00654f60 to 00654f64 has its CatchHandler @ 00655251 */
      SendPropVector(ServerClassInit<DT_CSRagdoll::ignored>(DT_CSRagdoll::ignored*)::g_SendProps +
                     0x24c,0xc6cf14,0x15fc,0xc,0x20,5.60519e-45,0.0,
                     (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                     0xc0);
                    /* try { // try from 00654fa7 to 00654fab has its CatchHandler @ 00655258 */
      SendPropInt(ServerClassInit<DT_CSRagdoll::ignored>(DT_CSRagdoll::ignored*)::g_SendProps +
                  0x2a0,0xc6cf29,0x1614,4,0xd,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
                    /* try { // try from 00654fee to 00654ff2 has its CatchHandler @ 0065520e */
      SendPropInt(ServerClassInit<DT_CSRagdoll::ignored>(DT_CSRagdoll::ignored*)::g_SendProps +
                  0x2f4,0xc6cf36,0x1618,4,5,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
                    /* try { // try from 00655035 to 00655039 has its CatchHandler @ 00655215 */
      SendPropInt(ServerClassInit<DT_CSRagdoll::ignored>(DT_CSRagdoll::ignored*)::g_SendProps +
                  0x348,0xc5c154,0x24c,4,6,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
                    /* try { // try from 0065507c to 00655080 has its CatchHandler @ 0065521c */
      SendPropInt(ServerClassInit<DT_CSRagdoll::ignored>(DT_CSRagdoll::ignored*)::g_SendProps +
                  0x39c,0xc59cac,0x508,1,1,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 006550a3 to 006550a7 has its CatchHandler @ 00655223 */
      SendPropBool(ServerClassInit<DT_CSRagdoll::ignored>(DT_CSRagdoll::ignored*)::g_SendProps +
                   0x3f0,0xc6cf44,0x161c);
                    /* try { // try from 006550ca to 006550ce has its CatchHandler @ 0065522a */
      SendPropBool(ServerClassInit<DT_CSRagdoll::ignored>(DT_CSRagdoll::ignored*)::g_SendProps +
                   0x444,0xc6cf4e,0x161d);
                    /* try { // try from 00655111 to 00655115 has its CatchHandler @ 00655231 */
      SendPropInt(ServerClassInit<DT_CSRagdoll::ignored>(DT_CSRagdoll::ignored*)::g_SendProps +
                  0x498,0xc6cf5e,0x1620,4,4,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
                    /* try { // try from 00655158 to 0065515c has its CatchHandler @ 00655238 */
      SendPropInt(ServerClassInit<DT_CSRagdoll::ignored>(DT_CSRagdoll::ignored*)::g_SendProps +
                  0x4ec,0xc6cf6c,0x1624,4,4,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 0065519f to 006551a3 has its CatchHandler @ 0065523f */
      SendPropInt(ServerClassInit<DT_CSRagdoll::ignored>(DT_CSRagdoll::ignored*)::g_SendProps +
                  0x540,0xc6cf7a,0x1628,4,8,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
      __cxa_guard_release(&ServerClassInit<DT_CSRagdoll::ignored>(DT_CSRagdoll::ignored*)::
                           g_SendProps);
      __cxa_atexit(__tcf_0,0,&__dso_handle);
    }
  }
  SendTable::Construct
            ((SendTable *)DT_CSRagdoll::g_SendTable,
             (SendProp *)
             (ServerClassInit<DT_CSRagdoll::ignored>(DT_CSRagdoll::ignored*)::g_SendProps + 0x54),
             0x10,"DT_CSRagdoll");
  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)