ReadAddOnInfoReply
function · ui · primitive
- Address
0x51da70· 624 bytes, up to0x51dcdf- Meaning
- Applies the realm's add-on reply to each Secure add-on, then rebuilds the sorted name array
- Confidence
- verified, proof two
- Finding
- ui/addons#secure-add-ons
Finding: Secure add-ons in ui: add-ons
An add-on that declares Secure takes its key from <Name>.pub and its URL from <Name>.url in
its folder, and is named to the realm server in the auth packet's add-on block. The server's reply,
read for these add-ons in list order, can replace the key and URL, which the client then writes back
to those files, and gives a state: 0 bans the add-on, 2 hides it from the list, and every state but 0 has its
toc checked against its signature. A good signature makes the add-on secure (+0x24 0) and stores
the digest its files must hash to; a mismatched one marks it corrupt. Every other add-on stays
insecure (+0x24 1).
The derivation is in the doc.
Callers 1
Callees 13
- CDataStore::GetUInt8 base
- CDataStore::GetUInt32 base
- CDataStore::GetCString base
- CDataStore::GetBytes base
- SetStringPointerArrayCapacity glue
- WriteAddOnKey ui
- WriteAddOnURL ui
- Quantum64521c50 ui
- SMemFree storm
- SStrDupA storm
- SStrPrintf storm
- CheckTocSignature ui
- _qsort crt
Calls and jumps by a bare address, from tables/calls.tsv.