s_lcdStatusArms
global · ui
- Address
0x72b210· 12 bytes, up to0x72b21b- Type
const void *[3]- Meaning
- Holds the three arms of the status element lookup 0x72b150, one per class group
- Confidence
- verified, proof one
- Finding
- ui/lcd#status-readouts
Finding: Status readouts in ui: the keyboard LCD
0x72b150 answers the element with id 0x14 or 0x2a by the class byte of the player: the jump table at 0x72b210 indexed by 0x72b21c selects one of them, and a player without a class entry gives 0. 0x72b0b0 answers, for the active player only, the count of the class's item through
CountInventoryItemsByEntry(player + 0x1d38, entry, 0) (0x622130), the entry being 0x1879 for class 9 and the dword at [[player+0xe68]+0x102c] otherwise, or 0 when that entry is 0. 0x72b230 and 0x72b270 forward to CountFreeSlots (0x622910) and GetDurabilityPercent (0x6229d0) of the same list.
The derivation is in the doc.