s_tocProgressCallback
global · ui
- Address
0xcee9b8· 4 bytes, up to0xcee9bb- Type
void *- Meaning
- Holds the progress callback that LoadTocFile calls with the lines loaded over the total, 0 for none
- Confidence
- verified, proof two
- Finding
- ui/framexml#running-a-toc
Finding: Running a toc in ui: loading the interface from toc and XML files
0x6edb90(toc, md5, status) reads the toc whole, adds its bytes to the MD5, skips a leading EF BB BF, and splits the text at CR and LF, skipping empty lines and keeping at most 1,023 bytes of a
line. Each line that does not begin with # is appended to the toc's directory, up to and including
its last backslash, stripped of trailing spaces (not tabs), and loaded with 0x6ede10. The result
of each load is ignored. After each loaded line, while a callback is set and the lines loaded are
below the total, the callback runs with their ratio. It answers 0 only when the toc
does not open; then Couldn't open %s is reported.
The derivation is in the doc.