benilla-re systems structs docs

CGTaxiRouteFrame::UpdateEffectiveScale

function · ui · orchestration

Address
0x506ac0 · 38 bytes, up to 0x506ae5
Signature
bool __thiscall (CGTaxiRouteFrame *this, bool force)
Meaning
Updates the effective scale and zeroes the line count when it changed
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.

Callers 0

None by a direct call or jump.

Callees 1

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