benilla-re systems structs docs

IEvtTimerKill

function · core · orchestration

Address
0x428820 · 305 bytes, up to 0x428950
Signature
void __fastcall (EvtContext *context, uint32_t id, uint32_t arg3, uint32_t arg4)
Meaning
Clears a timer's handlers and drops killed timers from the heap's top
Confidence
verified, proof two
Name from
the community database (idb)
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 1

Callees 6

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