ClearWorldStates
function · ui · orchestration
- Address
0x4c5650· 137 bytes, up to0x4c56d8- Meaning
- Frees every world state, stores the INIT map and zone filters and rebuilds the list
- Confidence
- verified, proof one
- Finding
- ui/worldstate#the-packets
Finding: The packets in ui: world states in the interface
SMSG_INIT_WORLD_STATES (0x2c2) is u32 mapId, u32 zoneId, u16 count and count pairs of u32 id, u32 value. It first clears the table (0x4c5650(mapId, zoneId): every entry is freed, the bucket array stays, and the builder filters are set), then stores each pair with 0x4c5870, a count of 0 skipping the loop.
SMSG_UPDATE_WORLD_STATE (0x2c3) is one u32 id, u32 value. Both end with the world map rebuild 0x4a67a0 and the event UPDATE_WORLD_STATES (526).
The derivation is in the doc.
Callers 1
Callees 2
Calls and jumps by a bare address, from tables/calls.tsv.