benilla-re systems structs docs

M2SceneCompareCallbacks

function · models · primitive

Address
0x70a5a0 · 85 bytes, up to 0x70a5f4
Meaning
Orders queued callbacks by their time key, latest first, then by queue index
Confidence
verified, proof one
Finding
models/scene#scene-advance

Finding: Scene advance in models: the scene

0x7074b0(dt) does nothing for dt 0. Otherwise it adds dt to the clock, evicting released shared models, runs CM2Model::Update(dt) on every instance of the animate list, then runs the callbacks the updates queued. The queue is sorted by each record's time key, largest first, ties in queue order; a kind-0 record calls fn(ecx=model, edx=a, b, c, d, e, f), a kind-1 record passes a copy of its position before the last three arguments. Each record's instance is then released and the queue emptied.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 0

None by a direct call or jump.

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