GetRealmLoadBand
function · glue · primitive
- Address
0x46ec60· 133 bytes, up to0x46ece4- Signature
float __thiscall (void *this)- Meaning
- Returns a realm's load band: a sentinel flag's value, else -1, 0 or 1 against the mean and spread
- Confidence
- verified, proof one
- Finding
- glue/realms#the-load-band
- Test
glue::realm_load_classify_difftest
Finding: The load band in glue: the realm list
0x46ec60(realm) returns in st0 the first band that applies, with m and d the stored statistics
and p the population; m − d and m + d are formed at 53 bits and compared with the float p, so
a population exactly on an edge reads 0.
| condition | band |
|---|---|
flags 0x20 | −3.0 |
flags 0x40 | −2.0 |
flags 0x80 | 2.0 |
m − d > p | −1.0 |
m + d < p | 1.0 |
| otherwise, NaN included | 0.0 |
GlueXML's RealmListUpdate names −3, −2 and 2 Recommended, New and Full, and the others Low, High
and Medium by sign.
The derivation is in the doc.
Callers 2
- CompareRealms glue
- Script::GetRealmInfo glue
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.