benilla-re systems structs docs

AddAvailableQuest

function · ui · primitive

Address
0x500e40 · 74 bytes, up to 0x500e89
Meaning
Appends a quest id, title, level and one-click flag to the available pool
Confidence
verified, proof one
Finding
ui/questgiver#the-two-pools

Finding: The two pools in ui: a quest giver's quest list

The quest frame keeps two arrays of 32 rows of 0x4c bytes: the available quests at 0xbdfe60 (count 0xbe0834) and the active quests at 0xbde690 (count 0xbe0838). A row is the quest id at +0x00, the level at +0x04 and the title (64 bytes) at +0x08; an available row also has the one-click flag at +0x48, and the active row's +0x48 is written 0 and read by nothing. The append functions copy the title only when it is not null, so rows are meaningful up to the count.

The derivation is in the doc.

Callers 1

Callees 1

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