DrawWorldSpecialBatches
function · terrain · orchestration
- Address
0x672b30· 33 bytes, up to0x672b50- Signature
void __fastcall (uint32_t arg1, uint32_t arg2, void *a, void *b)- Meaning
- Runs the decal batch pass with flags 2097442 when its argument is set or the world mode is 2 or more
- Confidence
- verified, proof one
- Finding
- terrain/world#scene-callbacks
Finding: Scene callbacks in terrain: world
The model scene calls two world callbacks. 0x672b30 is the special-batch callback: it runs the
decal batch pass 0x6d7480 with flags 0x200122 when its second argument is nonzero or the world
mode 0xc5a470 is 2 or more. 0x672b60 is the ground callback: it traces the segment from the position
down 20 yards against the planes (mask 0x100111) and, on a hit at fraction t, writes z − 20t to the
second argument and returns 1; it returns 0 on a miss.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 1
- DrawDecalBatches lighting
Calls and jumps by a bare address, from tables/calls.tsv.