benilla-re systems structs docs

CompareDictionaryRecords

function · glue · orchestration

Address
0x475420 · 56 bytes, up to 0x475457
Signature
int32_t __cdecl (const DictionaryRecord *a, const DictionaryRecord *b)
Meaning
Compares two dictionary records' keys with SStrCmp for qsort
Confidence
verified, proof one
Finding
glue/create#name-statistics

Finding: Name statistics in glue: character create

Each name becomes _ and the name in 64 bytes, lower-cased; every window of up to three bytes starting at 0 to length − 2 is a 4-byte key, the last window two bytes. A key seen again counts one more, a new one is appended with count 1, and qsort then sorts by key. The array is sized for 10,000 records; the append has no bound.

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.