benilla-re systems structs docs

AllocAddOnRecord

function · ui · primitive

Address
0x520550 · 279 bytes, up to 0x520666
Meaning
Allocates an add-on record zeroed with security 1 and DefaultState 1
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 0

None by a direct call or jump.

Callees 6

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