UnpackSplineOffset
function · objectlayer · primitive
- Address
0x602130· 140 bytes, up to0x6021bb- Meaning
- Subtracts a packed offset, three signed 11, 11 and 10-bit fields times 0.25, from a reference point
- Confidence
- verified, proof one
- Finding
- objectlayer/unitmovement#monster-moves
- Test
objectlayer::move_event_packed_delta
Finding: Monster moves in objectlayer: unit movement
0x6018f0(store, opcode) reads the start point, the spline id and a type byte. Type 1 stops:
within 3 yards the mover flushes and stops at the point. Types 2, 3 and 4 add a face point, a GUID or an angle.
Then come the spline flags, the duration and a u32 count of points. Flag 0x200 sends every point;
otherwise the last point comes whole and the middle points as packed offsets. The path is anchored
at the unit (0x6021c0), started (0x6187a0) and given its facing; the active mover's input
stops; the precast, ranged pose and spell effect are cleared.
The derivation is in the doc.
Callers 1
- CGUnit_C::OnMonsterMove objectlayer
Callees 1
Calls and jumps by a bare address, from tables/calls.tsv.