benilla-re systems structs docs

RegisterArchiveAddOn

function · ui · primitive

Address
0x51c910 · 157 bytes, up to 0x51c9ac
Signature
int __fastcall (const char *path)
Meaning
Registers the folder of a listfile name ending in .toc and returns 1
Confidence
verified, proof two
Finding
ui/addons#finding-add-ons

Finding: Finding add-ons in ui: add-ons

The glue's DefaultServerLogin resets the registry and scans Interface\AddOns\ twice. First, every name in the mounted archives' (listfile)s that begins with that prefix and ends in .toc registers the folder name before its first separator, in listfile order. Then every loose subfolder not beginning with . registers its name, in the order the file system lists them. A name already registered, ignoring case, is skipped, and a folder without a readable <Name>\<Name>.toc registers nothing. Records join the list at its head, so a walk from its tail visits them in registration order.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 5

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