benilla-re systems structs docs

OnQuestMarkerRecord

function · ui · orchestration

Address
0x4defe0 · 35 bytes, up to 0x4df002
Signature
void __fastcall (uint32_t key, uint32_t unused, void *data, uint8_t found)
Meaning
Points the quest marker again when the record arrives, or logs an invalid entry
Confidence
verified, proof one
Finding
ui/questlog#the-quest-marker

Finding: The quest marker in ui: the quest log list

A new selection points the minimap's quest marker at the quest. 0x4def70 asks the quest cache for the selected quest's record with the callback 0x4defe0; with the record cached it sets static blip 0 (SetQuestBlip) at the record's point, x +0x90 and y +0x94, with rank +0x98 and the title +0x9c as its name. On a miss nothing moves until the record arrives: the callback runs 0x4def70 again, which reads the selection as it is then, and for a refusal writes Invalid quest log entry on the console.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 2

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