FormatAddOnReason
function · ui · orchestration
- Address
0x51e930· 66 bytes, up to0x51e971- Meaning
- Writes the name of a reason code, or DEP_ and the dependency reason
- Confidence
- verified, proof two
- Finding
- ui/addons#whether-an-add-on-may-load
Finding: Whether an add-on may load in ui: add-ons
The load check answers false with a reason: MISSING for an unknown name; DISABLED when the
character's enable state is 0; BANNED; CORRUPT; INTERFACE_VERSION when Interface is not
11200 and the CVar checkAddonVersion (default 1) is nonzero; a dependency's own failure, as a
second reason shown with DEP_; and, when called for a load on demand, NOT_DEMAND_LOADED unless
the add-on declares LoadOnDemand. An add-on already being checked, through a dependency cycle,
passes. The reason INSECURE exists but the check never gives it.
The derivation is in the doc.
Callers 3
Callees 2
- SStrCopy storm
- SStrPrintf storm
Calls and jumps by a bare address, from tables/calls.tsv.