LcdFreeSlotCount
function · ui · orchestration
- Address
0x72b230· 51 bytes, up to0x72b262- Signature
uint32_t __cdecl ()- Meaning
- Counts the active player's free inventory slots through CountFreeSlots
- 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.
Callers 1
Callees 3
- CountFreeSlots objectlayer
- LcdIsLocaleSupported ui
- LcdIsDeviceConnected ui
Calls and jumps by a bare address, from tables/calls.tsv.