benilla-re systems structs docs

UpdateDefenseChannelState

function · ui · primitive

Address
0x49bd50 · 149 bytes, up to 0x49bde4
Meaning
Recomputes whether a confirmed zone defence channel is joined and fires UPDATE_WORLD_STATES on a change
Confidence
verified, proof one
Finding
ui/chatchannels#defence-channel-state

Finding: Defence channel state in ui: chat channels

After a confirm or a drop 0x49bd50 recomputes whether the player is in a zone-scoped defence channel: a slot with a number, state 0, a ChatChannels row whose flags include 0x10000 and 0x2. When the answer differs from the stored one at 0xb6e5dc, it stores it and, if 0xb71e84 is not negative, calls 0x4c56e0 and fires UPDATE_WORLD_STATES (id 526). Nothing else sets that value.

The derivation is in the doc.

Callers 2

Callees 2

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