benilla-re systems structs docs

QuestCacheCancelCallback

function · dbcache · primitive

Address
0x563280 · 236 bytes, up to 0x56336b
Signature
void __thiscall (void *this, uint32_t key, void *callback, void *data)
Meaning
Removes every callback with a function and data from the pending quest record with that id
Confidence
verified, proof one
Finding
dbcache/callbacks#quest-cache-cancel
Test
dbcache::quest_cancel_difftest

Finding: Quest cache cancel in dbcache: callbacks

0x563280(key, function, data) on the quest cache (0xc0e1b0) is the cancel of Cancelling a callback for a 32-bit key: it removes from the key's pending list every callback with that function and data, and frees each. A key with no node, or an empty cache (mask −1, 0x56328a), does nothing. While the key's list is being run, marked by the node's byte +0x1909, it removes nothing and prints the line of 0x855b3c with the key sign-extended to 64 bits. The LFG reply handler is its one caller: for each type 3 slot of the old results it passes the slot's quest id (the low 24 bits), the title callback 0x4e8f60 and data 0 (0x4e8e17).

The derivation is in the doc.

Callers 1

Callees 5

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