s_fileReadKinds
global · storm
- Address
0x6485d8· 20 bytes, up to0x6485eb- Type
uint32_t[5]- Meaning
- Holds the five cases of SFile::Read by file kind: 0x6484c0, 0x6484fb, 0x64851c twice, 0x648568
- Confidence
- verified, proof two
- Finding
- dbc#record-reads
Finding: Record reads in dbc
A Read(this = record, file, stringBase) calls SFile::Read (0x648460) once for each column, in order, into the
record or a stack temporary, with the column's size in bytes; a read that returns 0 logs Error reading <Type>Rec and
makes Read return false; a short read of a plain file still returns 1. Columns that are string offsets go to temporaries and, on success, are stored as stringBase + offset,
or the address of an empty string (0x882748) when stringBase is null. A record's size is the sum of the sizes, its
field count the number of dwords, a byte counting one; tables/dbc_schemas.tsv holds both and the string columns.
The derivation is in the doc.