benilla-re systems structs docs

SimpleModelAdvanceTime

function · ui · orchestration

Address
0x76cfb0 · 6 bytes, up to 0x76cfb5
Signature
uint32_t __thiscall (void *this)
Meaning
Returns 1 and does nothing else; the whole of AdvanceTime past its receiver checks
Confidence
verified, proof one
Finding
ui/modelanim#advancetime-and-replaceicontexture

Finding: AdvanceTime and ReplaceIconTexture in ui: Model frames, animation, light and fog

Model:AdvanceTime() validates its receiver and does nothing; it reads no argument and returns no value. Model:ReplaceIconTexture("texture") takes a texture file name, or a number rendered as its decimal text, and swaps that texture for the model's replaceable texture, type 14, by reference. Without a model the call is dropped, not stored, and a later model does not get it. For a model whose data is not resident the pair is queued and applied when it loads. Calling it with anything else raises Usage: %s:ReplaceIconTexture("texture"). SetModel or ClearModel destroys the swap with the model.

The derivation is in the doc.

Callers 1

Callees 0

None by a direct call or jump.

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