benilla-re systems structs docs

RegisterAddOn

function · ui · primitive

Address
0x51c9b0 · 2656 bytes, up to 0x51d40f
Signature
void __fastcall (const char *name)
Meaning
Registers an add-on by folder name from its toc's directives, skipping a known name or no toc
Confidence
verified, proof two
Finding
ui/addons#toc-directives

Finding: Toc directives in ui: add-ons

A toc's lines that begin ## set the record's fields; other lines are the file list, which only the toc runner reads. After the ## and any spaces, each name is matched as a prefix, ignoring case, in this order:

directivestored
Interface:the number, +0x1c
Title, Notes, Author, Version, X-metadata, below
Revision:the number, +0x20
OptionalDepnames split at spaces and commas, +0x38
RequiredDep, Depthe same, +0x48
LoadWith:the same, +0x58
SavedVariables:the same, +0x68
SavedVariablesPerCharacter:the same, +0x78
DefaultState:enabled 1, disabled 0, else unchanged, +0x2b
LoadOnDemand:true or false, +0x2c
Secure:true or false, +0x28

The derivation is in the doc.

Callers 2

Callees 21

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