benilla-re systems structs docs

s_addOnUrlPath

global · ui

Address
0x853878 · 27 bytes, up to 0x853892
Type
char[27]
Meaning
Holds "Interface\AddOns\%s\%s.url", the path of an add-on's URL file
Confidence
verified, proof two
Finding
ui/addons#reading-the-url-file

Finding: Reading the URL file in ui: add-ons

0x51d500(path, &url) (ecx the path, edx the out slot) loads the file Interface\AddOns\<name>\<name>.url that 0x51d4c0 names, with one extra zero byte, and stores a copy of the text after its first = without the trailing CR, LF and space bytes. The file is read as a C string, so a NUL ends it. A file that does not load, or has no = before its first NUL, leaves the slot unwritten. A = as the last byte gives an empty string. The file is freed and the return value goes unread.

The derivation is in the doc.