L L4D2node

_GLOBAL__sub_I_linksallocated

0x0037d8c0 · 1099 bytes · unknown

Decompiled

undefined (0 params)

/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */

void _GLOBAL__sub_I_linksallocated(void)

{
  UNSPECIFIED_LOGGING_COLOR._0_1_ = 0;
  UNSPECIFIED_LOGGING_COLOR._1_1_ = 0;
  UNSPECIFIED_LOGGING_COLOR._2_1_ = 0;
  UNSPECIFIED_LOGGING_COLOR._3_1_ = 0;
  vec2_origin._0_4_ = 0;
  vec2_origin._4_4_ = 0;
  vec2_invalid._0_4_ = 0x7f7fffff;
  vec2_invalid._4_4_ = 0x7f7fffff;
  vec4_origin._0_4_ = 0;
  vec4_origin._4_4_ = 0;
  vec4_origin._8_4_ = 0;
  vec4_origin._12_4_ = 0;
  vec4_invalid._0_4_ = 0x7f7fffff;
  vec4_invalid._4_4_ = 0x7f7fffff;
  vec4_invalid._8_4_ = 0x7f7fffff;
  vec4_invalid._12_4_ = 0x7f7fffff;
  CUtlMemoryPool::CUtlMemoryPool
            ((CUtlMemoryPool *)g_EdictTouchLinks,0x14,0x800,0,"g_EdictTouchLinks",0);
  __cxa_atexit(CUtlMemoryPool::~CUtlMemoryPool,g_EdictTouchLinks,&__dso_handle);
  CUtlMemoryPool::CUtlMemoryPool
            ((CUtlMemoryPool *)g_EntityGroundLinks,0xc,0x800,0,"g_EntityGroundLinks",0);
  __cxa_atexit(CUtlMemoryPool::~CUtlMemoryPool,g_EntityGroundLinks,&__dso_handle);
  _DAT_00f7e898 = 0xffff;
  _DAT_00f7e89a = 0xffff;
  _DAT_00f7e89c = 0xffff;
  _DAT_00f7e89e = 0;
  _DAT_00f7e8a0 = 0;
  _DAT_00f7e8ae = 0;
  _DAT_00f7e8a2 = 0xffff;
  g_WatcherList = 0;
  DAT_00f7e884 = 0;
  DAT_00f7e888 = 0;
  DAT_00f7e88c = 0;
  _DAT_00f7e890 = 0;
  _DAT_00f7e894 = 0;
  _DAT_00f7e8a4 = 0;
  DAT_00f7e8a8 = 0;
  _DAT_00f7e8ac = 0xffff;
  DAT_00f7e8b0 = 0;
  _DAT_00f7e8b4 = 0;
  __cxa_atexit(CUtlMultiList<watcher_t,unsigned_short>::~CUtlMultiList,&g_WatcherList,&__dso_handle)
  ;
  ConVar::ConVar((ConVar *)think_limit,"think_limit","10",0x82000,
                 "Maximum think time in milliseconds, warning is printed if this is exceeded.");
  __cxa_atexit(ConVar::~ConVar,think_limit,&__dso_handle);
  ConVar::ConVar((ConVar *)debug_touchlinks,"debug_touchlinks","0",0,"Spew touch link activity");
  __cxa_atexit(ConVar::~ConVar,debug_touchlinks,&__dso_handle);
  DAT_00f7e5d8 = 0;
  DAT_00f7e5dc = 0;
  LOCK();
  _DAT_00f7e5d0 = 0;
  UNLOCK();
  DAT_00f7e5cc = 0;
  DAT_00f7e5c4 = 0;
                    /* try { // try from 0037dba3 to 0037dba7 has its CatchHandler @ 0037dd0b */
  CPortalTouchScope::m_CallQueue = operator_new(8);
  DAT_00f7e5c8 = CPortalTouchScope::m_CallQueue;
  *CPortalTouchScope::m_CallQueue = &CPortalTouchScope::m_CallQueue;
  DAT_00f7e5e0 = 0;
  __cxa_atexit(CCallQueue::~CCallQueue,&CPortalTouchScope::m_CallQueue,&__dso_handle);
  CAutoGameSystem::CAutoGameSystem((CAutoGameSystem *)g_DataObjectAccessSystem,(char *)0x0);
  g_DataObjectAccessSystem._0_4_ = &PTR_Name_00c18508;
                    /* try { // try from 0037dc10 to 0037dc14 has its CatchHandler @ 0037dd4a */
  _V_memset(g_DataObjectAccessSystem + 0xc,0,0x80);
  __cxa_atexit(CDataObjectAccessSystem::~CDataObjectAccessSystem,g_DataObjectAccessSystem,
               &__dso_handle);
  ConVar::ConVar((ConVar *)sv_thinktimecheck,"sv_thinktimecheck","0",0,
                 "Check for thinktimes all on same timestamp.");
  __cxa_atexit(ConVar::~ConVar,sv_thinktimecheck,&__dso_handle);
  _DAT_00f7e6f6 = 0xffff;
  g_ThinkChecker = CThinkSyncTester::ThinkLessFunc;
  DAT_00f7e6e4 = 0;
  _DAT_00f7e6e8 = 0;
  _DAT_00f7e6ec = 0;
  DAT_00f7e6f0 = 0xffff;
  DAT_00f7e6f2 = 0;
  _DAT_00f7e6f4 = 0xffff;
  _DAT_00f7e6f8 = 0;
  _DAT_00f7e6fc = 0xffffffff;
  DAT_00f7e700 = 0;
  __cxa_atexit(CThinkSyncTester::~CThinkSyncTester,&g_ThinkChecker,&__dso_handle);
  return;
}

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.



        
        

⚠ This function has no mangled symbol — it may be internal/static. The Linux gamedata field uses @-prefix symbol resolution which requires an exported mangled name. You'll need a Linux byte signature for this one (extract via extract_signature.java).


          

Type inference is best-effort from the C signature - sanity-check the DHooks types before shipping.

Return-type handling cheatsheet (DHookReturn)