NameCacheLoad
function · dbcache · orchestration
- Address
0x55fa50· 1164 bytes, up to0x55fedb- Signature
void __thiscall (void *this)- Meaning
- Loads the Name cache from its file, or returns at once for a cache that is not saved
- Confidence
- verified, proof two
- Finding
- dbcache/overview#caches-that-are-not-saved
Finding: Caches that are not saved in dbcache: overview
Four caches are never read from or written to disk: names (0xc0e228, namecache.wdb, tag MANW, opcode 0x50), guilds
(0xc0e1ec, DLGW, 0x54), pet names (0xc0e138, MNPW, 0x52) and petitions (0xc0e0fc, NTPW, 0x1c6). Their
constructors get 0 for the persist byte, which is +0x39; the load returns at once when it is 0, and the save writes nothing and tears the cache down. When the
game interface is initialized, every cache whose +0x39 is 0 is cleared, so its records last until the interface is next initialized.
The derivation is in the doc.
Callers 1
- DBCacheLoadAll dbcache
Callees 15
- __alloca_probe crt
- CDataStore::GetInt32 base
- CDataStore::GetUInt32_2 base
- CDataStore::GetGuid base
- OsCreateFile unassigned
- OsCloseFile unassigned
- 0x42a520 unassigned
- OsCreateDirectory os
- 0x55ec50 dbcache
- 0x55f000 dbcache
- NameCacheAllocNode dbcache
- SMemAlloc storm
- SMemFree storm
- SStrPrintf storm
- NameCacheRead unassigned
Calls and jumps by a bare address, from tables/calls.tsv.