QueueDoodadsForTrace
function · terrain · orchestration
- Address
0x69cdb0· 215 bytes, up to0x69ce86- Signature
void __fastcall (void *doodads, uint32_t mask)- Meaning
- Queues a doodad list's collidable defs for a segment trace by mode and stamps them
- Confidence
- verified, proof one
- Finding
- terrain/mapentities#chunk-doodad-trace-queue
Finding: Chunk doodad trace queue in terrain: map entities
0x69cdb0 queues a chunk's doodads for the segment trace. A def is queued when its flags word
+0xc has bit 0x80 and not 0x100, it has a model and its stamp +0x8c differs from the query's
0xc89f20. The mode follows the owner. A def with a game object GUID in +0x180, +0x184 takes
3 under the class bit 0x100000, else 1 under 0x600000, else is not queued. A static doodad, whose
pair is zero, takes 3 under bit 0x1, else 1 under 0x2 or 0x4, or 2 when the word also has
0x1000000. A def that passes the checks is stamped, queued or not.
The derivation is in the doc.
Callers 2
- TraceMapObjects terrain
- TraceListedCells terrain
Callees 1
- CM2Model::SetHitTestMode models
Calls and jumps by a bare address, from tables/calls.tsv.