benilla-re systems structs docs

CheckTocSignature

function · ui · orchestration

Address
0x6f10f0 · 268 bytes, up to 0x6f11fb
Meaning
Checks a toc's .sig file: 0 unreadable, 1 bad size or verification, 2 digest differs, 3 good
Confidence
verified, proof one
Finding
ui/framexml#building-the-game-interface

Finding: Building the game interface in ui: loading the interface from toc and XML files

Among its steps, CGGameUI::Initialize runs, in this order: a fresh Lua state; the C functions; the 549 event names; the frame types of GameUI.cpp; Logs\FrameXML.log opened into a load status; the signature check of FrameXML.toc, as the glue's (glue/manager), calling 0x401560(10) unless it passes; an MD5 over FrameXML.toc, every file it loads and Bindings.xml, checked against the signature's digest, calling it on a mismatch; the lookups of UIParent and GameTooltip; every addon that is not loaded on demand; the saved variables. Each status line is then written to the log as the log's format string, so a % in a line is read as a conversion: a fault of the client.

The derivation is in the doc.

Callers 3

Callees 7

Calls and jumps by a bare address, from tables/calls.tsv.