LayoutCacheRead
function · ui · primitive
- Address
0x490380· 596 bytes, up to0x4905d3- Signature
void __fastcall (void *unused, void *file, void *unused2)- Meaning
- Parses the layout cache file into records and applies each to its frame
- Confidence
- verified, proof two
- Finding
- ui/layoutcache#reading-a-record
Finding: Reading a record in ui: the layout cache
The reader takes the file a line at a time, splitting at CR and LF into 128 bytes, and matches the
prefixes Frame: , FrameLevel: , X: , Y: , W: and H: in that order, ignoring case. A Frame: line applies
the record in progress, then resets X, Y, W and the level to 0, 0, 0 and −1, but not H, so a
record without an H: line inherits the previous record's. The name is looked up as a frame
global; a name that does not resolve gives a null frame and the record, with all its lines, is
dropped without a message. The last record is applied at the end of the file.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 9
- __alloca_probe crt
- 0x42a520 unassigned
- 0x42a670 unassigned
- LayoutCacheApplyFrame ui
- SStrCmpI storm
- SStrLen storm
- SStrToInt storm
- SStrTokenize storm
- FindFrameOfType ui
Calls and jumps by a bare address, from tables/calls.tsv.