L L4D2node

CPrecacheRegister::LevelInitPreEntity

0x00496ed0 · 94 bytes · __cdecl

_ZN17CPrecacheRegister18LevelInitPreEntityEv

Decompiled

undefined (0 params)

/* CPrecacheRegister::LevelInitPreEntity() */

void CPrecacheRegister::LevelInitPreEntity(void)

{
  char *pcStack00000004;
  
  COM_TimestampedLog("LevelInitPreEntity - PreCache - Start");
  (**(code **)(*g_pPrecacheSystem + 0x14))(g_pPrecacheSystem,g_pPrecacheHandler,1,0,1,0xffffffff,0);
  pcStack00000004 = "LevelInitPreEntity - PreCache - Finish";
  COM_TimestampedLog();
  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.



        

        

          

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

Return-type handling cheatsheet (DHookReturn)