DBCache::CancelCallback
function · dbcache · primitive
- Address
0x55c0c0· 236 bytes, up to0x55c1ab- Signature
void __thiscall (void *this, uint32_t key, void *callback, void *data)- Meaning
- Removes every callback with a function and data from the pending record with that id
- Confidence
- verified, proof two
- Finding
- dbcache/callbacks#cancelling-a-callback
- Test
dbcache::callback_order_difftest
Finding: Cancelling a callback in dbcache: callbacks
0x55c0c0(key, function, data) removes from the key's pending list every callback with that function and data, not the first only, and frees each. It does nothing for a key with no node. While the key's list is being run, marked by the node's byte +0x201, it removes nothing and prints DBCache::CancelCallback ignored for id %016I64X. on the console, which ConsolePrintf does only when the device 0xc4ec1c is set (0x63cd65).
The derivation is in the doc.
Callers 10
- CloseMailAndDropCallbacks ui
- SetLootSource ui
- ClearLootRow ui
- HandleAuctionListResultPacket ui
- HandleAuctionOwnerListResultPacket ui
- HandleAuctionBidderListResultPacket ui
- OpenMerchantWindow ui
- CancelTradeSkillItemWaits ui
- CGItem_C::Deactivate objectlayer
- CGItem_C::~CGItem_C objectlayer
Callees 5
- UnlinkDbCacheLink dbcache
- 0x556df0 dbcache
- 0x55b630 dbcache
- ConsolePrintf console
- SMemFree storm
Calls and jumps by a bare address, from tables/calls.tsv.