ReadStockInterfaceNumber
function · ui · unreached
- Address
0x51d800· 257 bytes, up to0x51d900- Meaning
- Reads the Interface line of FrameXML.toc into the stock interface number
- 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 1
Callees 6
- SFile::Load storm
- SFile::Unload storm
- SStrCmpI storm
- SStrLen storm
- SStrToUnsigned storm
- SStrTokenize storm
Calls and jumps by a bare address, from tables/calls.tsv.