CGPlayer_C::ReadTrainerList
function · objectlayer · primitive
- Address
0x5dca60· 760 bytes, up to0x5dcd57- Meaning
- Reads a trainer's spells into stack arrays sized from its count and opens the trainer it was asked
- Confidence
- verified, proof one
- Finding
- objectlayer/inventory#trainers
Finding: Trainers in objectlayer: inventory
0x1b1 (0x5dca60) reads the trainer, a type and a u32 count, and sizes twelve stack arrays, ten of
four times the count and two of the count, 42 bytes a spell, all through the probe 0x40a280. The
image reserves 0x100000 bytes of stack, so a count above about 25,000 faults in the probe, long
before four times the count wraps at 2^30. With the greeting it
opens the trainer when the GUID is the one asked (0xc4d788) or 0xbc3f58. 0x1b4 prints one of
three console lines for results 0 to 2.
The derivation is in the doc.
Callers 1
- HandleTrainerMessage objectlayer
Callees 11
- __alloca_probe crt
- CDataStore::GetUInt8 base
- CDataStore::GetInt32 base
- CDataStore::GetUInt32 base
- CDataStore::GetGuid base
- CDataStore::GetCString base
- SetTrainer ui
- BuildTrainerList ui
- TrainerListLocalDtorA objectlayer
- TrainerListLocalDtorB objectlayer
- TrainerListLocalDtorC objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.