GetVideoHardwarePath
function · dbc · primitive
- Address
0x689a70· 6 bytes, up to0x689a75- Signature
const char * __cdecl (void)- Meaning
- Returns the path of VideoHardware.dbc
- Confidence
- verified, proof one
- Finding
- console/hardware#hardware-table
Finding: Hardware table in console: hardware
0x641260 loads the table on its first call and is called each start-up. The file is DBFilesClient\VideoHardware.dbc (22 fields, 0x58 bytes a row; tables/dbc_schemas.tsv). The loader checks the WDBC magic, the field count and the row size, reads the rows and the string block, and builds an index by row id. A file that will not open, or whose field count or row size differs, is reported through the fatal-error function 0x64cf80; a bad magic or an empty table leaves the table empty, and a failed string read is reported through 0x64d0e0.
The store is five words at 0xc518c8: the rows, their count, the id index, the largest id and the loaded flag.
The derivation is in the doc.
Callers 1
- DetectHardware unassigned
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.