SuggestRealm
function · glue · primitive
- Address
0x46ea20· 563 bytes, up to0x46ec52- Signature
void __fastcall (uint32_t category, int32_t pvp, int32_t rp)- Meaning
- Stores the preferred category and type, then signals SUGGEST_REALM with a fitting realm or OPEN_REALM_LIST
- Confidence
- verified, proof one
- Finding
- glue/realms#the-realm-suggestion
Finding: The realm suggestion in glue: the realm list
SetPreferredInfo(category, pvp, rp) maps the ordinal (0x46edf0), reads pvp and rp as
integers, and calls 0x46ea20. That stores the index in
0x837e98 (above the count, 0), the category's id in 0x837e9c, and pvp and rp in
0xb41fa8 and 0xb41fac, unread. Skipping realms with flag 0x01, it suggests:
- the category's first realm whose type's first
Cfg_Configsrow has the asked pvp and rp (a type with no row counts as 0 and 0); - else the category's first realm;
- else the first realm matching as in 1 in any category.
A suggestion signals SUGGEST_REALM (18) with "%d%d", the index plus 1 and the position plus 1;
none signals OPEN_REALM_LIST (9). A pvp or rp of 2 matches nothing.
The derivation is in the doc.
Callers 1
Callees 3
Calls and jumps by a bare address, from tables/calls.tsv.