SelectActiveQuestImpl
function · ui · primitive
- Address
0x501320· 86 bytes, up to0x501375- Meaning
- Sends a complete for an active row, once, and sets the acted latch
- Confidence
- verified, proof one
- Finding
- ui/questgiver#clicking-a-row
Finding: Clicking a row in ui: a quest giver's quest list
SelectAvailableQuest(n) and SelectActiveQuest(n) take a 1-based row. The available one sends
CMSG_QUESTGIVER_QUERY_QUEST (opcode 0x186) for a normal row and CMSG_QUESTGIVER_COMPLETE_QUEST (0x18a) for a
one-click row; the active one always sends 0x18a. Each sends the dialog's source guid and the quest id, then sets the
acted latch 0xbe0844, and does nothing while it is set. The row bound is cmp esi,count; ja, so the index is decremented before the compare and the 1-based row count+1 is accepted, reading one row past the pool.
The derivation is in the doc.
Callers 1
Callees 3
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- SendQuestGiverCompleteQuest objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.