benilla-re systems structs docs

s_savedInstanceArrayCount

global · ui

Address
0xb4fdf0 · 4 bytes, up to 0xb4fdf3
Type
uint32_t
Meaning
Holds the saved-instance array's count, raised to a larger message count and zeroed by ShutdownChat
Confidence
verified, proof one
Finding
ui/instances#the-saved-instance-list

Finding: The saved-instance list in ui: instance messages

0x49e070 reads the count and, when it exceeds the list's count, reserves the difference (0x4a3370) and raises the list's count to it; a smaller count leaves the list's count and storage alone. It then reads each entry into the 12-byte RaidInstanceInfo records at 0xb4fdf4: the map at +0, the seconds at +8, the id at +4, in that wire order. It stores the new count in 0xb6e5e8, the count GetSavedInstanceInfo bounds by, and signals UPDATE_INSTANCE_INFO (539) with no arguments, also for a count of 0. For each entry with a map record it formats RAID_INSTANCE_INFO_FMT with the name, the id and the seconds as text (0x49e9d0), and discards the result.

The derivation is in the doc.