benilla-re systems structs docs

CompareWhoResults

function · net · primitive

Address
0x5ada00 · 471 bytes, up to 0x5adbd6
Signature
int32_t __cdecl (const void *a, const void *b)
Meaning
Orders two who results by the sort chain keys in turn, negating the first nonzero result of a reversed key
Confidence
verified, proof one
Finding
net/who#who-comparator
Test
net::friends_who_compare

Finding: Who comparator in net: who

The comparator 0x5ada00 walks the chain and returns the first non-zero comparison, negated for a slot whose direction is set, and 0 when all seven tie. At direction 0 the earlier record is the one with the earlier name or guild (without case), the earlier localized zone, class or race name, or the lower level. An id with no row in the class, race or zone table, on either record, ties on that key and the walk goes on to the next slot. Key 3 never orders anything.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 1

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