benilla-re systems structs docs

BuildNameStatistics

function · glue · primitive

Address
0x4752e0 · 309 bytes, up to 0x475414
Signature
void __thiscall (void *this)
Meaning
Counts the windows of up to three bytes of each learned name and sorts the keys
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 1

Callees 8

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