benilla-re systems structs docs

RecountLfgLists

function · ui · orchestration

Address
0x4e7f00 · 10 bytes, up to 0x4e7f09
Signature
void __cdecl (void)
Meaning
Recounts the five looking-for-group type lists, then rebuilds the quest list, signalling UPDATE_LFG_TYPES after each
Confidence
verified, proof one
Finding
ui/lfg#world-entry-recount

Finding: World entry recount in ui: looking for group

EnterWorldUI (0x4908c0) calls 0x4e7f00 once (0x4909e7). It is call 0x4e89c0 and a tail jmp 0x4e8be0: the type recount, then the quest list's rebuild. Each half returns at once, counting and signalling nothing, when the active player's object is not held. 0x4e89c0 skips type 3; for each other type it zeroes the count word (0xbc6f18 + 4·type), counts the passing rows, sorts the list and, after the last, signals UPDATE_LFG_TYPES (event 531). 0x4e8be0 rebuilds type 3 from the quest log, stores its count at 0xbc6f24 and signals the event again. A world entry signals it twice.

The derivation is in the doc.

Callers 1

Callees 2

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