GrowTimerArrayTo
function · core · primitive
- Address
0x4290c0· 290 bytes, up to0x4291e1- Meaning
- Grows the timer array to hold an index, rounding the capacity to its quantum
- Confidence
- verified, proof one
- Finding
- core/events#timers
Finding: Timers in core: events
EventSetTimer (0x4200a0) takes a delay in milliseconds, a function and an argument, and
returns a timer id for the current context: the last id freed, else the next, at least 1. The
timer is due at now + delay; when the loop's timer phase finds it due, it is removed from the
heap, its id is freed, and its function is called once as fastcall(&{delay · 0.001f, now}, argument) with the lock released. Due timers run in due-time order and the phase reads the clock
once. EventKillTimer (0x4203e0) clears a timer's functions; a timer with none is dropped when
it reaches the heap's top, and its id is freed then.
The derivation is in the doc.
Callers 3
- IEvtTimerCreateA core
- IEvtTimerCreate core
- IEvtTimerCreateB core
Callees 3
- SMemAlloc storm
- SMemReAlloc storm
- SMemFree storm
Calls and jumps by a bare address, from tables/calls.tsv.