L L4D2node

_GLOBAL__sub_I_g_DispCollTriCache

0x00091c70 · 367 bytes · unknown

Decompiled

undefined (0 params)

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

void _GLOBAL__sub_I_g_DispCollTriCache(void)

{
  int iVar1;
  int iVar2;
  
  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;
  CDataManagerBase::CDataManagerBase((CDataManagerBase *)&g_DispCollTriCache,0x200000);
  g_DispCollTriCache = &PTR_Lock_002a2a28;
  _DAT_00343b2c = 0;
  _DAT_00343b30 = 0;
  __cxa_atexit(CDataManager<CDispCollTree,CDispCollTree*,bool,CThreadFastMutex>::~CDataManager,
               &g_DispCollTriCache,&__dso_handle);
  g_DispCollPlaneIndexHash = 0;
  _DAT_00343ac4 = 0;
  _DAT_00343ac8 = 0;
  DAT_00343acc = 0;
  _DAT_00343ad0 = 0;
                    /* try { // try from 00091d4a to 00091d4e has its CatchHandler @ 00091ddf */
  CUtlVector<CUtlVector<DispCollPlaneIndex_t,CUtlMemory<DispCollPlaneIndex_t,int>>,CUtlMemory<CUtlVector<DispCollPlaneIndex_t,CUtlMemory<DispCollPlaneIndex_t,int>>,int>>
  ::SetCount((CUtlVector<CUtlVector<DispCollPlaneIndex_t,CUtlMemory<DispCollPlaneIndex_t,int>>,CUtlMemory<CUtlVector<DispCollPlaneIndex_t,CUtlMemory<DispCollPlaneIndex_t,int>>,int>>
              *)&g_DispCollPlaneIndexHash,0x200);
  iVar1 = g_DispCollPlaneIndexHash;
  iVar2 = 0;
  do {
    *(undefined4 *)(iVar1 + 0xc + iVar2) = 0;
    *(undefined4 *)(iVar1 + 8 + iVar2) = 0;
    iVar2 = iVar2 + 0x14;
  } while (iVar2 != 0x2800);
  DAT_00343ad6 = 1;
  _DAT_00343ad8 = 0x1ff;
  __cxa_atexit(CUtlHash<DispCollPlaneIndex_t,CPlaneIndexHashFuncs,CPlaneIndexHashFuncs>::~CUtlHash,
               &g_DispCollPlaneIndexHash,&__dso_handle);
  s_CacheMutex = 0;
  DAT_00343b64 = 0;
  g_Vec3DispCollEpsilons = 0x3d000000;
  _DAT_00343b58 = 0x3d000000;
  _DAT_00343b5c = 0x3d000000;
  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)