benilla-re systems structs docs

CompareIgnoredByName

function · net · primitive

Address
0x5ae940 · 189 bytes, up to 0x5ae9fc
Signature
int __cdecl (const uint64_t *a, const uint64_t *b)
Meaning
Orders ignore GUIDs: zero last, then cached names without case, an uncached name last
Confidence
verified, proof one
Finding
net/friends#ignore-order
Test
net::friends_compare_ignores

Finding: Ignore order in net: friends

0x5ae910 sorts the 25 guids at +0x650 with qsort (0x73f727, elements of 8 bytes) and CompareIgnoredByName (0x5ae940), then signals IGNORELIST_UPDATE (event 0x160). The comparator puts a zero guid last, two zero guids equal. It then asks the name cache for both names with no callback: a missing name goes last, two missing are equal, and two present names compare with SStrCmpI with no bound. Names equal without case compare 0 and keep the order qsort leaves.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 2

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