benilla-re systems structs docs

NameCacheClear

function · dbcache · orchestration

Address
0x560400 · 93 bytes, up to 0x56045c
Signature
void __thiscall (void *this)
Meaning
Frees every node of the names cache and empties it
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 1

Calls and jumps by a bare address, from tables/calls.tsv.