benilla-re systems structs docs

s_stockInterfaceNumber

global · ui

Address
0xbe1b48 · 4 bytes, up to 0xbe1b4b
Type
uint32_t
Meaning
Holds the interface number of the stock FrameXML.toc, which nothing reads
Confidence
verified, proof two
Finding
ui/addonfiles#stock-interface-number

Finding: Stock interface number in ui: add-on housekeeping

0x51d7e0 returns the interface number of the stock FrameXML, reading it with 0x51d800 the first time. 0x51d800 loads Interface\FrameXML\FrameXML.toc, skips a UTF-8 mark, tokenizes it by lines and, at the first ## Interface: line, stores the number after it in the dword at 0xbe1b48. Nothing calls 0x51d7e0 and nothing else reads that dword, so both are unreached.

The derivation is in the doc.