L L4D2node

CNetworkStringTableDictionaryManager::OnLevelLoadStart

0x001a8490 · 166 bytes · __thiscall

_ZN36CNetworkStringTableDictionaryManager16OnLevelLoadStartEPKcPm

Decompiled

undefined (3 params)

/* CNetworkStringTableDictionaryManager::OnLevelLoadStart(char const*, unsigned long*) */

undefined4 __thiscall
CNetworkStringTableDictionaryManager::OnLevelLoadStart
          (CNetworkStringTableDictionaryManager *this,char *param_1,ulong *param_2)

{
  int *piVar1;
  int iVar2;
  
  this[0x50] = (CNetworkStringTableDictionaryManager)0x0;
  CUtlString::operator=((CUtlString *)(this + 0x54),"");
  this[0x9c] = (CNetworkStringTableDictionaryManager)0x0;
  *(undefined4 *)(this + 0x70) = 0;
  *(undefined4 *)(this + 0x74) = 0;
  *(undefined4 *)(this + 0x84) = 0;
  *(undefined4 *)(this + 0x80) = 0;
  this[0x78] = (CNetworkStringTableDictionaryManager)0x0;
  CUtlMemory<unsigned_char,int>::Purge((CUtlMemory<unsigned_char,int> *)(this + 100));
  piVar1 = (int *)CommandLine_Tier0();
  iVar2 = (**(code **)(*piVar1 + 0x28))(piVar1,"-stringtables");
  this[0x4c] = (CNetworkStringTableDictionaryManager)(iVar2 != 0);
  LoadMapStrings(this,param_1);
  if (param_2 != (ulong *)0x0) {
    return CONCAT31((int3)(*(ulong *)(this + 0x44) >> 8),*param_2 == *(ulong *)(this + 0x44));
  }
  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)