L L4D2node

ServerClassInit<DT_FogController::ignored>

0x006a8a70 · 1751 bytes · __cdecl

_Z15ServerClassInitIN16DT_FogController7ignoredEEiPT_

Decompiled

int (1 param)

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

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

{
  int iVar1;
  
  if (ServerClassInit<DT_FogController::ignored>(DT_FogController::ignored*)::g_SendProps == '\0') {
    iVar1 = __cxa_guard_acquire(&ServerClassInit<DT_FogController::ignored>(DT_FogController::ignored*)
                                 ::g_SendProps);
    if (iVar1 != 0) {
                    /* try { // try from 006a8aff to 006a8b03 has its CatchHandler @ 006a9149 */
      SendPropInt(ServerClassInit<DT_FogController::ignored>(DT_FogController::ignored*)::
                  g_SendProps,0xbfae4c,0,4,-1,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
                    /* try { // try from 006a8b46 to 006a8b4a has its CatchHandler @ 006a9178 */
      SendPropInt(ServerClassInit<DT_FogController::ignored>(DT_FogController::ignored*)::
                  g_SendProps + 0x54,0xc87dab,0x48c,1,1,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 006a8b8d to 006a8b91 has its CatchHandler @ 006a9196 */
      SendPropInt(ServerClassInit<DT_FogController::ignored>(DT_FogController::ignored*)::
                  g_SendProps + 0xa8,0xc87db8,0x48d,1,1,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
                    /* try { // try from 006a8be4 to 006a8be8 has its CatchHandler @ 006a919d */
      SendPropVector(ServerClassInit<DT_FogController::ignored>(DT_FogController::ignored*)::
                     g_SendProps + 0xfc,0xc87dc4,0x444,0xc,-1,5.73972e-42,0.0,
                     (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                     0xc0);
                    /* try { // try from 006a8c2b to 006a8c2f has its CatchHandler @ 006a91a4 */
      SendPropInt(ServerClassInit<DT_FogController::ignored>(DT_FogController::ignored*)::
                  g_SendProps + 0x150,0xc87dd5,0x450,4,0x20,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,0x80);
                    /* try { // try from 006a8c72 to 006a8c76 has its CatchHandler @ 006a91ab */
      SendPropInt(ServerClassInit<DT_FogController::ignored>(DT_FogController::ignored*)::
                  g_SendProps + 0x1a4,0xc87de8,0x454,4,0x20,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,0x80);
                    /* try { // try from 006a8cc9 to 006a8ccd has its CatchHandler @ 006a91b2 */
      SendPropFloat(ServerClassInit<DT_FogController::ignored>(DT_FogController::ignored*)::
                    g_SendProps + 0x1f8,0xc87dfd,0x460,4,0,5.60519e-45,0.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                    0xa0);
                    /* try { // try from 006a8d20 to 006a8d24 has its CatchHandler @ 006a91b9 */
      SendPropFloat(ServerClassInit<DT_FogController::ignored>(DT_FogController::ignored*)::
                    g_SendProps + 0x24c,0xc87e09,0x464,4,0,5.60519e-45,0.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                    0xa0);
                    /* try { // try from 006a8d77 to 006a8d7b has its CatchHandler @ 006a91c0 */
      SendPropFloat(ServerClassInit<DT_FogController::ignored>(DT_FogController::ignored*)::
                    g_SendProps + 0x2a0,0xc87e13,0x46c,4,0,5.60519e-45,0.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                    0xa0);
                    /* try { // try from 006a8dce to 006a8dd2 has its CatchHandler @ 006a91c7 */
      SendPropFloat(ServerClassInit<DT_FogController::ignored>(DT_FogController::ignored*)::
                    g_SendProps + 0x2f4,0xc87e24,0x468,4,0,5.60519e-45,0.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                    0xa0);
                    /* try { // try from 006a8e25 to 006a8e29 has its CatchHandler @ 006a91ce */
      SendPropFloat(ServerClassInit<DT_FogController::ignored>(DT_FogController::ignored*)::
                    g_SendProps + 0x348,0xc87e2f,0x470,4,0,5.60519e-45,0.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                    0xa0);
                    /* try { // try from 006a8e6c to 006a8e70 has its CatchHandler @ 006a91d8 */
      SendPropInt(ServerClassInit<DT_FogController::ignored>(DT_FogController::ignored*)::
                  g_SendProps + 0x39c,0xc87e45,0x458,4,0x20,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,0x80);
                    /* try { // try from 006a8eb3 to 006a8eb7 has its CatchHandler @ 006a91e2 */
      SendPropInt(ServerClassInit<DT_FogController::ignored>(DT_FogController::ignored*)::
                  g_SendProps + 0x3f0,0xc87e5e,0x45c,4,0x20,
                  (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,0x80);
                    /* try { // try from 006a8f0a to 006a8f0e has its CatchHandler @ 006a91ec */
      SendPropFloat(ServerClassInit<DT_FogController::ignored>(DT_FogController::ignored*)::
                    g_SendProps + 0x444,0xc87e79,0x478,4,0,5.60519e-45,0.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                    0xa0);
                    /* try { // try from 006a8f61 to 006a8f65 has its CatchHandler @ 006a91f6 */
      SendPropFloat(ServerClassInit<DT_FogController::ignored>(DT_FogController::ignored*)::
                    g_SendProps + 0x498,0xc87e8b,0x47c,4,0,5.60519e-45,0.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                    0xa0);
                    /* try { // try from 006a8fb8 to 006a8fbc has its CatchHandler @ 006a9200 */
      SendPropFloat(ServerClassInit<DT_FogController::ignored>(DT_FogController::ignored*)::
                    g_SendProps + 0x4ec,0xc87e9b,0x480,4,0,5.60519e-45,0.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                    0xa0);
                    /* try { // try from 006a900f to 006a9013 has its CatchHandler @ 006a920a */
      SendPropFloat(ServerClassInit<DT_FogController::ignored>(DT_FogController::ignored*)::
                    g_SendProps + 0x540,0xc87eb2,0x474,4,0,5.60519e-45,0.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                    0xa0);
                    /* try { // try from 006a9066 to 006a906a has its CatchHandler @ 006a9214 */
      SendPropFloat(ServerClassInit<DT_FogController::ignored>(DT_FogController::ignored*)::
                    g_SendProps + 0x594,0xc87ece,0x484,4,0,5.60519e-45,0.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                    0xa0);
                    /* try { // try from 006a90bd to 006a90c1 has its CatchHandler @ 006a921e */
      SendPropFloat(ServerClassInit<DT_FogController::ignored>(DT_FogController::ignored*)::
                    g_SendProps + 0x5e8,0xc87edd,0x488,4,0,5.60519e-45,0.0,
                    (_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
                    0xa0);
                    /* try { // try from 006a9114 to 006a9118 has its CatchHandler @ 006a9228 */
      SendPropFloat(ServerClassInit<DT_FogController::ignored>(DT_FogController::ignored*)::
                    g_SendProps + 0x63c,0xc87eec,0x490,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_FogController::ignored>(DT_FogController::ignored*)::
                           g_SendProps);
      __cxa_atexit(__tcf_0,0,&__dso_handle);
    }
  }
  SendTable::Construct
            ((SendTable *)DT_FogController::g_SendTable,
             (SendProp *)
             (ServerClassInit<DT_FogController::ignored>(DT_FogController::ignored*)::g_SendProps +
             0x54),0x13,"DT_FogController");
  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)