benilla-re systems structs docs

WeaponSwingSounds2Load

function · dbc · orchestration

Address
0x552eb0 · 570 bytes, up to 0x5530e9
Signature
void __thiscall (void *this)
Meaning
Loads the WeaponSwingSounds2 table into its store
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 1

Callees 9

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