DBCacheClearUnsaved
function · dbcache · orchestration
- Address
0x555740· 248 bytes, up to0x555837- Signature
void __cdecl ()- Meaning
- Clears every cache whose persist flag is 0
- 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
Callees 13
- 0x557b70 dbcache
- 0x559660 dbcache
- 0x55b040 dbcache
- 0x55cb40 dbcache
- 0x55e640 dbcache
- NameCacheClear dbcache
- 0x561f40 dbcache
- 0x563d00 dbcache
- 0x565840 dbcache
- 0x5672f0 dbcache
- 0x568f50 dbcache
- 0x56aa90 dbcache
- 0x56c890 dbcache
Calls and jumps by a bare address, from tables/calls.tsv.