RegisterAddOn
function · ui · primitive
- Address
0x51c9b0· 2656 bytes, up to0x51d40f- 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:
| directive | stored |
|---|---|
Interface: | the number, +0x1c |
Title, Notes, Author, Version, X- | metadata, below |
Revision: | the number, +0x20 |
OptionalDep | names split at spaces and commas, +0x38 |
RequiredDep, Dep | the 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
- 0x4465e0 unassigned
- ReadAddOnKey ui
- ReadAddOnURL ui
- SetAddOnMetadata ui
- 0x520be0 ui
- LinkOrEnd521450 ui
- LinkAddOnNode ui
- 0x522170 ui
- GrowOnLongChain5223b0 ui
- SMemFree storm
- SFile::Load storm
- SFile::Unload storm
- SStrCmpI storm
- SStrDupA storm
- SStrLen storm
- SStrPrintf storm
- SStrToUnsigned storm
- SStrTokenize storm
- SStrHashHT storm
- CountTocLines ui
- ParseXMLBool ui
Calls and jumps by a bare address, from tables/calls.tsv.