benilla-re systems structs docs

UnregisterBankSlotsWatcher

function · ui · orchestration

Address
0x4f84b0 · 30 bytes, up to 0x4f84cd
Signature
void __cdecl (void)
Meaning
Removes the active player's bank bag slot watcher 0x4f8490
Confidence
verified, proof one
Finding
ui/bags#bank-slot-watcher

Finding: Bank slot watcher in ui: bags and bag slots

The world entry registers one more object watcher on the active player: byte 2 of PLAYER_BYTES_2, the count of bought bank bag slots, one byte long. A change of that byte signals PLAYERBANKBAGSLOTS_CHANGED (id 350) with no arguments, banker or not, inside the update that carries it. Leaving the world removes the watcher. The rest-state watcher on byte 3 of the same dword, registered when the player becomes active, comes before it on that dword's list, so on one update it runs first.

The derivation is in the doc.

Callers 1

Callees 2

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