benilla-re systems structs docs

DBCache::CancelCallback

function · dbcache · primitive

Address
0x55c0c0 · 236 bytes, up to 0x55c1ab
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

Callees 5

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