benilla-re systems structs docs

CGTaxiRouteFrame::vftable

global · ui

Address
0x808640 · 144 bytes, up to 0x8086cf
Type
void *[36]
Meaning
Holds the vtable of the route frame: the plain frame's with three slots replaced
Confidence
verified, proof one
Finding
ui/taxiframe#overridden-slots

Finding: Overridden slots in ui: the route frame type

The route frame's 36-slot vtable and 11-slot layout vtable are the plain frame's with four words replaced: primary slot 0 (the deleting destructor 0x506980), slot 17 (0x506a60, emit a layer), slot 35 (0x506ac0, update the scale) and layout slot 1 (0x506ee0, the thunk to the destructor). The emit override runs the plain emit, then for layer 0 registers the paint callback 0x506a90; the callback tests its argument and jumps to a function that is one ret, so nothing is drawn. The scale override runs the plain update and, when it reports a change, zeroes the line count and returns 1.

The derivation is in the doc.