ClearDbCacheLink
function · dbcache · orchestration
- Address
0x56d0d0· 16 bytes, up to0x56d0df- Signature
DBCACHECALLBACK * __thiscall (DBCACHECALLBACK *this)- Meaning
- Zeroes the two link dwords of a callback and returns it
- Confidence
- verified, proof two
- Finding
- dbcache/callbacks#callback-order
Finding: Callback order in dbcache: callbacks
A lookup links the callback it keeps at the head of its key's list, and a response runs the list from the tail along the previous links: callbacks run in the order they were kept. 0x55ba30 allocates a 0x20-byte DBCACHECALLBACK, links it with 0x56d0e0(node, 2, 0) and fills in the function (+8), the caller's id (+0x10) and the data (+0x18). For a key whose node exists with no record, a set dedupe flag keeps no second callback with the same function and data. A response calls function(key, &id, data, status) with status 1 after decoding and 0 for a refusal, then frees the list. All 26 link sites of the thirteen caches use mode 2 and no reference.
The derivation is in the doc.
Callers 13
- CreatureCacheGetRecord dbcache
- GameObjectCacheGetRecord dbcache
- ItemNameCacheGetRecord dbcache
- DBCache_ItemStats_C_int_HASHKEY_INT_::GetRecord dbcache
- NpcCacheGetRecord dbcache
- DBCache::NameCache::GetRecord dbcache
- DBCache::GuildGetRecord dbcache
- QuestCacheGetRecord dbcache
- PageTextCacheGetRecord dbcache
- PetNameCacheGetRecord dbcache
- PetitionCacheGetRecord dbcache
- ItemTextCacheGetRecord dbcache
- 0x56b430 dbcache
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.