ReadDword404780
function · unassigned · orchestration
- Address
0x404780· 16 bytes, up to0x40478f- Signature
int __fastcall (void *file, uint32_t *out)- Meaning
- Reads four bytes from a file into a dword through SFile::Read, with the bytes of ReadDword
- Confidence
- verified, proof two
- Finding
- dbc#the-loader
Finding: The loader in dbc
WowClientDB<T>::Load(store) does nothing when the loaded flag is set. It opens the table's file, reads the magic and returns, closing the file and leaving the store unloaded, unless it is WDBC (0x43424457); reads the record count into +4 and returns on 0; reads the field count and record size and compares them with the type's; allocates the records and string block as one block; reads each record with the type's Read, ignoring its result, and keeps the largest first column in +0xc; reads the string block; closes the file; allocates and zeroes the id map and stores each record's address at its first column; sets the loaded flag.
The derivation is in the doc.
Callers 3
- InitializeGlobal client
- StaticDBLoadAll dbc
- DetectHardware unassigned
Callees 1
- SFile::Read storm
Calls and jumps by a bare address, from tables/calls.tsv.