benilla-re systems structs docs

EvtContextBase::DeletingDestructor

function · core · orchestration

Address
0x422a50 · 102 bytes, up to 0x422ab5
Meaning
Stores 0x801370, unlinks the link at +4, frees this when bit 0 is set and returns it
Confidence
verified, proof one
Finding
core/scheduler#context-vtables

Finding: Context vtables in core: scheduler

Five single-slot vtables lie in a row from 0x801364: the context's deleting destructor 0x423240, the heap-node comparator 0x422970, then 0x4229e0, 0x422a50 and 0x40a2d7. The constructor stores 0x80136c at +0x00 and 0x801364 once built; the destructor stores 0x801364 and ends with 0x801370. 0x4229e0 and 0x422a50 are the deleting destructors of the two base layers and differ only in the free call's displacement: each stores 0x801370, unlinks the link at +4, frees this when bit 0 of the argument is set and returns it. 0x40a2d7 ends the process with runtime error 25, a pure virtual call.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 1

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