benilla-re systems structs docs

Script::SelectQuestLogEntry

function · ui · orchestration

Address
0x4dfae0 · 64 bytes, up to 0x4dfb1f
Signature
int __fastcall (lua_State *L)
Meaning
Selects the quest row of a number, 1-based
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/questlog#the-selection

Finding: The selection in ui: the quest log list

The selected quest is a quest id in 0xbb7480, set only by SelectQuestLogEntry(i) (0x4dfae0) through 0x4def30, which refuses an index outside the list and a header row and then leaves the old selection. GetQuestLogSelection() re-derives the row by searching for the id (0 when it has no row). No rebuild changes the selection, so it survives re-sorts, and with the selected quest uncached it reads 0 until the completing rebuild.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 5

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