InitItemNameCache
function · dbcache · orchestration
- Address
0x554be0· 32 bytes, up to0x554bff- Signature
void __cdecl (void)- Meaning
- Constructs the item name cache with its tag, file name, opcode, owner flag and persist 1
- 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.
| thunk | body | store | constructor | owner | at-exit, exit | save |
|---|---|---|---|---|---|---|
0x554b30 | 0x554b40 | 0xc0e354 creature | 0x556060 | 1 | 0x554b60, 0x554b70 | 0x5566d0 |
0x554b80 | 0x554b90 | 0xc0e318 game object | 0x557bd0 | 1 | 0x554bb0, 0x554bc0 | 0x558180 |
0x554bd0 | 0x554be0 | 0xc0e2dc item name | 0x5596c0 | 1 | 0x554c00, 0x554c10 | 0x559c10 |
0x554c20 | 0x554c30 | 0xc0e2a0 item | 0x55b0a0 | 1 | 0x554c50, 0x554c60 | 0x55b650 |
0x554c70 | 0x554c80 | 0xc0e264 NPC text | 0x55cba0 | 1 | 0x554ca0, 0x554cb0 | 0x55d120 |
0x554d60 | 0x554d70 | 0xc0e1b0 quest | 0x561fa0 | 0 | 0x554d90, 0x554da0 | 0x562630 |
0x554db0 | 0x554dc0 | 0xc0e174 page text | 0x563d60 | 1 | 0x554de0, 0x554df0 | 0x564320 |
0x554ea0 | 0x554eb0 | 0xc0e0c0 item text | 0x568fb0 | 1 | 0x554ed0, 0x554ee0 | 0x569570 |
0x554ef0 | 0x554f00 | 0xc0e084 wow cache | 0x56aaf0 | 1 | 0x554f20, 0x554f30 | 0x56b040 |
The derivation is in the doc.
Callers 1
- InitItemNameCacheThunk dbcache
Callees 1
- ItemNameCacheConstruct dbcache
Calls and jumps by a bare address, from tables/calls.tsv.