benilla-re systems structs docs

GetWorldStateUIInfo

function · ui · primitive

Address
0x4c5a70 · 395 bytes, up to 0x4c5bfa
Signature
int __fastcall (lua_State *L)
Meaning
Pushes the ten values of the index-th list row, or the number 0
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/worldstate#the-two-functions

Finding: The two functions in ui: world states in the interface

GetNumWorldStateUI() pushes the count 0xb71e78. GetWorldStateUIInfo(index) raises Usage: GetWorldStateUIInfo(index) for a non-number and takes the 1-based, truncated index into the list. An index outside the list, or a row that is missing, pushes the single number 0 (not nil). Otherwise it pushes ten values: the value of the row's key +0x5c (1.0 when the key is 0), the text with its world-state tokens expanded, the icon, the dynamic icon, the tooltip, the dynamic tooltip, the extended UI name and the values of the three extended keys.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 8

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