QuestCacheReceive
function · dbcache · orchestration
- Address
0x562c80· 656 bytes, up to0x562f0f- Signature
void __thiscall (void *this, QuestRecord *record, uint32_t key)- Meaning
- Stores a decoded quest record in the quest cache and runs its callbacks with status 1
- Confidence
- verified, proof two
- Finding
- dbcache/clones#quest-records-stored-and-refused
Finding: Quest records stored and refused in dbcache: per-cache code
The quest handler 0x555300 decodes a quest record on its stack, the quest id being its first dword. A
record whose title (+0x9c) is empty is a refusal: 0x563150(id) finds the node, sets the dispatching
byte +0x1909, runs its callbacks with status 0, clears the byte, unlinks the node and frees it, valid or
pending; no node, no effect. A titled record goes to 0x562c80(record, id), which finds or makes the
node, copies the record into node + 0x18, sets the valid byte +0x18f8 and the key +0x18f4, and
then runs the callbacks with status 1 in list order and frees them. Each dispatched message stores one record, so
its callbacks run before the next message's record is stored.
The derivation is in the doc.
Callers 1
- HandleQuestQueryResponse dbcache
Callees 5
- 0x557af0 dbcache
- DbCacheLinkAddress dbcache
- 0x562f10 dbcache
- 0x56dc10 dbcache
- SStrCopy storm
Calls and jumps by a bare address, from tables/calls.tsv.