benilla-re systems structs docs

GetAddOnNotes

function · ui · primitive

Address
0x51e050 · 303 bytes, up to 0x51e17e
Signature
const char * __fastcall (const char *name)
Meaning
Returns an add-on's Notes metadata, or null
Confidence
verified, proof two
Finding
ui/addoninfo#finding-a-record-by-name
Test
ui::addon_notes_lookup_difftest

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.

Callers 2

Callees 2

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