benilla-re systems structs docs

InitItemTextCacheExit

function · dbcache · orchestration

Address
0x554ee0 · 10 bytes, up to 0x554ee9
Signature
void __cdecl (void)
Meaning
Jumps to the item text cache's save 0x569570 with the store in ecx
Confidence
verified, proof two
Finding
dbcache/clones#initializers-of-the-saved-caches

Finding: Initializers of the saved caches in dbcache: per-cache code

Each cache's thunk calls a body that runs the cache's constructor on its store with six arguments (tag, file name, query opcode, a dword, owner flag, persist flag), then jumps to a function that registers an exit with _atexit. The exit loads the store into ecx and jumps to the cache's save. These nine pass persist 1, so their save writes the file at exit.

thunkbodystoreconstructorownerat-exit, exitsave
0x554b300x554b400xc0e354 creature0x55606010x554b60, 0x554b700x5566d0
0x554b800x554b900xc0e318 game object0x557bd010x554bb0, 0x554bc00x558180
0x554bd00x554be00xc0e2dc item name0x5596c010x554c00, 0x554c100x559c10
0x554c200x554c300xc0e2a0 item0x55b0a010x554c50, 0x554c600x55b650
0x554c700x554c800xc0e264 NPC text0x55cba010x554ca0, 0x554cb00x55d120
0x554d600x554d700xc0e1b0 quest0x561fa000x554d90, 0x554da00x562630
0x554db00x554dc00xc0e174 page text0x563d6010x554de0, 0x554df00x564320
0x554ea00x554eb00xc0e0c0 item text0x568fb010x554ed0, 0x554ee00x569570
0x554ef00x554f000xc0e084 wow cache0x56aaf010x554f20, 0x554f300x56b040

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 1

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