GetStockInterfaceNumber
function · ui · unreached
- Address
0x51d7e0· 20 bytes, up to0x51d7f3- Meaning
- Returns the stock FrameXML interface number, reading it first when it is 0
- 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.
Callers 0
None by a direct call or jump.
Callees 1
Calls and jumps by a bare address, from tables/calls.tsv.