benilla-re systems structs docs

s_addOnBuckets

global · ui

Address
0xbe1b7c · 4 bytes, up to 0xbe1b7f
Type
void *
Meaning
Holds the bucket array of the add-on record hash, 12 bytes a bucket, keyed by folder name
Confidence
verified, proof two
Finding
ui/addoninfo#finding-a-record-by-name

Finding: Finding a record by name in ui: add-on record lookups

Each lookup walks the bucket SStrHashHT(name) & mask of the add-on hash for the first record with that stored hash and a folder name +0x14 equal to the name ignoring ASCII case. A mask of −1 (no buckets), an empty bucket or no match answers null, 0 or false. 0x51e050 then looks Notes up the same way in the record's metadata hash and answers its value, or null. 0x51e180 answers the URL +0x30 when it is not null, not empty and the record's security +0x24 is not 2 (banned), else null. 0x51e3e0 answers the byte +0xc0, set when the realm's reply gave a revision above the installed one; a reply with a zero key flag +0xc1 reads no revision.

The derivation is in the doc.