benilla-re systems structs docs

LoadAddOnsAtStartup

function · ui · orchestration

Address
0x51f600 · 71 bytes, up to 0x51f646
Signature
void __thiscall (CStatus *this)
Meaning
Loads every add-on not loaded on demand, in registration order
Confidence
verified, proof two
Finding
ui/addons#load-order-and-cycles

Finding: Load order and cycles in ui: add-ons

At the interface's build the add-ons not loaded on demand load in registration order, each pulling its dependencies in first, before the flat saved variables and VARIABLES_LOADED. Because an add-on is marked loaded before its dependencies, a cycle of required dependencies loads every member once: with A requiring B and B requiring A, loading A loads B's files and signals B's ADDON_LOADED first, then A's. IsAddOnLoaded is already true while an add-on's own files run.

The derivation is in the doc.

Callers 1

Callees 1

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