GetElementLinkAt4
function · core · orchestration
- Address
0x420830· 24 bytes, up to0x420847- Meaning
- Returns the link at +4 of an element, or the sentinel link for 0
- Confidence
- verified, proof one
- Finding
- core/scheduler#intrusive-lists
Finding: Intrusive lists in core: scheduler
Event-library lists link their elements in place. A head is 12 bytes: the link's offset in the
element, then a sentinel link. A link is two dwords: a pointer to the previous link and the next
element, with bit 0 set on a next pointer that names the sentinel. An unlinked link is zeros.
Unlinking writes the next link's previous pointer and the previous link's next pointer. A helper
turns a link into the link of the element after it: the sentinel at the end, else the next element
plus the offset. 0x422c90(node, mode, reference) unlinks the node, then links it after the
reference when mode is 1 and before it otherwise; no reference means the sentinel.
The derivation is in the doc.
Callers 6
- EventQueryContextA core
- EventQueryContextB core
- EventPostClose core
- EventPostMessageA core
- EventPostMessageB core
- AddContextToScheduler core
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.