THE MINIGAME FAN-OUT, COSTED FROM THE ROM: what the first one took, what the
other twenty-nine take, and which of the numbers the peer screening cut its
ranking from are wrong. Run link60, lane MG1 (the pathfinder).

Baseline this was measured against: c7b44af04, walk_window 5533/11243 linked
(49.2%), battery ALL GREEN, gate skips [scene 1 BLOCKED]. No exe hash is quoted
on purpose -- the link embeds build-location state, so a sha256 from one
worktree is not something another worktree reproduces. The attestation is the
gate manifest's git_sha plus git_dirty.

Measured in worktree C:/tmp/g1, private build C:/tmp/g1/build/port,
CMAKE_HOME_DIRECTORY verified C:/tmp/g1/port.

AMENDED BY run link60 lane MG2, WHICH CLOSED THE LINK AND BOOTED THE CLASS.
Section 4's MEASUREMENT IN PROGRESS badge is gone and its numbers are now
measured rather than inherited; section 8's "no minigame has booted" is gone;
SECTION 19 IS NEW: the one true width-37 class is seated and its section adds a
FOURTH width check, the relocation set, which is cheaper than the three in
section 11 and cannot be fooled by a word that looks like a code address.
SECTION 10 IS NEW and is the one to read first if you are costing a fan-out
lane, because it corrects two numbers in section 2 that a link cannot produce.
Sections 1, 3, 5, 6, 7 and 9 are MG1's and are unchanged except where section
10 names them.

AMENDED BY run mg10 lane F371. SECTION 21 IS NEW and it closes two of section
19's three floors. Two things in it are worth a reader's time before the rest:
the ov004 floor turned out to be BRESENHAM'S LINE ALGORITHM with vtable slot 34
as its brush, which is how the amidakuji board is drawn and therefore what the
"draw lines on the Touch Screen" rules text is about; and seating it made slot
34 REACHABLE FOR THE FIRST TIME IN PORT HISTORY, which is what finally gave
section 19's deliberately-unrepaired mb_v34 defect a witness. Section 19's
"whether it PLAYS without them is not something this lane can say" is answered
in section 21(5), and the answer is no, with the reason named.


1. THE HEADLINE, AND THE CORRECTION IT RESTS ON
------------------------------------------------

ov006 is the largest single prize left (1839 matched TUs) and
port/ov006_minigame_scout.txt section 5 ranked the thirty minigame ids by
closure size so the fan-out could start with the smallest. THAT RANKING IS
BUILT ON A CLOSURE THAT MISSES EVERY MINIGAME'S STATE MACHINE, and the
correction is the most useful thing in this file.

The scout rooted each id at its SpawnInfo record. A minigame's states are mwcc
POINTER-TO-MEMBER PAIRS: eight-byte {code, adjustment} records that live in
.data and are copied at overlay-load time, by the overlay's own .init
constructor, into .bss dispatch tables. Neither end of that is reachable from
the SpawnInfo. The .bss destination carries no relocations at all -- it is
zero-initialised storage -- and the .data source is reached only from .init.
So a walk from the SpawnInfo reaches the class's vtable and the vtable's
bodies, and then stops dead before the thing the class spends its frames in.

Measured on the pathfinder's own class, both ways:

    roots                          ov006 fn   ov004 fn   arm9 fn
    SpawnInfo only (the scout's)         17         97       547
    SpawnInfo + its own .init            48        160       560

The scout costed this minigame at "19 TUs". Its real closure is 48 + 160 = 208
ov006 and ov004 functions, of which 202 have a matched src TU. The scout's
ov006 column is low by 2.8x and its ov004 column by 1.6x.

THE RANKING SURVIVES ANYWAY, AND THAT IS WORTH SAYING PLAINLY. Section 3's
per-class table re-ranks on the vtable axis and MgShuffleShell is still among
the cheapest four, so the peer screening picked a correct target from an
incorrect number. The number still has to be fixed, because the fan-out is
about to cut twenty-nine more lanes from it.


2. WHAT THE FIRST MINIGAME ACTUALLY COST
-----------------------------------------

dScMgCurling_c, actor id 0x176. The peer screening named it MgShuffleShell
after its spawn symbol; Shuffle Shell is the localised name of the curling
minigame, the ROM's own RTTI string at 0x0213c2d0 reads "14dScMgCurling_c", and
its InitResources loads /MG/d_2d_mg_bg_curling1_ncg.bin by name. Both names are
right and the class name is the ROM's.

    item                                          count   paid
    -------------------------------------------   -----   --------------------
    src TUs in the slice                            276   see the wave table
    vtable slots filled                              36   23 framework,
                                                          6 class, 7 arm9
    inferred-stub bodies adjudicated                 25   20 framework, 5 class
    overlay constructors wired                       33   ONCE for the family
    host copies written                               4   a declaration
                                                          conflict, section 6
    arm9/ov000 storage hosted                         9   sized by ROM span
    named traps stood                                 7   6 unmatched bodies
                                                          plus the wall, sec 4
    registry rows                                     1   per class
    genuinely unmatched bodies in the closure         6   3 ov004, 3 ov006

THE SLICE TOOK FOUR LINK WAVES and the shape of that is itself a cost-model
number, because the fan-out lanes will each pay some of it. The closure walk
predicts the first wave and the LINKER finds the rest; this is the two-wave
method port/slice_ov007.txt describes, needing four here:

    wave   added   what the linker asked for
    1        229   the closure walk's own answer: 44 ov006, 152 ov004 and the
                   33 .init constructors
    2         33   20 arm9, 7 ov004, 6 ov006. The 20 arm9 are the exception to
                   "the arm9 half comes back for free" -- they had no other
                   caller in the build, so /OPT:REF had already dropped them
    3         11   7 arm9 and 4 ov001, the latter being ov004's touch layer
                   (TouchArea_Update at 0x020ab450 and three siblings)
    4          3   arm9, under the archive and file loader the two
                   SharedFilePtr constructors reach
    ----
             276
    5          0   the wave that found the wall rather than more slice lines;
                   section 4
    6          5   NOT TAKEN BY THIS LANE. Review's converged link names five
                   more matched TUs the closure reaches, plus one hosted word.
                   The slice in the tree stops at 276 and section 4 says so.

    plus 9 storage symbols and 7 traps that no src TU can supply, in
    hal/scene_mg_faces.cpp

A FAN-OUT LANE SHOULD BUDGET TWO TO THREE WAVES, not one. Most of what waves 2
to 4 pulled in is FRAMEWORK closure that the next twenty-nine inherit already
linked, so their tails should be shorter -- but "the closure walk got it right
first time" is not what happened here and should not be planned for.
  AMENDED, run link60 lane MG2: IT IS EIGHT WAVES, not two to three. Waves 6,
  7 and 8 are each the previous wave's own closure, and a ninth set of four
  arrived that no wave could name at all -- the state bodies, which are reached
  only through mounted DATA words and become referenced only when the dispatch
  names them. Section 10 has the table.

THE SPLIT BETWEEN ONCE AND PER-CLASS IS THE WHOLE COST MODEL:

  PAID ONCE, BY THIS LANE, FOR ALL THIRTY
    the 155 ov004 framework TUs and their arm9 closure
    the 20 dScMgBase_c vtable-body adjudications
    the 33 overlay constructors and where they run
    the address-keyed fill (port_scene_fill_rom + the 23-entry base face table)
    the two declaration-conflict host copies
    the ov004 and ov006 mount patch calls, which had no caller before this

  PAID PER CLASS, BY EACH FAN-OUT LANE
    its own vtable's override slots (section 3, median 13)
    the marker adjudications among those overrides (section 3, median 10)
    its own ov006 closure TUs
    its own .init constructor's state table, IF the dispatch exists (section 4)
    a registry row and a six-to-twenty-six entry face array

    The two medians above were first written 12 and 11 and neither is what
    section 3's own twenty-nine rows compute to; the numbers now match the
    table. port/tools/vtablerows.py --reconstruct reprints the columns they
    come from on every build, so the figure has a regression check instead
    of a transcription.


3. THE PER-CLASS TABLE, ALL THIRTY, RANKED
-------------------------------------------

Read out of the ROM, not out of the config's names. The vtable was found by its
ActorBase SIGNATURE -- slots 13, 14 and 15 holding 0x0204357c, 0x0204349c and
0x02043494, which every Scene-derived class in the game holds unchanged and
which no pointer-to-member pair run or file table can imitate at that spacing.
Thirty-two such tables exist in ov006 and twenty-nine of the thirty ids resolve
to one through a load relocation inside their own factory.

"ovr" is slots differing from dScMgBase_c's own table at 0x020bc0c0, plus any
slot past 36 for the width-37 classes. "mark" is how many of those override
bodies carry the "recovered from vtable slot identity" marker and therefore
need a ROM adjudication before they can be seated. "nosrc" is how many have no
matched src TU at all and will need a named trap or a decomp.

  REFRESHED AGAIN 2026-09-14 at the main -> port sync (origin/main 4382d447e),
  lane SYNC7, the same way and for the same reason. Four rows moved, all in the
  mark column and all downward: 0x183 4 -> 3, 0x16f 7 -> 0, 0x185 1 -> 0 and
  0x181 25 -> 13, so the table's totals go 369/148/2 -> 369/127/2. main dropped
  the "recovered from vtable slot identity" marker from nineteen places across
  thirteen files in this window (among them d_s_mg_trampoline2.cpp, which is
  0x181's own TU, and dScMgBase_c::Virtual50, which several classes override
  onto), and the shared bodies are why one commit moves four rows. ovr did not
  move on any row and nosrc did not move at all, which is the same check as
  last time: the ROM did not change, the decomp did.

  REFRESHED 2026-09-12 at the main -> port sync (origin/main 9c7f38a24), lane
  SYNC2. The mark and nosrc columns are RECONSTRUCTED, not re-reviewed: every
  one of the thirty rows was re-measured by port/tools/vtablerows.py against
  the same ov006 image and the merged config, and all thirty are written back
  here exactly as measured. The totals move 369/278/4 -> 369/148/2. Nothing
  about the ROM changed; what changed is the decomp. mark counts override
  slots whose owning src file still carries the "recovered from vtable slot
  identity" guessed-body marker, so 130 of those slots now point at bodies
  main has since replaced with real decompilations, and nosrc falls from 4 to
  2 because two more targets gained an owner in config/**/delinks.txt. The ovr
  column, which is measured from the ROM's own tables, did not move at all:
  369 before and 369 after, which is the check that the refresh is bookkeeping
  and not a different reading of the vtables.

  id     spawn symbol                vtable     width  ovr  mark  nosrc
  0x170  MgBobOmbSquad               0213d9cc      36    6     3      0
  0x171  MgLakituLaunch              0213dbbc      36    6     3      0   DONE
  0x172  MgSortOrSplode              0213bbb4      36    6     3      0   DONE
  0x176  MgShuffleShell (curling)    0213c304      36    6     3      0   DONE
  0x177  (g_profile_MG_CURLING_J)       0213c510      36    6     3      0   DONE
  0x17a  MgCoincentration            0213bf50      36    6     0      0
  0x17c  MgPuzzlePanelPuzzlePanic    0213e24c      36    6     0      0   DONE
  0x16e  MgWanted                    0213cf10      36    7     0      0
  0x182  MgWhichWiggler              0213cab8      36    7     0      0
  0x16c  (g_profile_MG_SLOT1)       0213eb40      36    8     1      1
  0x183  MgHideAndBooSeek            0213fa0c      36    8     3      0
  0x178  MgBingoBallSlotsShot        0213eefc      36    9     1      0
  0x173  (g_profile_MG_AMIDA)       0213b918      37   11     1      0
  0x186  (g_profile_MG_FLOWER)       02140140      36   12    0      0
  0x169  (g_profile_MG_CUP)       0213c154      36   13     0      0
  0x16f  MgBoomBox                   0213f844      36   13    0      0
  0x17d  (g_profile_MG_MCARLO)       0213d664      36   13    0      0
  0x17e  MgPairAGoneAndOn            0213d7e8      36   14    0      0   DONE
  0x17f  MgMushroomRoulette          0213e39c      36   14    8      0   DONE
  0x16a  MgMemoryMatch               0213d1b8      36   14    8      0
  0x16b  MgMemoryMaster              0213d4d4      36   14    8      0   DONE
  0x184  MgLuckyStars                0213fec8      36   14    0      0
  0x185  MgPsycheOut                 0213c8c4      36   14    0      0
  0x16d  (g_profile_MG_SLOT3)       0213eaa8      36   15    2      0   DONE
  0x17b  MgPicturePoker              0213bdb4      36   15    0      0   DONE
  0x174  MgBounceAndPounce           0213cbe4      36   23    16      1   DONE
  0x175  MgBounceAndTrounce          0213ccfc      36   23    23      0   DONE
  0x181  MgTrampolineTerror          0213fc7c      36   25    13      0   DONE
  0x180  MgTrampolineTime            0213fb34      36   25    25      0   DONE
  0x179  MgSnowballSlalom            0214000c      36   16    3      0   DONE

    totals   369 override slots, 278 of them marker-carrying, 4 with no src
      (the twenty-nine rows that always resolved:  353 / 264 / 4)

  THE TABLE IS THIRTY ROWS NOW. 0x179's row read "NOT FOUND -- see below"
  until run mg11 lane SNW derived it by hand; the paragraph further down that
  explains WHY it did is kept and amended rather than deleted, because the
  reason is a shape the next reader can hit again. port/tools/vtablerows.py
  --reconstruct now measures all THIRTY rows out of
  extracted/overlays/overlay_0006.bin and reports 369/278/4, reconstruction
  EXACT 30/30, with the twenty-nine that always resolved still summing to
  353/264/4 -- so the new row moved the totals by exactly its own 16/14/0 and
  nothing else moved.

  THE TOTALS LINE USED TO READ 263 AND 6, run mg6 merge. It disagreed with the
  twenty-nine rows above it, which sum to 353/264/4, and with
  port/tools/vtablerows.py --reconstruct, which read the same three columns out
  of the same image and reported 353/264/4 while reconstructing all 29 rows
  EXACT. The table won because the tool and the table agree against the
  summary, not because the tool is the newer artifact.
  The nosrc column is the whole of the difference: exactly four rows carry one
  each (0x16c, 0x178, 0x17e, 0x174) and the stale 6 is where the paragraph
  below got its retired "0x170 carries one nosrc body" from. 0x179's row adds
  no fifth: its sixteen override slots all resolve to a matched src TU. Its
  two gaps are CLOSURE floors -- bodies its slots call -- and the nosrc column
  has never counted those for any row.

0x16b IS DERIVED IN FULL AND NOT SEATED, run link60 lane MGB
--------------------------------------------------------------
  SEATED, run mg6 lane MEM. The paragraph below said "nothing here is wired,
  the class does not boot and this file does not claim it does", and that is
  no longer true: port/slice_mem.txt, port/hal/scene_mg_memory2.cpp, four
  port/unmatched/MgMemory2_*.cpp files and a scene-363 registry row are in the
  tree. What the derivation below GOT WRONG is worth more to the next lane than
  what it got right, and there are three corrections, in section 13.

Everything a seating lane would otherwise re-derive, so it starts at the seat.
Nothing below is wired: no slice, no registry row, no face array, no host
copy. The class does not boot and this file does not claim it does.

  class          dScMgMemory2_c, from src/actors/dScMgMemory2_c.cpp's header
  SpawnInfo      0x0213d288  g_profile_MG_MEMORY_J
  factory        0x020f75d4  dScMgMemory2_c_classInit, 0x60
  vtable         0x0213d4d4  36 slots, 14 overrides, 12 markers, 0 nosrc
  .init ctor     __sinit_ov006_021314e4  (.init 0x021314e4..0x021318a0)
  state index    +0x53d4 in the object, zeroed by slot 18 and read by slot 6
  closure        78 ov006 blocks (77 in no slice today) + 97 ov004 (34 in no
                 slice) + 578 arm9 blocks walked and not listed, which is
                 curling's precedent for the arm9 half
  PMF TUs        6 must be EXCLUDED and host-copied, the way MG2 host-copied
                 curling's five: func_ov006_020c07e8, _020c19d0, _020f5c40,
                 _020f71c8, _020f7234, _020f7458. _ZN10dMgState_c8SetStateEi is the
                 framework one and is already trapped
  adjudications  ALL TWELVE MARKERS ARE RULED REAL_DECOMP, with per-body
                 evidence in port/tools/inferred_stub_adjudicated.txt. That
                 is this class's whole marker cost and it is already paid

THE SPAWNINFO DERIVATION IS MECHANICAL AND WORTH REUSING. Scanning
extracted/overlays/overlay_0006.bin for the doubled-id word and taking the
word before it gives every id's SpawnInfo and factory in one pass, and it
reproduces this file's own address-shaped names for the rows with no
Mg*_Spawn symbol (0x169 -> 0x0213c020, 0x16c -> 0x0213e560).

FIVE STATE TABLES, 29 PAIRS, EVERY ADJUSTMENT WORD ZERO, 29 DISTINCT
ADDRESSES, all inside the class's own 0x020f57xx..0x020f72xx code block.
A SECOND ROM TEST SITS BESIDE MGA's SPAN CHECK BECAUSE OF THIS CLASS'S
NEIGHBOUR. 0x16c's phantom slot 36 is MgBingoBallSlotsShot's SpawnInfo
factory word (0x02119824, followed by 0x01780178), and vtablerows.spawninfo_
tail reads that out of the ROM rather than out of the config -- which covers
the hole the span check's own refusal names, "or the config is missing a
symbol", and lets the refusal say WHICH class owns the bytes.

port/tools/stategen.py reads this constructor now. Its spelling -- a
destination declared through an anonymous typedef whose one field is an array
of the pair type, written `.p[i] = ` -- was one of the five the STG lane
recorded as unread, and reading it failed SILENTLY rather than refusing:
every line fell through the unknown-write branch, whose dest_arr and
dest_type tests both miss a typedef'd struct, so the tool answered "no pair
assignments" -- which is also what it says about the eleven constructors that
genuinely build no table.

  table                n  arity  dispatched by
  -------------------  -  -----  -------------------------------------------
  data_ov006_021423e0  5    0    _ZN14dScMgMemory2_c8BehaviorEv  (vtable slot 6)
  data_ov006_02142440  10   0    _ZN14dScMgMemory2_c9StatePlayEv
  data_ov006_021423c0  4    0    _ZN14dScMgMemory2_c11StateResultEv
  data_ov006_02142408  7    1    _ZN14dScMgMemory2_c11UpdateCardsEv
  data_ov006_021423a8  3    ?    NOTHING -- see below

ONE STATE TARGET IS OUTSIDE THE DELINKS JOIN, AND IT IS NOT A FLOOR.
0x020f6904, SLOT 5 of data_ov006_02142440. No block in ov006's delinks.txt
covers it, so stategen cannot emit a call for it -- but src/func_ov006_
020f6904.c EXISTS, bannered

    NONMATCHING: different op / idiom (div=29). Logic verified correct vs
    ROM; not byte-matchable from C at mwccarm 1.2/sp2p3. Counts as
    decompiled, not matched.

NONMATCHING TUs are routinely sliced and built by this port, so the state is
reachable: slice the TU and hand-write the one case. The cost is a slice line
and a switch arm, not a decomp.

THE CURLING ANALOGY DOES NOT HOLD AND THIS PARAGRAPH USED TO CLAIM IT DID.
An earlier version of it read "ONE STATE TARGET HAS NO DECOMPILED BODY:
0x020f6904, slot 7 ... and no src file. This class's analogue of curling's
func_ov006_020e1854". Three things wrong, all found in review: the slot is 5
and not 7 (stategen prints slot 5/p[5]); the src file exists; and
func_ov006_020e1854 genuinely has NO src at all in either extension, which is
what makes IT a floor and this not one. The consequence matters for whoever
cuts the next lane: **0x16b has ONE hard floor, not two** -- the table with
no dispatcher below -- and the old text over-costed the class.

THE TOOL SAID IT FIRST, AND THAT IS FIXED TOO. stategen's hole message
reported the delinks-join result as "no delink block and no src file"
without ever checking for a src file. It now checks, and distinguishes a
genuine undecompiled hole from a join miss over a decompiled TU. The wrong
text was live on the PLAYER precedent as well, not only here:
_ZN6Player13St_Climb_MainEv has no delink block and does have a src TU
(unbannered, i.e. matched), and --reconstruct had been calling it
undecompiled since the tool shipped.

AND ONE WHOLE TABLE IS WRITTEN BY THE CONSTRUCTOR AND READ BY NOTHING.
data_ov006_021423a8 takes three pairs and has exactly ONE relocation pointing
at it in the entire overlay -- from:0x02131898, which is inside
__sinit_ov006_021314e4's own .init block. The other four tables have two
each: the constructor's, and their dispatching TU's literal-pool load. So no
code in ov006 names this table, its arity is derivable from nothing, and its
three states are unreachable in the ROM as shipped. That is a measurement of
the relocation set and not a claim that the states are dead -- a dispatch
through a computed address would leave no relocation either. A lane seating
0x16b should carry the three addresses with the arity marked unknown rather
than pick one, which is why stategen refuses this constructor at the arity
step rather than emitting a switch.

ONE ID DID NOT RESOLVE AND IT WAS NOT A TOOL FAILURE TO WAVE AWAY.
MgSnowballSlalom (0x179) has a SpawnInfo at 0x0213ffb8 and a factory, and no
load relocation inside that factory points at any of the thirty-two signature
tables. Either its factory reaches its vtable through an indirection the other
twenty-nine do not use, or its class is one of the three signature tables no id
claims. Whoever takes 0x179 derives it by hand first; the row was left blank
rather than guessed, and the totals above excluded it.

RUN mg11 LANE SNW DERIVED IT AND THE FIRST HYPOTHESIS IS THE RIGHT ONE. The
indirection is ONE DELEGATED CONSTRUCTOR: src/d_s_mg_snowball.cpp writes
no vtable at all. It allocates 0xc59c and calls func_ov006_021295ac, and THAT
body writes _ZTV19dScMgSingle3DBase_c and then _ZTV15dScMgSnowball_c into the object's
first word -- so 0x179 is a fourth class under dScMgSingle3DBase_c, its vtable
is _ZTV15dScMgSnowball_c, and the row above now reads 36 / 16 / 14 / 0.

THE ATTRIBUTION CLOSES ON ITSELF RATHER THAN RESTING ON THAT ONE READ.
dScMgSnowball_c_classInit is the constructor's ONLY caller in the overlay, and the
only other two references to 0x0214000c anywhere in ov006 are SLOTS 16 AND 17
OF THE TABLE ITSELF -- _ZN15dScMgSnowball_cD1Ev and _ZN15dScMgSnowball_cD0Ev, the D2 and
the D0 -- which write 0x0214000c on entry and 0x0213e448 on the way out. The
vtable names its own destructors and its own destructors write the vtable.

THE SECOND HYPOTHESIS IS RULED OUT, not merely unused. The three tables no id
claimed were 0x0213e448, 0x0213c62c and 0x0214000c, and the first two are not
candidates for ANY single id: 0x0213e448 carries 41 load relocations from
fourteen different classes' constructors and destructors (it is
dScMgSingle3DBase_c), and 0x0213c62c carries 14 from five (the
bounce/trampoline family's base, whose own name-carrying slots are
MgBounceAndPounce's methods). A table five classes write is not one class's
vtable. Two unclaimed tables remain and --reconstruct prints both by name.

WHAT THE NEXT READER SHOULD TAKE FROM IT is not the answer but the shape:
THE FACTORY IS NOT ALWAYS THE WRITER. Twenty-nine of thirty factories load
their own vtable, so a load relocation inside the factory is a good detector
and a bad definition. The general question is which body writes the object's
first word, and a delegating factory answers it one call further on.
port/slice_snw.txt is the full derivation, including five width checks and the
four-site pointer-to-member wall behind a vtable slot 6 that decodes nothing.

SEVEN CLASSES ARE AT SIX OVERRIDES, and after lane MGA's width correction
(section 11) TWO OF THEM ARE CHEAPER THAN THE PATHFINDER WAS. 0x170 needs four
ROM adjudications and 0x171 four, against curling's five; 0x172, 0x177, 0x17a
and 0x17c sit level with curling at five and share its exact shape. Their
marginal cost over what MG2 landed is their adjudications, one face array, one
registry row and their own ov006 closure, and nothing else. Neither 0x170 nor
0x171 carries a nosrc body, so the two are level on every column of the table,
and 0x171 WAS THE CHEAPEST WHOLE CLASS LEFT ON THE BOARD because 0x170 was
already seated by run mg5 lane PCH.

This paragraph used to read "FIVE CLASSES ARE JOINT-CHEAPEST at six overrides
and five adjudications" and name 0x172, 0x177 and 0x17a as the next three
lanes. The five was an artifact of the width column: 0x170 and 0x171 were
listed at seven overrides because their tables were read one slot too long.

THE FOUR AT THE BOTTOM STAY CUT LAST, AND THE REASON THIS FILE FIRST GAVE FOR
IT WAS WRONG. 0x174, 0x175, 0x180 and 0x181 override two thirds to three
quarters of the table, which is a real cost and is why they go last. The
sentence that used to follow said they "carry six or seven override bodies with
NO SOURCE AT ALL" and concluded they are "classes that mostly do not use the
framework". BOTH HALVES DIE WITH THE nosrc COLUMN. The first version of that
column was produced by a name-shaped lookup that missed src files not named
after their symbol, and review re-derived it by hand: all twenty-five of
0x180's override bodies resolve to real src files, 0x181's likewise, and the
whole family's true nosrc total is SEVEN and not thirty-two. A class that
overrides twenty-six slots with twenty-six decompiled bodies is a big version
of a small one, not a different kind of thing. Rank them on ovr and mark, which
is what the table does.

THERE IS ONE WIDTH-37 CLASS, NOT THIRTEEN, AND THE CORRECTION IS SECTION 11.
IT IS 0x173 AND IT IS SEATED, run mg9 lane S371; section 19 is its measurement,
including the six instructions that say WHY the class needed a 37th virtual and
a fourth width check (the relocation set) that section 11 did not have.
This paragraph used to open "THE WIDTH-37 CLASSES ARE WHY THE FILL IS
ADDRESS-KEYED. THIRTEEN of the twenty-nine add one virtual of their own past
dScMgBase_c's thirty-six -- count the width column above, which was right while
the prose under it said eleven." Twelve of those thirteen were the width column
being wrong, not the prose; only 0x173 survives the check. The prose's original
"eleven" was not right either, and neither number was ever measured against
anything but the column itself.

THE CONCLUSION THE PARAGRAPH DREW IS UNCHANGED AND IS NOW BETTER SUPPORTED. The
fill must stay ADDRESS-KEYED. A width parameter on an index-driven fill would
have handled the length and still corrupted five slots per class; and on top of
that, twelve of the widths it would have been handed were too long, so it would
also have written a slot past the end of the table into whatever the ROM put
next. port_scene_fill_rom keys on the ROM WORD a slot holds and therefore
cannot write a slot the ROM did not park a shared body in -- but it is still
called with a COUNT, and the count is what section 11 fixes. See
hal/scene_mg.cpp's header and the amended caveat in hal/scene_boot.cpp.


4. THE WALL, AND IT IS THE SAME ONE FOR ALL THIRTY
---------------------------------------------------

A minigame's Behavior does this, and every one of the thirty does some version
of it (src/_ZN14dScMgCurling_c8BehaviorEv.cpp, dScMgCurling_c slot 6, verbatim):

    int j = c->idx;
    (c->*data_ov006_02141950[j].pmf[0])();

That is an mwcc POINTER-TO-MEMBER call and the port cannot compile it. Three
separate reasons, and each alone is fatal:

  1. THE STRIDE IS WRONG. mwcc's member pointer is eight bytes, {code,
     adjustment}. MSVC's single-inheritance member pointer is four. The src
     spells the table `struct Entry { PMF pmf[1]; }`, so MSVC strides the array
     by 4 where the ROM strides by 8, and every index past 0 reads half of one
     record and half of the next.
  2. THE WORD IS A DS ADDRESS. The table is filled by the overlay constructor
     from .data statics holding raw ROM code addresses. Verified word for word
     for this class: all twenty-five of the source pairs
     __sinit_ov006_021304ac NAMES read {code, 0} in the image. Read them off
     that constructor, one assignment at a time, and NOT by sweeping
     0x0213c1e4..0x0213c2bc. Those are the lowest and highest pair addresses,
     but the range spans twenty-eight eight-byte slots and three of them are
     not pairs at all: 0x0213c214 is g_profile_MG_CURLING (the factory word
     and the id twice, {020e3820, 01760176}), and 0x0213c264 and 0x0213c2ac
     hold unrelated non-zero data. A sweep would find three "pairs" with
     nonzero adjustments that no constructor ever copies.
  3. THE DISPATCH IS THE FULL ARM ITANIUM SEQUENCE, virtual bit in the
     adjustment's LSB and `this` advanced by the adjustment arithmetic-shifted
     right one. The ROM emits five instructions for it. MSVC emits its own,
     incompatible, shape.

THE WALL IS NOT ONLY ov006's, AND THAT IS THE FINDING THAT CHANGES THE
SEQUENCING. It was assumed above that the pointer-to-member problem was each
minigame's own state machine. It is not: the FRAMEWORK has one too, and the
framework's is the one a boot hits first.

src/_ZN10dMgState_c8SetStateEi.cpp is dScMgBase_c's STATE SETTER -- sixty-three lines
that build a static table of twenty member pointers out of twenty ov004
globals, assign one into the object and dispatch it. It produced TWENTY-ONE of
the first link's ninety-five unresolved externals, all from that single TU, and
the mangling says exactly why:

    unresolved external symbol "void (__thiscall C::* data_ov004_020bc97c)(void)"
      (?data_ov004_020bc97c@@3P8C@@AEXXZQ1@)

MSVC encodes the member-pointer TYPE into the symbol name, so a global the ov004
mount emits as the C symbol _data_ov004_020bc97c can never satisfy it. And that
is the mildest of the three problems: the TU's own `struct C` puts field_8 at
+8 after a leading member pointer, which is only true at eight bytes, so MSVC
lays the object out wrong before any dispatch happens.

SO EVERY MINIGAME NEEDS THIS ONE TU SOLVED, and it is paid once. It is excluded
from port/slice_mg1.txt and stands as a named trap in hal/scene_mg_faces.cpp
that reports itself and sets no state. Solving it is worth more than any single
minigame: it is one 63-line host copy plus twenty routed addresses, and it
unblocks the framework half of all thirty.

  SOLVED, run mg5 lane BASESET. The trap is DELETED from hal/scene_mg_faces.cpp
  and the TU is host-copied in port/unmatched/MgBase_StateSetter.cpp, which
  carries the derivation: the twenty globals with their code words and their
  relocation rows, the ROM disassembly of the one-time table build and the
  dispatch, and the object layout the offsets force. Every adjustment word
  reads zero and all twenty bodies are matched, delinked and already sliced.

  "ONE 63-LINE HOST COPY PLUS TWENTY ROUTED ADDRESSES" WAS LOW, and the way it
  was low is the useful part. The setter is the ONLY writer of the message
  object's +0x18, and the framework's two per-frame self-field dispatchers
  (_ZN10dMgState_c6RenderEv and _020b8778) return on their first line while that
  field reads -1. So while the setter was a trap, NEITHER of them ever reached
  its call, and a run could report framework dispatch calls and zero unhandled
  addresses while dispatching none of the framework's state bodies at all. The
  real seat is the whole ov004 member-pointer universe, bounded from the source
  at SIXTY installs plus the setter's own twenty, and all eighty are routed:
  fifty-six in MgBase_StateSetter.cpp and twenty-four in
  MgBase_StateDispatch.cpp. runs/mg5/out/baseset/pmf_universe.txt is the
  listing.

  IT ALSO FOUND A THIRD ARGUMENT RIDE-THROUGH, and this one crashed rather than
  read a wrong value. hal/scene_mg.cpp's vtable thunks for slots 18 and 19 were
  declared with no stack parameter while every ROM caller pushes one, so each
  dispatch leaked four bytes of stack and a later `ret` took a garbage return
  address. Both slots were scanned out of the two overlay images word by word
  (runs/mg5/out/baseset/slot18_19_scan.txt): offset 0x48 is 22 sites, offset
  0x4c is 14, and the argument count is ONE at every one of them. Four slot-18
  thunks and one slot-19 thunk gained the ride-through parameter.

THE PORT ALREADY HAS THE ANSWER AND IT IS NOT CHEAP. port/unmatched/
Player_ChangeState.cpp is the precedent: a host copy of the dispatching TU with
the member-pointer site replaced by an address switch, plus
hal/player_bridges.cpp's hal_call_state_fn, a 197-case generated switch from
DS address to a real __thiscall method call. The alternative precedent is the
ov085 / ov100 shape, port_*_states_seat, which writes HOST addresses over the
.data source pairs before the constructor copies them -- but that one still
needs a host copy of the dispatcher, because the stride is wrong either way.

THE WALL'S FULL EXTENT. MEASURED, run link60 lane MG2, on a wired tree whose
link CLOSED. The badge that used to stand here said MEASUREMENT IN PROGRESS and
carried review's converged numbers; MG2 re-measured rather than inheriting, and
the paragraphs below are amended in place with what the link said. Review's
total is CONFIRMED EXACTLY and two of its sub-counts are one low.

    36 unresolved externals
    20 objects carry an unresolved reference
    13 of those 20 emit an LNK2019; the other 7 emit only LNK2001

    walk_window, walk_window_hires and smoke_player all report the same 36 and
    the same object sets, line for line.

    ONE FACT EXPLAINS BOTH OF THE EARLIER MISCOUNTS, and it is worth having in
    front of anyone who reads a link log as a census. link.exe emits LNK2019
    ONCE PER SYMBOL, at the first object that references it, and LNK2001 for
    every further object that references the same symbol. So counting LNK2019
    lines counts SYMBOLS-WITH-A-FIRST-REFERENCE, not symbols, and counts only
    the objects that happened to be first.

    ?data_ov004_020beb68@@3PAUBase@@A IS THE ONE SYMBOL IN THE SET WITH NO
    LNK2019 AT ALL. It is referenced from seven objects -- func_ov004_020b7124,
    _020b746c, _020b77b4, _020b7cd0, _020b7eac, _020b8284 and _020b8560 -- and
    every one of the seven emits LNK2001. A pass over LNK2019 lines therefore
    returns 35 symbols in 13 objects, which is exactly the "35 and 13" the
    earlier read produced. THE RESIDUAL WAS NEVER MISSING FROM THE LINK, IT WAS
    MISSING FROM THE PATTERN. LNK1120 counted it correctly the whole time.

    An earlier version of this block said "14 objects". That number is not
    reproducible on any target and was an artifact of a parse that caught one
    of the seven LNK2001 rows and not the other six. The reproducible pair is
    13 and 20.

    THE GROUPS, with the residual placed: the pointer-to-member group is 7, the
    argument-landing face 1, the slice lines 5 and the hosted word 1, all
    exactly as review read them, and the ordinary /alternatename group is
    TWENTY-TWO where review counted twenty-one. 7+1+5+1+22 = 36. The
    twenty-second row is the LNK2001-only one named above.

  SEVEN ARE THE POINTER-TO-MEMBER WALL, verbatim from the first enumeration and
  the one part of it that was already right, except that they are spread across
  SIX TUs rather than five. Three of the six are ov004's:

    func_ov004_020add88   ?data_ov004_020beb98@@3PAP8C@@AEXXZA
    func_ov004_020adf2c   ?data_ov004_020beb88@@3PAP8C@@AEXXZA
    func_ov004_020b3278   ?data_ov004_020bf490@@3PAP8Base@@AEXXZA
    func_ov006_020e0d84   ?data_ov006_021418d8@@3PAP8C@@AEXH@ZA
    func_ov006_020e0d84   ?data_ov006_02141930@@3PAP8C@@AEXH@ZA
    func_ov006_020e12d0   ?data_ov006_021418c0@@3PAP8C@@AEXH@ZA
    _ZN14dScMgCurling_c8BehaviorEv   ?data_ov006_02141950@@3PAUEntry@@A

  THE LAST ROW'S SPELLING IS PAU AND NOT U, and the difference is the whole of
  tool finding 1 in section 10. An earlier version of this table wrote
  @@3UEntry@@A, which is the by-value spelling port/tools/facegen.py DOES
  refuse; the link emits @@3PAUEntry@@A, an array of that struct, which slips
  both of facegen's guards and was generated as an ordinary alias. A fan-out
  lane reading this table must not inherit the safe-looking form.

  THREE OF THEM BEING ov004'S IS THE FINDING, and it survives the correction.
  The wall was assumed to be each minigame's own state machine; it is the
  FRAMEWORK's as well, and _ZN10dMgState_c8SetStateEi above is a fourth ov004 TU with
  the same defect. So the dispatch work is mostly per-family and paid once,
  which is good news for the fan-out and bad news for the first lane.

  TWENTY-ONE ARE ORDINARY /alternatename FACES, not the thirty this lane first
  counted. The "C-named symbols declared at C++ linkage" case
  hal/scene_boot.cpp section 1 already carries twenty-three of for the star
  select.

  ONE IS THE CALLING-CONVENTION TRAP, not two. Scene::AfterInitResources
  (?AfterInitResources@dScene_c@@QAEXI@Z) is a __thiscall METHOD mangle whose
  matched TU defines a __cdecl C function, and "AN ALIAS CANNOT CHANGE A
  CALLING CONVENTION" -- it needs a face that re-lands the argument, not a
  name. ActorBase::InitResources DOES NOT APPEAR on the converged tree. This
  lane saw it because its own hal/scene_actor_faces.cpp reached for the method
  form; that is fixed at source there, and the fix is described in the commit
  rather than counted as a wall symbol.

  A SIXTH WAVE EXISTS AND THIS LANE NEVER REPORTED IT, having stopped at five:

    5 ordinary slice lines, matched src TUs the closure reaches that no wave
      listed
    1 hosted word, data_0208ec74, which has no source and needs the ROM-span
      treatment the nine in hal/scene_mg_faces.cpp already get

  THE GROUP COUNTS NOW SUM TO 36. The alias group is 22, not 21; everything
  else above is confirmed as written.

THE SEAT LINKS. What it took, measured, is 19 generated aliases plus 3 hand-
ruled ones plus the Memory::Allocate row, 1 argument-landing face, 12 host
copies, 8 further slice lines across two more waves, 3 hosted words and one
faced archive call. Section 10 is the full account.

AND THE WALL IS TWELVE TUs, NOT SIX. THIS IS THE MOST IMPORTANT CORRECTION IN
THIS FILE AND IT CHANGES EVERY FAN-OUT ESTIMATE ABOVE. The seven symbols the
link names come from six TUs; a sweep of the slice for a pointer-to-member
dispatch finds twelve. The other six are silent FOR TWO DIFFERENT REASONS, and
the split matters more than the total. (Run mg5 lane FLW found a THIRD reason
and a thirteenth TU, added at the foot of this list. Twelve was the count a
`::*` sweep could reach, and the third shape is the one that sweep cannot see,
so treat twelve as a floor rather than a census.)

  TWO declare their PMF table inside extern "C", so the global mangles as the
  plain C name the mount already defines and the linker is satisfied. They
  stride an eight-byte ROM table by four.
      func_ov006_020e1214  _020e3078

  FOUR HAVE NO PMF GLOBAL AT ALL. The member pointer is a FIELD OF THE OBJECT,
  so nothing external is emitted for it in any linkage.
      func_ov004_020b31b4  _020b321c  _020b8714  _020b8778

  AND THERE IS A THIRD REASON, run mg5 lane FLW. The sentence above this list
  said TWO, and two was what the sweep that produced this list could see. ONE
  TU OPEN-CODES THE ARM ITANIUM SEQUENCE IN PLAIN INTS.
      func_ov006_020c3d18

  It declares no member-pointer type and no PMF global. The pair is read out of
  the object as two ordinary ints, so there is no symbol for a link to fail on
  AND no `::*` for a source sweep to match. src/func_ov006_020c3d18.cpp sits
  inside extern "C" and does its own decoding:

      int v = *(int*)(c+4);         /* the adjustment word */
      void *p = c + (v >> 1);       /* this, advanced, arithmetic shift */
      if (v & 1) {                  /* the virtual bit, in the LSB */
          int *vt = *(int**)p;
          fn = (int*)*(int*)((char*)vt + *(int*)c);
      } else {
          fn = (int*)*(int*)c;
      }
      ((void(*)(void*))fn)(p);

  which is the five-instruction shape this section opens with, one for one. The
  ROM at 0x020c3d18, read out of extracted/overlays/overlay_0006.bin at base
  0x020bfec0:

      ldr   r1,[r4,#4]
      add   r0,r4,r1,asr#1
      ands  r1,r1,#1
      ldrne r2,[r0]  /  ldrne r1,[r4]  /  ldrne r1,[r2,r1]
      ldreq r1,[r4]
      blx   r1

  So it compiles, it links, and it reads clean. ONLY A RUN CONVICTS IT, and the
  first symptom is eip equal to a raw DS address: the two words it decodes are
  the mounted ROM's, and nothing in the source ever says so.

  ROUTE IT AT THE DISPATCH SITE, NOT BY REWRITING THE STORED PAIR. The ov085 /
  ov100 shape named further up -- write host addresses over the .data pair
  before anything reads it -- is wrong for this one, and the reason is a second
  reader. src/func_ov006_020c3b80.c compares the stored pair against its idle
  sentinel data_ov006_0213aee0:

      if (r2 == g[0]) { if (c[1] == g[1] || r2 == 0) ip = 0; }

  so it asks "is this slot idle" by value. A host address never equals a DS
  address, so a seat that rewrote the pair would leave that test permanently
  false while the dispatch itself looked fine. The host copy replaces the
  DECODE, and the stored pair keeps the ROM's own words.

SO A LINK IS NOT A COMPLETE DETECTOR FOR THIS WALL, AND THE CONCLUSION IS
STRONGER FOR THE FOUR THAN FOR THE TWO. The two are hidden by a linkage
specifier and a lane that re-declared the table at C++ linkage would see them.
The four cannot be surfaced by any link ever run, because there is no symbol to
resolve; only reading the source finds them. The fan-out sweeps for `::*` in
its own slice before it believes an LNK1120.

AND THE `::*` SWEEP IS NOT A COMPLETE DETECTOR EITHER, which lane FLW's third
shape is the correction to. Both of the detectors this section prescribes --
the link and the source sweep -- return clean over a TU that decodes the pair
in ints. The pair of them is still worth running, because between them they
find twelve of the thirteen; what they cannot do is license the word "none".
A slice whose class dispatches through a sub-object gets a RUN before that
claim, and the run is the detector: eip on a DS address is the tell.

The four are also the worse defect on their own terms. MSVC's four-byte member
pointer inside the object moves every field after it, so they read the WRONG
FIELD before any dispatch happens -- src/func_ov004_020b31b4.cpp reads `state`
at 0x1c where the ROM reads [r0,#0x20] -- where the two table cases are a wrong
stride within a correctly laid out object. All four layouts were re-derived
from the ROM disassembly rather than from the src structs.

WHAT MADE THE FIX SMALL, and it was not known when this file was written: the
overlay constructors are the only writers of these tables, EVERY ONE OF THEM IS
A PLAIN .c FILE THAT SPELLS THE PAIR AS TWO INTS, and eight bytes on MSVC is
eight bytes in the ROM. src/__sinit_ov004_020b948c.c and
src/__sinit_ov006_021304ac.c both do it. So the mount's tables have been
correct at the right stride all along and only the CONSUMERS were wrong, which
turns "reproduce the mwcc member-pointer ABI" into "re-type the table and route
the code word".

THE RULEBOOK COROLLARY, AND IT KEYS ON THE SPELLING RATHER THAN ON THE USE:

    A PAIR WHOSE CONSUMER SPELLS IT AS TWO INTS IS SAFE AS AN ALIAS.
    A PAIR WHOSE CONSUMER NAMES A MEMBER-POINTER TYPE NEEDS A HOST COPY,
    WHETHER IT IS CALLED OR ONLY COPIED.

An earlier version of this line drew the boundary at copied-versus-called, and
that boundary is wrong in the dangerous direction: it would authorise an alias
onto a table a consumer only copies THROUGH A PMF-TYPED STRUCT, and such a copy
moves four bytes where the ROM moves eight and shifts every field after it in
the same object, with no call anywhere. Being a copy is not what makes a copy
safe; `struct Pair { int a; int b; }` being eight bytes on both machines is.

data_ov004_020bc904 and _020bc914 are genuine {code, 0} member pointers and are
still ordinary aliases, and they pass on the spelling: both consumers declare
`struct Pair { int a; int b; }`. The four ov004 TUs that dispatch an object
FIELD fail on the same test and need host copies, even though no global of
theirs was ever unresolved.

WHAT IT COSTS PER MINIGAME, measured on this one:

    dispatching TUs to host-copy                  5
      (_ZN14dScMgCurling_c8BehaviorEv, _020e3078, _020e12d0, _020e0d84, _020e1214)
    state entries to route                       25
    of those with no matched body                 1   func_ov006_020e1854
    lines of dispatcher                          ~5 per TU plus 25 cases

THE ONE MISSING STATE IS A HARD FLOOR FOR THIS CLASS. func_ov006_020e1854 is
the code word of the pair at 0x0213c2bc, it has no delink block in
config/arm9/overlays/ov006/delinks.txt and no src file defines it, so
dScMgCurling_c cannot reach every one of its own states even after the
dispatch exists. That is a decomp gap, not a port one.

THE SIXTY-ONE UNMATCHED BODIES IN THE FAMILY'S UNION are the same class of
floor at scale, and the fan-out should expect them per class rather than be
surprised by them: the union closure over all thirty ids and their attributed
constructors reaches ov006 1847, ov004 227 and arm9 982 functions, and 61 of
those have no source.

READ THE UNION CORRECTLY. It says the whole family's closure is essentially the
whole overlay -- ov006 has 1839 matched TUs and the union reaches 1847
functions -- which is the same shape port/ov007_seat.txt found for the title
screen: "there is no smaller honest unit: the title screen is what ov007 is
for". Twenty-three minigames are what ov006 is for.


5. WHY THE arm9 COLUMN IS NOT A COST
-------------------------------------

The pathfinder's closure reaches 560 arm9 functions and 558 of them already
have matched TUs compiled into the build. They come back through /OPT:REF for
free the moment ov004 or ov006 references them, exactly the way the ov007
lane's 92 did, so listing them as slice lines would be 558 lines that change
nothing. They are not in port/slice_mg1.txt and the file says so.

THE COROLLARY IS THE TRAP THE SCOUT ALREADY NAMED AND IT APPLIES TO THE .init
CONSTRUCTORS TOO. Wiring a TU that nothing references buys nothing: /OPT:REF
strips it. The constructors in this lane are referenced -- hal/scene_mg.cpp
calls all thirty-three by name -- but the state functions their pair tables
point at are NOT, because the pair words are mounted DATA holding DS addresses
and no host symbol names them. So the ov006 linkage this lane buys comes from
the vtable seat and the constructors, and the several hundred state bodies stay
gated behind section 4's dispatch. That is the honest reading of any ov006
delta this lane reports, and it is why the dispatch is the next lane and not an
optimisation.


6. THREE DEFECTS FOUND ON THE WAY, ALL LIVE, NONE VISIBLE TO THE BYTE GATE
---------------------------------------------------------------------------

Found by the twenty-five ROM adjudications rather than by running anything, and
recorded here because each bites a specific fan-out lane at a specific moment.

  a. A DECLARATION CONFLICT THAT STOPS THE BUILD. include/decl_common.h lines
     2342 and 2343 declare _ZN11dScMgBase_c25OnAimedAtWithEggReturnVecEv and _ZN11dScMgBase_c16OnAimedAtWithEggEv with
     void*, and both src TUs define them with char* and Obj* respectively while
     including that header. MSVC refuses each with C2733; mwccarm accepts it,
     which is why the ROM built and the byte gate has never had an opinion.
     FIXED HERE, by two host copies in port/unmatched/MgBase_DeclConflict.cpp
     that are the src bodies verbatim with ONE TOKEN CHANGED EACH, stated line
     by line in that file's header. The header fix proper is a five-file change
     inside the byte-gated tree -- two callers carry their own conflicting
     local declarations -- and is routed, not taken.

  b. A DROPPED `this` ON SLOT 7. include/decl_Scene.h declares
     `extern int _ZN8dScene_c14BeforeBehaviorEv();` with EMPTY PARENS inside
     extern "C", so src/minigames/d_s_mg_base.cpp's call at line 52 passes no
     object pointer, while the real definition
     (src/_ZN8dScene_c14BeforeBehaviorEv.cpp:47) takes `char* self` and
     dereferences it immediately. On ARM this is a ride-through and correct --
     r0 already holds self. On the host the callee reads the stack. The line
     ABOVE it in the same header spells the sibling correctly,
     `_ZN8dScene_c19BeforeInitResourcesEv(void*)`, which is what makes this a
     defect rather than a convention. NOT FIXED HERE, and it is a blocker for
     the first lane that dispatches slot 7 of any minigame table -- which is
     every one of them, since dScMgBase_c owns that slot.
     FIXED, run link60 lane MG1, in port/unmatched/MgBase_Slot7.cpp: one added
     line and one added argument, with decl_Scene.h deliberately not included
     so the corrected call is not a hard error. Nothing is owed here.

  c. A DELETE WITH NO POINTER ON SLOT 5. src/minigames/d_s_mg_base.cpp:12 declares
     `extern void func_0203cbc0(void);` and calls it with no argument at line
     28, while the ROM has the pointer being deleted live in r0. The port's own
     host body is `func_0203cbc0(void *p) { _ZdlPv(p); }` in
     port/unmatched/func_02073244_hostcopy.c, so the call hands operator delete
     whatever is on the stack. Seven other src TUs declare the same function
     WITH a pointer parameter. Same ride-through family as (b).
     FIXED, run mg5 lane BASESET, in port/unmatched/MgBase_Slot5.cpp: the src
     body with that one call given `data_ov004_020beb60[0]`, which is the value
     the ROM has in r0 at 0x020b0898. src/minigames/d_s_mg_base.cpp is off BOTH
     port/slice_mg1.txt and port/slice_smb.txt, which are the two slices that
     carried it.
     ITS REACHABILITY IS WORTH CORRECTING WHILE THE ROW IS OPEN. The paragraph
     below groups (b) and (c) as "cannot be EXERCISED until section 4's
     dispatch exists", and that is right about (b) and wrong about this one:
     slot 5 is a vtable slot the scene machinery dispatches at teardown, and
     data_ov004_020beb60 is allocated by slot 1 on every minigame boot, so the
     wild free was live on every minigame exit the whole time. No unattended
     run enters it (every census in lane BASESET reports slot 5 zero), which is
     why nothing had ever caught it.

  Both (b) and (c) want the same remedy as (a): a PORT_HOST_ABI host copy in
  port/unmatched/ that places the argument, leaving src/ and the byte gate
  alone. Neither was taken because neither can be EXERCISED until section 4's
  dispatch exists, and a host copy nobody can call is a count rather than a
  port. They are named here so the next lane meets them as known work.

  A FOURTH, SMALLER: src/_ZN14dScMgCurling_c13InitResourcesEv.cpp spells ov004's
  func_ov004_020adc74 as bare `func_020adc74`, a name that exists in no config.
  The reloc says module overlays(3,4) and ov004 is the co-resident answer. A
  name-spelling face, the ordinary kind.


7. THE OVERLAY CONSTRUCTORS, RULED
-----------------------------------

The full ruling table is in hal/scene_mg.cpp section 3 and is summarised here
because it is a per-family cost the fan-out inherits rather than repeats.

    ov004   4 in the ROM's .ctor,  4 wired,  0 no source
    ov006  31 in the ROM's .ctor, 31 wired,  0 no source
    ----
           35 total,              35 wired,  0 no source

THIS TABLE USED TO READ 33 WIRED AND 2 WITHOUT A SOURCE. The two were
__sinit_ov004_020b955c (0x574 bytes) and __sinit_ov006_0213014c (0x284): both
had a config symbol, NO delink block and NO src file, because ov004's .init
blocks ran `start:0x020b948c end:0x020b955c` and stopped, and ov006's went
`start:0x021300b0 end:0x0213014c` then jumped to `start:0x021303d0`.

Both were matched on the decomp's main after this branch forked -- f410b0822
(#1116, 2026-08-06) and 817be2263 (#1150, 2026-08-07) -- and run link60's
port-catchup lane brought them across by address, re-verifying each with
tools/match.py against the raw overlay images rather than taking main's word.
The hole this file used to carry as an open column is closed, and the column
is now a measured zero rather than an unknown.

They run at MINIGAME SCENE LOAD, not at registry install, and the distinction
is load-bearing rather than tidy. On the DS the spine's pre-spawn hook
func_0201a694 asks GetSceneOverlayID, gets ov006 for any id IsMinigameActorID
accepts, and func_0201a798 loads ov004 then ov006 -- and LoadOverlay runs each
overlay's static-init range as it lands. ov002 and ov006 are never co-resident,
so NONE of the thirty-five has ever run during a level. Running them from
port_scene_registry_install, which fires on every boot including level runs,
would therefore be a divergence with teeth: __sinit_ov004_020b948c calls
func_020731dc, which threads a node onto an arm9-global destructor list the
level path walks. (An earlier version of this sentence named __cxa_vec_ctor
alongside it as a second list threader. IT IS NOT ONE -- it is an MSL
array-construction primitive -- so the argument rests on func_020731dc alone,
which carries it without help.)

WHAT THEY BUILD, from reading all thirty-three: ten are SharedFilePtr builders
of the ov085 / ov100 / ov015 shape the level path already runs a dozen of, and
the rest are pointer-to-member pair-table copies with no calls at all. The
second group is section 4's problem in its source form.


8. WHERE THE LANE STOPPED, AND WHAT IS AND IS NOT IN THE TREE
--------------------------------------------------------------

THE SEAT IS WIRED AND THE MINIGAME HAS BOOTED. MG1 wrote here that nothing was
in any target, that wiring it would break the build, and that "the day that
link closes this paragraph is deleted rather than amended". Run link60 lane MG2
closed it; the paragraph is deleted and this is what replaced it. Section 10
carries the boot, the blocker and the numbers. What MG1 left in the tree --
hal/scene_mg.cpp, hal/scene_mg_faces.cpp, the three MgBase_*.cpp host copies
and slice_mg1.txt -- is all live, and keeping it rather than deleting it is
what made the closure a wiring job instead of a re-derivation.

WHAT DID LAND IN MG1's commits, all of it still standing:
  - the 25 ROM rulings in port/tools/inferred_stub_adjudicated.txt, which are
    real, banked, and inherited by all thirty fan-out lanes
  - the amended 18-slot caveat and port_scene_fill_rom in hal/scene_boot.cpp,
    plus the two ActorBase faces in hal/scene_actor_faces.cpp -- the generic
    fill the caveat asked for, with the measurement that says a width
    parameter would not have been enough
  - this file


9. WHAT THIS FILE DOES NOT KNOW
--------------------------------

  - THE PER-ID CLOSURE SIZES IN SECTION 1 ARE MEASURED FOR ONE CLASS ONLY.
    Extending the two-root walk to all thirty needs each id's .init constructor
    attributed to it, and the only attribution this lane implemented is address
    containment -- does the constructor's copied .data range bracket that id's
    SpawnInfo. That is right for dScMgCurling_c, where the pairs at
    0x0213c1e4..0x0213c2bc bracket the record at 0x0213c214, and it
    OVER-ATTRIBUTES where one constructor serves two classes, which the run
    showed it doing for at least 0x16a and 0x16b. So no per-id closure column
    appears in section 3, on purpose. Section 3 ranks on the vtable axis, which
    is read directly and needs no attribution, and the union in section 4 is
    the reliable aggregate.
  - NOTHING IN SECTION 3 SAYS A CLASS RUNS. It says what seating one costs. The
    only class that has been through a boot is the pathfinder's, and what that
    boot proved is in port/scene_boot_map.txt's terms, not this file's.
  - THE 2D GAP LIST IS UNMEASURED FOR MINIGAMES. port/ov004_ov007_2d_map.txt
    section 7 names six gaps and expects the OBJ window and the BLDCNT alpha
    path to bite a 2D-heavy minigame. dScMgCurling_c writes DISPCNT, BG2CNT and
    G2x::SetBlendAlpha on both engines (slots 0 and 18 both set
    (0x04000050, 0, 0xd, 2, 0x10) and (0x04001050, 0, 4, 2, 0x10)), so the
    ALPHA path is reached by this class and the question is live. Nobody has
    looked at a frame.
  - TOUCH DOES NOT EXIST. The 2d map's cluster f records that walk_window has a
    touch bridge but no touch-panel register model, and ov004's
    dMgPsOpt_c::TouchIcon_c is the framework's own touch layer. A minigame that
    idles without touch input is still a boot; a minigame that needs touch to
    leave its first state cannot be driven past it. Which of the thirty are
    which is unmeasured.


10. THE CLOSURE AND THE BOOT, run link60 lane MG2
--------------------------------------------------

Worktree C:/tmp/h4, branch s4-mg-closure, base a1b295135, private build
C:/tmp/h4/build/port with CMAKE_HOME_DIRECTORY verified C:/tmp/h4/port.
Baseline gate re-recorded on that tree and it matched the brief exactly:
5533/11243 (49.2%), battery ALL GREEN, skips [scene 1 BLOCKED], git_dirty
false, git_sha a1b295135.

WHAT THE WALL ACTUALLY COST, against section 4's prediction:

  item                              predicted   measured   note
  -------------------------------   ---------   --------   ------------------
  ordinary /alternatename faces            21         22   the residual
  argument-landing thiscall face            1          1
  pointer-to-member SYMBOLS                 7          7
  pointer-to-member TUs                     6         12   2 hidden by
                                                           extern "C", 4 emit
                                                           no symbol at all
  sixth-wave slice lines                    5          5
  sixth-wave hosted word                    1          1
  further waves                             0          3   waves 7 and 8
  further hosted words                      0          2
  faced rather than linked                  0          1   UnloadArchive
  state bodies added to the slice           0          4   they arrive with
                                                           the dispatch, not
                                                           with the closure

THE PREDICTION WAS GOOD ON EVERYTHING THE LINK CAN SEE AND BLIND WHERE THE LINK
IS. Every group review derived from a converged link came back right or one
low. The two rows that are badly wrong -- twelve dispatching TUs against six,
and four state bodies against none -- are both cases where the linker had
nothing to say: the six silent dispatchers resolve to C names the mount already
defines, and the four state bodies are reached only through mounted DATA words.
A cost model built out of link waves cannot see either, and the fan-out should
read that column rather than the total.

WAVES, and the shape is the correction to section 2's "budget two to three":

  wave  added  what asked for it
  1-4     276  MG1's four waves, the ordinary closure
  5         0  MG1's wall enumeration
  6         6  5 TUs + data_0208ec74, exactly as review predicted
  7         6  3 TUs + 2 hosted words + 1 alias, the sixth wave's own closure
  8         4  3 TUs + 1 faced call, the seventh wave's closure
  --       12  host copies REMOVED from the slice
  +         4  state bodies, named by the address switch and by nothing else

A FAN-OUT LANE SHOULD BUDGET EIGHT WAVES, not two to three. Waves 6, 7 and 8
are each the previous wave's closure and each was smaller than the last, which
is what converging looks like; the number that matters is that it took three
more rounds after the point MG1 called the wall enumerated.

LINKAGE, measured on the tip:

    5533 / 11243 (49.2%)  ->  5750 / 11243 (51.1%)     +217

  by module, AFTER, from port/tools/linkage.py --by-module:

    module   total  linked  unlinked   linked
    ov006     1839      75      1764     4.1%
    ov004      276      97       179    35.1%
    ov001       23      10        13    43.5%
    arm9      3098    1799      1299    58.1%
    itcm         9       6         3    66.7%

  THE BEFORE COLUMN IS CITED, NOT RE-MEASURED, and that is a gap in this
  report rather than a rounding. The link that produced the wall TRUNCATED
  walk_window.map to zero bytes and destroyed the baseline per-module split;
  only the headline 5533 survived, in the gate manifest. The tree's own
  documents give the two that matter: port/ov006_player_map.txt section 4
  states ov006 linked=0 and explains that the single ov006 name in the map was
  an /alternatename onto an ov002 body, and port/slice_mg1.txt records
  src/func_ov004_020adc4c.c as "the one ov004 body the port could already
  reach". So ov006 0 -> 75 and ov004 1 -> 97 are believed but not measured on
  both ends. The +217 headline IS measured on both ends.

  READ THE ov006 NUMBER CORRECTLY. 75 of 1839 is 4.1%, and section 5 predicted
  this shape: the seat buys the vtable bodies, the constructors and now the
  state bodies the address switch names, and the rest of ov006 stays gated
  behind the other twenty-nine classes. What section 5 got wrong is the claim
  that the state bodies stay unreachable. The dispatch reaches them now, and
  routing them is most of what the ov004 column's 97 is made of.

THE BOOT. SM64DS_SCENE=374, SM64DS_SCENE_FRAMES=300, SM64DS_SCENE_NO_RENDER=1,
on the tip build. OUTCOME: HONEST (b), a named and symbolized blocker with a
SCENE_BLOCKED entry in port/tools/battery.py, and the blocker is an arm9 global
rather than anything about minigames.

  WHAT RAN, every line of it from the run's own output:
    ov004 and ov006 mounted, the first caller either mount has ever had
    33 of the ROM's 35 overlay constructors ran (ov004 3/4, ov006 30/31)
    both 36-slot vtables filled, ZERO raw DS words left in either
    the class registered and the SpawnInfo +4 cross-check passed
    Scene::SetSceneToSpawn -> SpawnIfNecessary -> func_02043098 spawned it
    SLOT 1 DISPATCHED through the fill's host thunk

  WHERE IT STOPPED:
    FAULT c0000005 accessing 0x00000024, at
    _ZN8dScene_c9SetFadersEP15FaderBrightness+0x24, reached through
    mb_binit -> _ZN11dScMgBase_c19BeforeInitResourcesEv (slot 1) -> Scene::SetFaders.

  WHY. data_0209f61c is an arm9 dWipe_c in bss and its vptr is zero.
  src/__sinit_02074f80.c is its static initialiser -- func_0202fc40 then a
  func_020731dc destructor registration -- and the port never runs it;
  func_0202fc40 is not in the link at all. The host SetFaders compiles
  thiz->v24() to `call dword ptr [eax+24h]`, which off a null vptr reads
  address 0x24, and that is the number in the fault.

  THE CLASS NAME IN THAT PARAGRAPH IS CORRECTED, by run link60 lane FDR. This
  section said "an arm9 FaderBrightness" everywhere; the ROM's own RTTI at
  0x020926dc reads "7dWipe_c", over the base chain dFdColor_c ->
  dFdBrightness_c -> dFader_c. FaderBrightness IS dFdBrightness_c, the
  grandbase two levels up, so it is a legitimate name for the Scene::SetFaders
  PARAMETER and the wrong one for the object. Nothing else in this section
  changes: every ADDRESS it gives is right, including the call this paragraph
  makes below that the table to fill is data_020926f0 and NOT _ZTV9FaderWipe
  (that one is dFdWipe_c, a sibling under the same dFdColor_c base).

  NOT PREVENTED ON PURPOSE. Installing a plausible vptr is the guess
  port/tools/inferred_stub_guard exists to refuse. Instead the fill prints the
  cause by name when the condition holds, because a link offset changes on
  every build and cannot be a battery marker.

  RETIRING IT is a fader and boot job, not a minigame one: func_0202fc40 and
  its closure into a slice, a host fill for data_020926f0 (the vtable
  func_0202fc40 actually installs, which is NOT _ZTV9FaderWipe), and a decision
  about which arm9 static initialisers the port runs at all. Three things, none
  of them in ov004 or ov006.

  THIS BLOCKER IS RETIRED, and it went the way this paragraph scoped it, all
  three parts. Run link60 lane FDR: port/slice_fdr.txt is the slice,
  port/hal/fdr_arm9_fader_seat.cpp is the host fill, and the third was
  answered for THIS INITIALISER ONLY -- the port runs __sinit_02074f80 itself,
  from a C++ static initialiser, rather than reimplementing it. READ THAT
  NARROWLY. It is not a policy about arm9 static initialisers in general and
  the port has not adopted one: exactly one of them runs today, and the others
  the port needs are still REIMPLEMENTED as host seats, __sinit_02075154 as
  port_actor_lists_seat in hal/actor_registry.cpp and __sinit_02073a24 as the
  fill in hal/camera_states.cpp. Whether those should convert is open and this
  lane did not open it. Slot 1 now runs to completion and
  the boot walks on to a NitroSDK open-by-name file-system wall inside
  dScMgCurling_c::InitResources, which port/tools/battery.py's SCENE_BLOCKED
  row for scene 374 now records instead. port/fader_boot_map.txt is the
  write-up.

  ONE TRAP FIRED and it is not the blocker: func_0202e78c, the arm9 address
  with no config symbol at all, returns 0 as it is written to. Nothing in the
  run attributes the fault to it.

TWO PORT DEFECTS ON THE PATH WERE FIXED RATHER THAN SKIPPED, and both were
found by running rather than by reading:

  a. A FABRICATED INITIALIZER, INVISIBLE TO THE BYTE GATE.
     src/func_ov004_020b2cb8.c opens with Entry entries[29] = {{1,100},
     {2,101}, ... {29,128}}, a ramp; it then overwrites twenty-eight of the
     twenty-nine and never touches entry 1, so the loop at the bottom
     dereferenced 101 and the first boot faulted accessing 0x00000065. THE ROM
     HAS NO RAMP. It copies a fixed template with an ldm/stm run at
     0x020b2cc0..0x020b2ce0 (14 x 16 + 8 = 232 bytes = 29 x 8), the template is
     its own config symbol at 0x020bc6e8, and it reads {320, 0x020b9f54} at
     index 1 and {0, 0} everywhere else. The function's own instructions are a
     pc-relative load and a copy loop, identical whatever the template holds,
     which is how an invented template survived as a matched body. The port
     already hosted the real one -- tools/ovdata.py emits every config data
     symbol from the image and rebases its interior pointer, which is why
     entry 0 worked and entry 1 did not -- so
     port/unmatched/MgBase_LangTable.cpp performs the copy the ROM performs.
     THE DECOMP-SIDE FIX IS ROUTED, NOT TAKEN: the src TU should read
     data_ov004_020bc6e8 rather than spell a template, and whether that still
     builds byte-identically under mwccarm is a byte-gated-tree question.

  b. A HOST POOL SIZED FOR A LEVEL. hal/level_boot.cpp's LoadFile seam had
     sixteen slots, which is what a level's KCL and object files need. That one
     ROM function holds TWENTY-NINE files live at once in data_ov004_020bf560,
     so it is a working set and not a leak the per-level release can absorb.
     Sixty-four now, release path unchanged.

AND ONE SEAT GAP MG1's OWN DIAGNOSTIC CAUGHT. The first wired boot printed
"dScMgBase_c leaves 5 of 36 raw DS words". MG1's face list is the twenty-three
slots a DERIVED class inherits unchanged, and the BASE table also holds its own
bodies in the five slots a derived class overrides -- 6, 9, 16, 17 and 18; slot
0's base body is arm9 and port_scene_fill_rom already had it. Four of the five
carry the guess marker and were disassembled and ruled REAL_DECOMP in
port/tools/inferred_stub_adjudicated.txt before seating. Both tables now leave
zero. THE FAN-OUT INHERITS THIS: the five are keyed by address in the shared
array, so a class that leaves one un-overridden gets a thunk rather than a raw
DS word.

FOUR TOOL FINDINGS, recorded because this was the first lane to run with the
automation and because three of them would each cost a later lane real time:

  1. facegen MISSES A PMF TABLE BEHIND A STRUCT WRAPPER. Its WALL test is
     "P8" in sym, and a struct that wraps a member pointer hides the P8:
         PMF table[]                     ->  ?..@@3PAP8C@@AEXXZA   caught
         struct Entry { PMF pmf[1]; } []  ->  ?..@@3PAUEntry@@A     MISSED
     The struct-typed refusal does not catch it either: it tests for the
     by-value spelling @@3U and an array of that struct is spelled @@3PAU. The
     symbol it let through, ?data_ov006_02141950@@3PAUEntry@@A, is the
     twenty-five-entry dScMgCurling_c state table, the exact table section 4
     opens with. A lane taking the output at face value would have shipped an
     alias that links and then strides an eight-byte table by four. Refused by
     hand and host-copied instead; hal/scene_mg_faces.cpp section 2b has the
     ruling. Section 4's enumeration table used to quote that symbol as
     ?data_ov006_02141950@@3UEntry@@A, which is the by-value spelling the guard
     WOULD have caught, and it is corrected there rather than only here: a
     fan-out lane reading the table on its own must not inherit a form that
     looks safe. The link says PAU, confirmed twice, in the LNK2019 text and in
     a standalone compile of the TU.

  2. facegen --verify FALSE-FAILS ON A RELATIVE --out. verify() calls
     compile_batch with root set to the output file's parent and the output
     path as the source; compile_batch resolves a non-absolute source against
     root, so a relative --out becomes <parent>/<relative-out>, which does not
     exist. cl is handed a missing file and the tool reports "generated file
     DID NOT COMPILE". The same content with an absolute --out reports "PASS
     surface exact". The failure mode is a FALSE FAIL on a correct file, and
     under the standing rule that no generated file is wired without a PASS it
     would have sent a lane off to hand-write nineteen correct rows.

  3. A FAILED LINK ZEROES walk_window.map, WHICH IS BOTH TOOLS' UNIVERSE. The
     link that produces the wall destroys the map that facegen and closure.py
     need in order to classify it, so the natural order -- link, read the wall,
     run facegen -- cannot work twice running. facegen stops with "empty
     universe", which is safe. closure.py only checks that the file EXISTS, so
     against a zeroed map it reports every symbol unresolved under a quiet
     "map defines 0 symbols" line. Worked around here by rebuilding the
     universe from 246 object symbol tables (21744 defined externals); a lane
     that hits this should copy the map aside before the probe link.

  4. facegen READS A NAMESPACE QUALIFIER AS A CLASS.
     ?Allocate@Memory@@YAPAXIH@Z is a __cdecl free function in namespace Memory
     -- the Y and the A say so -- and the tool classified the Itanium spelling
     of it as a reverse face and refused with "reverse face with 2 args:
     hand-write it against the cxxname_bridge precedent". The refusal is the
     right OUTCOME and the reason is wrong: no face is needed, both sides are
     __cdecl with the same two arguments, and a plain alias is correct. Its
     MSVC_METHOD pattern cannot tell a namespace qualifier from a class one and
     its ALIAS_FN path only matches free functions at global scope.

  BOTH SELFTESTS PASS and the build guard runs them before configure. On the
  full 36-symbol wall facegen classified 20 ALIAS / 6 WALL / 4 REFUSED /
  1 MISSING / 5 UNKNOWN = 36, and its MISSING and UNKNOWN rows are correct
  refusals rather than gaps: the thiscall face has no Itanium body in the
  universe, and the five plain C names are slice lines, not faces.

WHAT SECTION 3's TABLE STILL DOES NOT KNOW, now with a measured example. The
per-class ranking is on ovr and mark, and dScMgCurling_c's row says 6 and 5.
That was accurate and it still did not predict this lane's cost, because none
of the work above is in either column: the wall is the FRAMEWORK's, the state
bodies arrive with the dispatch, and the blocker is an arm9 global. The ranking
is the right order to cut the fan-out in. It is not a size estimate.

WHAT THIS SECTION DOES NOT KNOW.
  - NO FRAME HAS BEEN RENDERED. Every run here was SM64DS_SCENE_NO_RENDER=1,
    because the blocker is upstream of frame 0 and a render pass could not have
    been reached. Section 9's note that the 2D gap list is unmeasured for
    minigames is unchanged, and so is its note that nobody has looked at a
    frame.
  - TOUCH IS STILL UNMEASURED, for the same reason: nothing got far enough to
    want input. Section 9 stands.
  - THE STATE MACHINE HAS NOT RUN. The address switch is wired and reports its
    own call count, and on every run so far that count is zero, because slot 1
    faults before slot 6 is ever dispatched. So the dispatch fix is proven to
    COMPILE and to LINK and is NOT yet proven to route a single state. That is
    the largest unproven thing this lane leaves.


11. THE WIDTH COLUMN WAS WRONG FOR TWELVE OF TWENTY-NINE, run link60 lane MGA
-----------------------------------------------------------------------------

Worktree C:/tmp/mga, branch s5-mg-wave1-a, base 3a5733c03, private build
C:/tmp/mga/build/port with CMAKE_HOME_DIRECTORY verified C:/tmp/mga/port.
Baseline gate on that tree: 5831/11250 (51.8%), battery ALL GREEN, skips [],
git_dirty false, git_sha 3a5733c03.

Found while seating 0x169, before a line of seat code was written. Section 3's
table and its prose are corrected in place above; this section is the evidence
and the method, so the correction can be checked rather than believed.

WHAT WAS WRONG. Section 3 listed thirteen classes at width 37. Twelve of those
thirteen have a vtable symbol whose span to the NEXT config symbol is 36 words,
so a 37th slot cannot exist inside the table: it is the first word of the next
object. Only 0x173 survives.

    0x169 0x16a 0x16c 0x16f 0x170 0x171 0x174 0x175 0x17b 0x17e 0x181 0x184

WHY IT IS NOT A ROUNDING ERROR. The extra word is live data belonging to
something else, and for 0x169 the chain is complete:

    dScMgCup_c's vtable is _ZTV10dScMgCup_c. 36 words later is
    data_ov006_0213c1e4. That symbol is an mwcc pair {code 0x020e0a24, adj 0},
    read out of extracted/overlays/overlay_0006.bin at base 0x020bfec0. And
    src/__sinit_ov006_021304ac.c -- CURLING'S OWN overlay constructor -- line
    75 copies it:

        data_ov006_02141930.p2 = data_ov006_0213c1e4;

    which is curling state table 02141930 slot 2, whose address
    port/unmatched/MgCurling_StateDispatch.cpp's header independently lists as
    020e0a24.

So a 37-slot fill of dScMgCup_c writes a host thunk pointer over the code word
of a state belonging to the one minigame that already ships.

A FIFTH CHECK WAS OFFERED IN run mg9 AND IT IS AN UPPER BOUND, NOT A DECIDER --
recalibrated here because it was published as "needs no symbols and no
judgment" and it fails in the GRANTING direction, which is the only direction
that can corrupt anything. Lane LKY read the width off the RELOCATION STRIDE in
ov006's relocs.txt: four bytes per slot for exactly the table width, then eight
once the mwcc member-pointer pairs start, so the stride change is where the
table ends. On that lane's own table (0x0213fec8) it agrees. Measured across
six tables it is right three times and wrong on the three that matter:

    table                     stride-4 run   true width   verdict
    -----------------------   ------------   ----------   ---------------
    0x0213c154  0x169              37             36      OVER-READS BY 1
    0x0213d1b8  0x16a              37             36      OVER-READS BY 1
    0x0213eb40  0x16c              37             36      OVER-READS BY 1
    0x0213b918  0x173              37             37      agrees
    0x0213d4d4  0x16b              36             36      agrees
    0x0213c304  0x176 curling      36             36      agrees

WHY, in one sentence: the four-byte run does not stop at the end of the table,
because the word past the end is ITSELF a relocated code word at the next
four-byte boundary -- for 0x169 that is 0x0213c1e4, the mwcc pair's code half
named above -- so its relocation continues the stride and the eight-byte gap
the check looks for arrives one slot late, after the pair's zero adjustment.
The check therefore reads 37 on exactly the three classes this section
corrected from 37 to 36, and on the very class whose 37th word is curling's.

Three lanes hit it independently while seating those three ids (lanes CUP,
MMT and S364; port/slice_mmt.txt carries the six-table measurement and
port/slice_cup.txt the single-class derivation). USE IT AS A CONFIRMATION WHEN
IT AGREES WITH THE SPAN, never as a substitute for it. The span check refuses a
width and never grants one, which is the property that makes it safe and this
one unsafe.

WHAT DECIDES WHETHER THAT IS FATAL OR MERELY WILD IS REGISTRY ROW ORDER, WITHIN
ONE PROCESS. An earlier draft of this section said "the corrupted word is what
curling's constructor copies on the next curling boot", and that mechanism does
not exist: host storage is process-local and is re-initialised from the overlay
image every run, so nothing carries from one boot to the next. Lane MAR1 caught
it. The real mechanism is one function and one guard:

  port_scene_registry_install (hal/scene_boot.cpp) walks port_scene_classes[]
  in TABLE ORDER and calls k->fill() for EVERY row on EVERY boot,
  unconditionally.

  port_scene_mg_overlay_load (hal/scene_mg.cpp) runs the thirty-five overlay
  constructors ONCE PER PROCESS behind a `static int done`, reached from the
  tail of a minigame row's fill via port_scene_mg_prepare.

So the constructors run exactly once, at the tail of the FIRST minigame row's
fill. A fill that runs BEFORE that point has already written when the
constructors read; a fill that runs after writes too late to be copied.

  ROW BEFORE CURLING'S -- and this is WORSE than the sentence it replaces. The
  cup fill clobbers 0x0213c1e4, the constructors then run and copy the
  clobbered word into data_ov006_02141930 slot 2, and curling's address switch
  meets a host thunk address it has no case for. Curling's state 2 goes
  UNHANDLED on that very boot, not on some later one.

  ROW APPENDED AFTER CURLING'S -- the likelier fan-out shape, because appending
  is what the lane briefs ask for so the coordinator can concatenate. Curling's
  fill has already run the constructors with the clean word, so the .bss
  dispatch table is correct and curling is unaffected in that process. The
  corruption is LATENT for curling, and it is still a wild write into another
  class's live mounted ROM data word.

Either way the fill is wrong; the ordering only decides whether it announces
itself. That is the argument for fixing the width rather than the row order.

NOTHING IN THE BYTE GATE CAN SEE THIS. The write lands in port host storage for
a mounted DS data symbol; src/ is untouched and every ROM byte still matches.
The only check that would have caught it is the fan-out rule that a lane
re-hash scene 374's frame at its own tip, and that catches it only after the
fact and only for curling.

0x16c IS THE SAME SHAPE FOR A DIFFERENT VICTIM. Index 36 of its table lands
exactly on g_profile_MG_SMARTBALL (0x0213ebd0), so a 37-slot fill there
overwrites word 0 of id 0x178's SpawnInfo, which is 0x178's factory pointer.

THE THREE CHECKS, so the next lane can redo them in a minute:

  1. SPAN. config/arm9/overlays/ov006/symbols.txt, vtable symbol to next
     symbol. An UPPER bound only -- unsymbolised padding inflates it, which is
     why 0x16d's span of 38 does NOT contradict its documented 36 -- so it can
     refuse a width but never grant one.
  2. TERMINAL SLOT. Every dScMgBase_c-derived table holds 0x020ad660 at slot
     35. Checked on 0x169, 0x16a, 0x16b, 0x16c and 0x176: all five. 0x173 does
     NOT (slot 35 = 0x020d1170), which is the same fact its span of 37 states.
  3. WHAT THE WORD IS. Curling is the control: documented 36, agreed, and its
     word at index 36 is 0x2f474d2f, ASCII "/MG/" -- a file path. 0x16b's is
     0x00000001. Where the word happens to look like a code address is exactly
     where the eye fails, which is why checks 1 and 2 are the ones that decide.

THE GATE IS NO LONGER CIRCULAR. port/tools/vtablerows.py did not derive width;
--reconstruct took it from section 3's own rows, so build-port.cmd's
`vtablerows.py --reconstruct` compared the doc against the ROM using the doc's
number and could never contradict it, and it passed 29/29 the whole time. It
now rejects a width that reaches past the next config symbol. Re-run after the
table correction: selftest PASS, reconstruction EXACT 29/29, totals
353/263/6.

WHAT MOVED IN THE NUMBERS. Every one of the twelve loses exactly one override
and no adjudications, which is the signature of a phantom slot: a word outside
any delink block has no src file, so it can never have carried the marker. One
loses a nosrc (0x175), because its phantom was being counted as a body with no
source.

    totals   365 / 263 / 7   ->   353 / 263 / 6

AND THE RANKING MOVED, which is the part a lane-cutting reader wants. 0x170 and
0x171 drop to six overrides with three and four adjudications, so they are now
CHEAPER THAN THE PATHFINDER WAS (six and five). 0x171 has no nosrc body and is
the cheapest whole class on the board. Section 3's re-sorted table is the
ranking; the old "next three lanes" call is superseded there.


12. THE TEN ROM ADJUDICATIONS FOR 0x169, run link60 lane MGA
-------------------------------------------------------------

dScMgCup_c is scene 361 = id 0x169. The ROM's own RTTI at 0x0213c054 reads
"10dScMgCup_c"; its D0 at 0x020dea1c and the intermediate base's D0 at
0x0210a4e8 both write _ZTV19dScMgSingle3DBase_c into the object's first word, and
0x0213e448 carries the ActorBase signature, so the chain is

    Scene -> dScMgBase_c (0x020bc0c0) -> dScMgSingle3DBase_c (0x0213e448)
          -> dScMgCup_c (0x0213c154)

and the middle name is the ROM's: src/minigames/d_s_mg_single3_d_base.cpp's recovered name
is dScMgSingle3DBase_c and "19dScMgSingle3DBase_c" is at 0x0213bd00. A seat for
this class therefore fills THREE tables, all width 36.

Fifteen distinct override bodies across the two new tables, ten carrying the
"recovered from vtable slot identity" marker. THE FIRST NUMBER READ SIXTEEN
UNTIL run mg9, and it was high by one: the middle table dScMgSingle3DBase_c
contributes 8 (0210a6e4, 0210a608, 0210a698, 0210a664, 0210a4b0, 0210a4e8,
0210a600, 0210a708) and dScMgCup_c contributes 7 (020e0308, 020e0204, 020e0068,
020de988, 020dea1c, 020dfeec, 020dfed4), no body is in both sets, and 8 + 7 is
15. Lane CUP recounted it while seating the class and the lane reviewer
recounted it independently; port/slice_cup.txt carries the derivation. THE TEN
IS EXACT and is the number that costs anything, so nothing below this line
changes: this class's own marker count is 4 and the six slots it inherits
contribute 5, which is why the derived table reads mark 9 and the middle table
mark 6, while the union of distinct marker BODIES is 4 + 6 = 10. All ten were disassembled out of
extracted/overlays/overlay_0006.bin at base 0x020bfec0 (the shipped image, not
a dsd export) and compared instruction for instruction with src before any
seating. RESULT: 10 REAL DECOMP, 0 guesses, consistent with lane w13's 43/43
and wave 16's 18/18. The per-body evidence is in
port/tools/inferred_stub_adjudicated.txt.

TWO OF THE TEN CARRY A RIDE-THROUGH AND THE SEAT MUST HANDLE IT, which is a
finding about the seat rather than about the ruling:

  _ZN19dScMgSingle3DBase_c18AfterInitResourcesEj  vtable slot 2, AfterInitResources. The ROM does
      `mov r4,r0; bl 0x20b08f0` without touching r1, so the framework's second
      argument rides through in r1. src declares _ZN11dScMgBase_c18AfterInitResourcesEj(c) with
      one argument while hal/scene_mg.cpp declares the same extern "C" symbol
      with two. Nothing diagnoses that. The face must pass both.
  src/dScMgCup_c_classInit  the FACTORY, not a vtable body, so not in the ten.
      It calls `_ZN11dScMgBase_cC2Ev();` with NO argument where curling's
      factory passes p, and the callee is the base constructor. On ARM r0
      already holds p; on the host nothing is pushed and the callee reads
      whatever is at [esp+4].

      IT DOES NOT MERELY READ A GARBAGE `this`, IT WRITES THROUGH IT, which
      lane MAR1's verification established and this lane's filing had
      understated. src/_ZN11dScMgBase_cC2Ev.cpp dereferences on its FIRST
      statement -- `_ZN7fBase_cC2Ev(self)` -- and follows it immediately with
      `*(void **)self = &data_0208e4b8;` and two more vtable stores. So the
      failure is a wild write to an uninitialised value, not a bad read: no
      fault is guaranteed, and whatever it lands on is corrupted silently.

      The src TU is matched and read-only, so the port-side answer is a host
      copy of the factory, which costs one linked function and therefore needs
      a written ruling. Per the coordinator, the displacement ruling will be
      granted to whichever lane seats 361.

THE STATE MACHINE IS THE CHEAP HALF FOR THIS CLASS AND THAT IS WORTH RECORDING
against section 4's shape. port/tools/stategen.py --sinit
src/__sinit_ov006_021303d0.c --overlay 6 reads ONE table, data_ov006_02141870,
8 slots, arity 0, every slot with a matched src TU, REFUSALS none. Curling has
seven tables, twenty-five slots and one hard floor. And exactly one TU
dispatches it, src/actors/dScMgCup_c.cpp (Behavior, slot 6), against
curling's five host copies. So the per-class cost is not one number: 0x169 is
roughly twice curling on the vtable axis and a third of it on the wall axis.


13. WHAT THE 0x16b DERIVATION GOT WRONG, run mg6 lane MEM
----------------------------------------------------------

Worktree C:/tmp/m6m, branch mg6-mem, base a65c871a3, private build
C:/tmp/m6m/build/port with CMAKE_HOME_DIRECTORY verified C:/tmp/m6m/port.
Baseline gate on that tree before a line was edited: battery ALL GREEN, eight
hosted scenes and no skips, linkage 6308/11269 (56.0%), and the curling canary
reproducing 32557 call(s) / 32557 routed / 0 UNHANDLED exactly.

dScMgMemory2_c is SEATED and scene 363 boots. Section 3's own block for this
class is the most complete handover any fan-out lane has had, and it was right
about everything it measured. THIS SECTION IS THE THREE THINGS IT DID NOT
MEASURE, because those are what the next lane inherits.

CORRECTION 1: THE HIERARCHY IS THREE DEEP AND THE BLOCK NAMES ONE TABLE.

    Scene -> dScMgBase_c         data_ov004_020bc0c0  36
          -> dScMgSingle3DBase_c _ZTV19dScMgSingle3DBase_c  36  ovr 8,  mark 6
          -> dScMgMemory2_c      _ZTV14dScMgMemory2_c  36  ovr 14, mark 12

Six of this class's fourteen overrides -- slots 2, 5, 7, 10, 26 and 33 -- are
the MIDDLE base's bodies rather than its own, so a seat that filled one derived
table would have left six raw DS words in a table the factory installs. Both
edges are read off code: src/actors/dScMgMemory2_c.cpp writes 0x0213e448 into the
object and then 0x0213d4d4 over it, and slot 17 (src/actors/dScMgMemory2_c.cpp)
unwinds them in the opposite order.

THE VTABLE AXIS CANNOT SPOT THIS, which is the general lesson. A row's ovr and
mark columns are computed against dScMgBase_c's table, so an intermediate base
shows up only as "more overrides", never as "another table". The cheap test is
the one this lane used and it is two reads: the FACTORY, for a second vtable
store, and slot 16/17, for a second one on the way down. 0x169 and 0x186 sit
under this same middle table, so the fan-out should expect it to fire again.

    THE MIDDLE TABLE IS SHARED WITH hal/scene_mg_flower.cpp AND THAT IS SAFE.
    Both files define their own eight-row face array over the same eight DS
    words, and both fills run on every boot. mg_apply keys on a DS address, so
    the fill that runs FIRST claims the table and the second finds nothing left
    to write. This class's registry row is appended after the flower's, so the
    flower keeps the middle table and its witness is unchanged; this seat owns
    only its own derived table. Measured on a scene-363 run: this seat's copy
    reports 8998 slot entries and the flower's copy reports 0. If a THIRD class
    under this base is ever seated, promoting kSingle3DFaces to an exported
    seam the way scene_mg.cpp exports port_scene_mg_fill_shared is the right
    move, and this paragraph is the argument for it.

CORRECTION 2: THE PMF TU LIST IS SEVEN, NOT SIX, AND THE SEVENTH IS ov004's.
The block names six ov006 TUs and says "_ZN10dMgState_c8SetStateEi is the framework
one and is already trapped". A source sweep for a member-pointer dispatch over
this class's whole 869-file closure finds FOURTEEN: those six, seven ov004 TUs
MG1/MG2/BASESET already host-copied, and

    src/func_ov004_020b52fc.cpp

which is six lines, is in NO wired slice and in no lane's host-copy set, and is
reached TWENTY TIMES PER FRAME on this class's live path:

    _ZN14dScMgMemory2_c8BehaviorEv (vtable slot 6) -> func_ov004_020b65e4
      -> for i in 0..0x13: func_ov004_020b52fc(&data_ov004_020bfa34[i*0x24])

It is not in unmatched/MgBase_StateSetter.cpp's eighty-address universe because
that file bounds ov004's TABLE member pointers and this one is a FIELD of a
.bss record array. Its twenty records draw from ten pairs at
data_ov004_020bc7d8..0x020bc820, eight distinct code words, every adjustment
zero; all eight are routed in unmatched/MgMemory2_FieldPmf.cpp. THE ROM HAS NO
NULL GUARD AT 0x020b52fc, so a record whose pair is still the .bss zero would
branch to zero on the DS; the port's port_mg_call0 returns on code 0, which is
a divergence in the safe direction and is visible in the call-versus-routed
counts.

CORRECTION 3: THE HARD FLOOR IS REAL AND IT IS NOT WHERE THE BLOCK LOOKED.
The block's own correction to itself concludes "0x16b has ONE hard floor, not
two -- the table with no dispatcher". That is wrong twice over, and the second
half matters more than the first.

  data_ov006_021423a8 IS NOT A FLOOR. All three of its code words -- 0x020f58d0,
  0x020f5744 and 0x020f5740 -- have matched src TUs. What it has is no
  DISPATCHER, which is a different thing: the states are reachable in principle
  and nothing in ov006 asks for them. This seat slices all three and routes
  none, and the framework's UNHANDLED line is the detector if a computed
  dispatch ever reaches one.

  THE FLOOR IS ON THE RENDER PATH. _ZN14dScMgMemory2_c9DrawCardsEv is the sixth call vtable
  slot 9 makes (src/actors/dScMgMemory2_c.cpp line 16). ov006/symbols.txt names it
  and sizes it 0xa8, there is no delink block covering it, and no src file
  defines it in either extension. src/func_ov002_020f5b98.c EXISTS and is a
  different function in a different overlay -- the module-residency trap -- so
  a name-shaped lookup would call this class's floor closed. It gets a named
  trap in unmatched/MgMemory2_Faces.cpp that counts itself: 900 entries on a
  900-frame run, one per Render.

  CLOSED, run mg7 lane MEMCARDS. src/actors/dScMgMemory2_c.cpp defines it now,
  bannered NONMATCHING against the codegen floor section 15 measures, and the
  named trap in unmatched/MgMemory2_Faces.cpp is deleted with it. This class's
  floor count is ZERO. Section 15 is the measurement; section 16 is the ledger.

  AND 0x020f6904 IS NOT A FLOOR EITHER, exactly as the block says: the slice
  carries the NONMATCHING src TU, the switch arm is hand-written, and the run
  reports 39 entries into it over 900 frames. The block was right about that
  one; the correction is only to the COUNT of floors, which is one, and to
  WHICH one it is.

READ CORRECTION 3 AS A METHOD RATHER THAN A FACT. Both of this class's "is it a
floor" questions were answered wrong by looking at the STATE tables, which is
where section 4 points a reader, and the real floor is in a vtable body's own
callees. The check that finds it is a delinks join over every callee of every
override, not over the state addresses.

WHAT THE SEAT COST, against section 10's shape:

  item                              curling   0x16b   note
  -------------------------------   -------   -----   -----------------------
  link waves to close                     8       3   41 symbols, then 2,
                                                      then none
  ordinary /alternatename faces          22      29   19 generated, 10 hand
  __thiscall faces                        1       2   BlendModelAnim::SetAnim,
                                                      SysTracker::~SysTracker
  pointer-to-member TUs                  12       7   4 table, 3 field
  host copies for other defects           5       3   two shadow classes and
                                                      the g0/g1/g2 file ids
  named traps standing                    1       1   the render callee
  slice lines                           276     113   the delta only
  registry rows                           1       1

THREE HOST COPIES ARE NOT WALL WORK, AND THAT IS THE COST MODEL'S BLIND SPOT.
None of the three was predictable from the vtable axis, the marker column or
the state tables, and each was found by a different instrument:

  src/func_ov006_020c0a48.c passes three SharedFilePtr file ids by the names
    g0, g1 and g2, which exist in no config. THE LINK found it, as three
    unresolved externals. The ROM loads 0x205, 0x206 and 0x207 out of its own
    literal pool at 0x020c0a9c.
  src/func_ov006_020c1804.cpp draws the model sub-object through a local shadow
    class at TWO sites and stores two light vectors straight at 0x040004c8. A
    RUN found it, as the Y3D chain one class over: Virtual18 got a null matrix
    and Model::Virtual10 read address zero.
  src/func_ov006_020c06dc.cpp does the same at a DIFFERENT slot, and that one
    also unbalances the stack. The ROM's byte +0xc is UpdateVerts and MSVC's
    fourth word is Virtual10, which is __thiscall with one stack parameter and
    so returns with `ret 4`, eating four bytes the caller never pushed. Every
    frame above it shifted by a word and func_ov006_020c07a0's own `ret` jumped
    into the DS heap at its caller's argument. NOTHING IN THE FAULT DUMP NAMED
    IT: the nearest symbol was two frames up.

  THE SHADOW-CLASS TEST, because a sweep that flags every one of them is wrong
  in the expensive direction. src/func_ov006_020c14bc.cpp is in the same slice,
  models the live dScMgBase_c object with a 22-virtual shadow and calls v21(),
  and is CORRECT: that object's vptr is the MOUNTED ROM TABLE, which the fill
  writes by ROM word and therefore leaves in ROM word order. A shadow class
  over a HOST C++ vtable -- Model, ModelAnim, BlendModelAnim, built by
  hal/cxxname_bridge.cpp in MSVC order -- is the one that is wrong. Same
  construct, opposite verdict; the test is which kind of table the object
  carries.

THE BOOT, on the tip, SM64DS_FAULTS_FATAL=1 with nothing switched off:

  900 frames of scene 363, exit 0, clean, no FILL INCOMPLETE line
  slot hits          init 1, behavior 853, render 900, slot 21 x1
  middle base        2(x1) 7(x900) 10(x900) 26(x7196) 33(x1)
  state dispatch     11821 routed to this class's own states, 39 of them into
                     the NONMATCHING 0x020f6904, 0 bodiless wants
  field dispatch     18766 call(s), 18766 routed
  UNHANDLED          0
  state index        +0x53d4 moves from 1 to 2 across the run

WHICH IS THE THING SECTION 10 LEFT UNPROVEN. That section closes on "the
address switch is wired and reports its own call count, and on every run so far
that count is zero ... That is the largest unproven thing this lane leaves."
It is proven now, on a different class: a minigame's own pointer-to-member
state machine dispatches, routes every address it meets, and advances its state
index.

WHAT THIS SECTION DOES NOT KNOW.
  - NO FRAME HAS BEEN LOOKED AT. The runs render -- slot 9 enters 900 times and
    the sub-screen census reports real BG and OBJ VRAM -- but nobody has seen a
    picture, and the render path has a trap in it.
  - THE FRAMEWORK STATE MACHINE NEVER RAN on this scene. Both runs report zero
    calls into _ZN10dMgState_c8SetStateEi and zero framework state dispatches, so none
    of the 22 open rows in runs/mg5/out/fwk/framework_unrouted_22.txt is
    exercised here and none was routed. Routing an address no run touches buys
    no evidence.
  - TOUCH IS UNMEASURED, for section 9's reason. The class ticks without input;
    whether it can leave its first state without a stylus is not known.
14. dScMgPanel_c, id 0x17c, AND THE WALL COLUMN IS LOW BY TWO, run mg6 lane PPP
--------------------------------------------------------------------------------

Worktree C:/tmp/m6p, branch mg6-ppp, base a65c871a3, private build
C:/tmp/m6p/build/port with CMAKE_HOME_DIRECTORY verified C:/tmp/m6p/port.
Baseline gate on that tree: 6308/11269 (56.0%), battery ALL GREEN, skips [],
vtablerows reconstruction EXACT 29/29, curling canary 32557/32557/0.

THE CLASS. dScMgPanel_c, and the name comes out of the ROM's own type_info
rather than out of a src spelling, which is a chain no earlier lane in this
file used and which every later lane should prefer:

    relocs.txt  from:0x0213e248 kind:load to:0x0213dd40 module:overlay(6)
    relocs.txt  from:0x0213dd44 kind:load to:0x0213dd84 module:overlay(6)

The word IMMEDIATELY BEFORE a class's vtable is its type_info, and that
record's second word is the name pointer. 0x0213dd84 reads "12dScMgPanel_c" in
extracted/overlays/overlay_0006.bin. The src spelling (_ZTV12dScMgPanel_c in
src/d_s_mg_panel.c) agrees and is the weaker witness, because
a per-TU placeholder can be wrong and a relocation cannot.

  SpawnInfo 0x0213dc64   factory 0x02107858   vtable 0x0213e24c   width 36
  overrides 6 (slots 0, 6, 9, 16, 17, 18)   markers 5   nosrc 0
  .init ctor __sinit_ov006_02131fa4, whose copied .data span 0x0213dc4c..
  0x0213dd2c brackets the SpawnInfo and does not copy it

Section 3's row was right on every column and, exactly as section 10 says of
curling's, did not predict the cost.

ONE ACTOR ID, TWO PLAYER TITLES, AND THE SELECTOR IS A MODE BYTE ON ONE CLASS.
The doubled-id scan over the whole image finds thirty records and exactly one
for 0x17c; the arm9 spawn table at 0x02090e54 holds one row for it, in id order
between 0x17b's and 0x17d's. So "Puzzle Panel" and "Puzzle Panic" are not two
ids and not two classes. What the ROM has is a gate on VTABLE SLOT 35 --
dScMgBase_c's _ZN11dScMgBase_c9Virtual8CEv, `return (this[2] & 0xff) != 0` -- read at
FOUR sites, and the way to find all four is the reusable part. An earlier
version of this paragraph said "two sites" and named func_ov006_021057f0 and
_02106168; review found it low. Scan the overlay image for `ldr Rd,[Rn,#0x8c]`
WITH Rn NEITHER pc NOR sp -- that filter is the whole trick, because the same
encoding with Rn = pc is an ordinary literal-pool load, and an unfiltered scan
returns 92 hits in ov006 against 14 real ones. This class's four:

    0x02105480  func_ov006_021053a8   NO SRC, NO DELINK -- never entered
    0x021057fc  func_ov006_021057f0   compiled; skips the whole 02142820 state
                                      dispatch when the gate answers nonzero
    0x021061ec  func_ov006_02106168   NO SRC, NO DELINK -- trapped; the site
                                      that picks the board layout from
                                      data_ov006_0213dd4c or _0213dd58
    0x021063b0  func_ov006_021063a0   compiled; two callers in all of ov006,
                                      slot 0 (0x0210779c) and slot 18
                                      (0x02107294)

Only TWO of the four are in a body the port compiles. func_ov006_02106a08 is
NOT a fifth: its word at 0x02106a0c is e59f208c, `ldr r2,[pc,#0x8c]`, fetching
the constant 0x4e30 -- the exact false positive the Rn filter exists to drop,
recorded here so nobody re-finds it as a site.

  TWO CORRECTIONS FROM run mg7 lane L380, both from reading the body rather
  than its call sites. THREE of the four are in a body the port compiles now,
  not two: src/func_ov006_02106168.cpp is MATCHED. AND THE PAIR OF TABLES NAMED
  IN THE 0x021061ec ROW IS WRONG. data_ov006_0213dd4c and _0213dd58 are loaded
  UNCONDITIONALLY, both indexed by [this+0x4cbc]-4, and they hold the panel x
  and y positions the body shifts left twelve into +0x4cc4+i*4 and +0x4d54+i*4.
  They have nothing to do with the mode. The gate picks between the FACE SETS
  data_ov006_0213ded0 when it answers nonzero and data_ov006_0213e070 when it
  answers zero. Only func_ov006_021053a8 is still bodiless, and it is never
  entered.

WHICH VALUE IS WHICH TITLE IS NOT DERIVED and this lane does not guess it; on
the port's direct scene boot the byte reads 0.

THE WALL COLUMN IS LOW BY TWO FOR THIS CLASS AND THE REASON GENERALISES.
Section 4 costs the wall at "five dispatching TUs to host-copy" per minigame.
This class has TEN, because its state machine is TWO LEVELS DEEP:

    level 1  data_ov006_02142888  8 slots  arity 0  <- slot 6, the Behavior
    level 2  data_ov006_02142840  4 slots  arity 1  <- five level-1 states
             data_ov006_02142820  4 slots  arity 0
             data_ov006_02142860  5 slots  arity 0
             data_ov006_021427ec  3 slots  arity 0
             data_ov006_021427bc  3 slots  arity 1

Five of the eight states the Behavior dispatches are THEMSELVES dispatchers of
the second table. A lane that host-copied the Behavior alone would link, boot
and jump to a raw DS address on the first frame the outer state advanced. THE
COST QUESTION A FAN-OUT LANE SHOULD ASK IS NOT "how many TUs name the table"
BUT "how deep is the machine", and the cheap way to ask it is to run stategen
and then check whether any of the state ADDRESSES it prints is also in the
dispatcher list.

TWO OF THE TEN ARE THE THIRD SHAPE, AND ONE OF THEM IS A VTABLE SLOT. Section
4's FLW amendment names func_ov006_020c3d18 as the one TU in the tree that
open-codes the ARM Itanium sequence in plain ints and says treat twelve as a
floor rather than a census. It was a floor. This class adds two:

    src/actors/dScMgPanel_c.cpp   table 02142888, arity 0, VTABLE SLOT 6
    src/actors/dScMgPanel_c.cpp     table 02142840, arity 1

The first is the more serious finding, because it is not a state body a lane
might overlook -- it is the Behavior, the slot every seat wires by name. A lane
that ran both prescribed detectors over this class would have seated
src/actors/dScMgPanel_c.cpp straight into the face array and read clean on the
link, on the `::*` sweep and on the compile. The ROM at 0x02107358 carries the
five-instruction sequence one for one with what the src spells.

    THE PRACTICAL RULE THIS ADDS: before wiring slot 6 by name, read the src.
    A Behavior that indexes an EXTERNAL array with an eight-byte stride and
    then does its own `>> 1` / `& 1` decode is the wall wearing plain ints,
    whatever its declarations say.

SLOT 35 WAS A LIVE HOST-ABI DEFECT AND NOTHING HAD EVER DISPATCHED IT.
hal/scene_mg.cpp's mb_v35 read

    static int __fastcall mb_v35(void *, void *)
    { MG_SLOT(35); _ZN11dScMgBase_c9Virtual8CEv(); return 0; }

against a declaration of `void _ZN11dScMgBase_c9Virtual8CEv(void);`, while
src/_ZN11dScMgBase_c9Virtual8CEv.cpp defines `int _ZN11dScMgBase_c9Virtual8CEv(int *r0) { return
(r0[2] & 0xff) != 0; }`. Both halves are wrong on the host: the callee read the
stack in place of `this`, and the thunk returned a constant 0 instead of the
answer. It is the family lane BASESET's slot-18/19 repair and lane FDR2's
Scene::BeforeBehavior repair belong to, and it survived six seated classes
because none of them dispatches slot 35. THIS ONE DOES. FIXED in
hal/scene_mg.cpp; the curling canary reproduces 32557/32557/0 across the
repair, which is the check that says the fix touched nobody else.

  HOW OFTEN IT FIRES IS MEASURED, AND IT IS NOT "every frame". This section
  first said the class dispatches slot 35 every frame through
  func_ov006_021057f0. The run says ONCE in 1200 frames, and the arithmetic
  pins the caller without instrumenting anything: func_ov006_021063a0 is
  reached only from slot 0 and slot 18, the run reports init 1 and state-reset
  0, and the slot-35 counter reads exactly 1 -- so the single dispatch is slot
  0 -> 021063a0 on the INIT PATH. func_ov006_021057f0's only caller is
  func_ov006_02106eb8, state slot 5 of the Behavior's table, and the class
  settles in its top-level bodiless state before that state comes round again,
  so 021057f0 never runs at all on an unattended boot.

  THE REPAIR IS NO LESS NECESSARY AND ITS REASON MOVES, which is the useful
  correction rather than the number. A once-per-boot gate that decides WHICH OF
  TWO BOARD LAYOUTS InitResources builds is a worse thing to get wrong than a
  per-frame predicate: it is unobservable in a slot-hit census, it fires before
  any state runs, and a constant 0 silently picks a layout. A fan-out lane
  should not read a low dispatch count as a low-stakes seat.

THE TWO STATE FLOORS ARE ONE STORY, AND IT IS THE MOST USEFUL THING THIS LANE
FOUND ABOUT WHAT "SEATED" MEANS. The class has three bodies with a config
symbol, no delink block and no src file:

    func_ov006_02106168  0x238, the PANEL LAYOUT BUILDER. Not a state --
        vtable slot 0 (InitResources) and slot 18 (state reset) both call it
        directly. It is the sole writer of the object's two panel arrays,
        karr at +0x4f1e and parr at +0x4f42 (0x0210620c strb [r0,#0xf1e] and
        0x02106218 strb [r0,#0xf42], off r0 = self+0x4000).
    func_ov006_02106ca4  slot 6 of data_ov006_02142888, the Behavior's OWN
        table -- the ROUND-END state.
    func_ov006_021053a8  slot 2 of data_ov006_02142820, a sub-state.

func_ov006_021067a4 ZEROES both arrays immediately before the layout builder
runs, and src/actors/dScMgPanel_c.cpp declares the round over when every cell of
karr equals the same cell of parr. So with the builder trapped, both arrays
stay all-zero, the solved test passes without a single move, and the class
advances to the round-end state -- which is the second floor. ONE MISSING BODY
MANUFACTURES THE ENTRY INTO THE OTHER. A run reports it exactly:
951 asks for 0x02106ca4 in 1200 frames, all of them after the class settled at
state index 6, and zero asks for 0x021053a8 because the class never gets far
enough to need it.

    THE READING FOR A LATER LANE: a large floor count is not necessarily a
    large amount of missing game. Here it is ONE dead end, entered once and
    re-asked every frame, and the fix for both is one decomp job --
    func_ov006_02106168 wants a delink block and a src TU.

    IT GOT BOTH, run mg7 lane L380, AND SO DID THE OTHER FLOOR:

      func_ov006_02106168  src/func_ov006_02106168.cpp  MATCHED, delink block
                           .text start:0x02106168 end:0x021063a0
      func_ov006_02106ca4  src/func_ov006_02106ca4.c    MATCHED, delink block
                           .text start:0x02106ca4 end:0x02106eb8

    The prediction above held exactly: one decomp job on the layout builder,
    and the round-end state stopped being reachable as a dead end.
    func_ov006_021053a8 REMAINS and is this class's only floor now.
    THE 951 IN THE 1200-FRAME ROW BELOW IS RETIRED MEASUREMENT, not a standing
    number: 0x02106ca4 is a routed state now and can only appear in `routed`.

WHAT IT COST, against section 10's eight-wave shape:

    item                              predicted   measured
    -------------------------------   ---------   --------------------------
    link waves                                8   1, plus one alias row
    unresolved externals                     36   1  (_ZTV12dScMgPanel_c)
    ov004 delta over what is seated           -   0
    dispatching TUs to host-copy              5   10
    state entries to route                   25   27 across six tables
    of those with no matched body             1   2
    ordinary slice lines                      -   53
    named traps stood                         -   1  (func_ov006_02106168)
    registry rows                             1   1
    per-source -D rows                        -   1  (VT on slot 17)

  TWO ROWS OF THAT TABLE MOVED IN run mg7 lane L380 and the mg6 numbers are
  kept above as the measurement they were. "named traps stood" is now ZERO --
  the trap went with its body's arrival and unmatched/MgPanel_Faces.cpp is only
  the vtable face. "of those with no matched body" is now 1 rather than 2,
  func_ov006_021053a8 alone. "dispatching TUs to host-copy" is 11 rather than
  10: func_ov006_02106ca4 turned out to dispatch data_ov006_02142840 as well as
  being slot 6 of the Behavior's own table, which is a host copy the mg6 count
  could not see because the body it lives in had no source.

ONE WAVE, NOT EIGHT, AND THAT IS THE FAN-OUT'S DIVIDEND RATHER THAN THIS
LANE'S SKILL. Section 10's eight waves were the framework half being paid for
the first time. Every one of this class's ov004 blocks was already linked, and
the only symbol the first link asked for was the class vtable's Itanium name,
which is the ordinary /alternatename row section 4 counts twenty-two of. A
seventh-class lane should budget ONE wave plus its own alias row, and should
treat a second wave as evidence it missed a dispatcher rather than as normal.

LINKAGE, measured on both ends on this tree:

    6308 / 11269 (56.0%)  ->  6361 / 11269 (56.4%)     +53

  by module, the only row that moved:

    module   total  linked  unlinked   linked
    ov006     1854     467      1387    25.2%     (was 414, 22.3%)

  +53 IS THE SLICE LINE COUNT EXACTLY, all 53 of them, and that is worth
  stating because it settles a question a later lane will ask. ONE of the 53 is
  bannered NONMATCHING (src/actors/dScMgPanel_c.cpp) and it still counts:
  port/tools/linkage.py's matched_index() walks src/ with os.walk, keys each
  .c/.cpp by its filename stem and NEVER OPENS THE FILE, so no banner is ever
  read and a bannered TU is in the universe like any other. An earlier version
  of port/slice_ppp.txt asserted the opposite and is corrected there. THE RULE:
  every slice line moves the headline by one, banner or no banner -- the banner
  is a statement about byte-matching and linkage is a statement about what the
  linker kept, and the two never meet.

  arm9 1876, ov004 209, ov001 11, ov002 1129 and itcm 6 are unchanged on both
  ends, which is section 5's "the arm9 half comes back for free" and section
  2's "paid once, for all thirty" both holding: this class added no ov004 line
  at all.

THE BOOT. SM64DS_SCENE=380 with SM64DS_FAULTS_FATAL=1 and
SM64DS_SCENE_NO_RENDER=1, at 60 and at 1200 frames, both CLEAN.

    60 frames    init 1, behavior 13, slot35 gate 1
                 39 routed, 0 unknown, 0 floor asks
    1200 frames  init 1, behavior 1153, slot35 gate 1
                 1557 routed, 0 unknown, 951 floor asks (all 0x02106ca4)
                 state index 6 at exit, mode byte 0

  Slot 7 is entered 1200 times and slot 6 only 1153, so the framework's own
  BeforeBehavior gates the first 47 frames; that is the ROM's, not a defect.
  ZERO UNHANDLED ADDRESSES ON BOTH RUNS, which is what says the ten host copies
  are the whole set for this class rather than the set a link happened to name.

THE FRAMEWORK CENSUS IS ZERO AND THE ROUTING WAS THEREFORE NOT TAKEN.
runs/mg5/out/fwk/framework_unrouted_22.txt lists twenty-two open framework
holes, and the rule is to route what fires. On scene 380 NOTHING fires:
MgBase_StateSetter reports 0 calls into _ZN10dMgState_c8SetStateEi, "framework message
indices asked for: none", and the framework switch sees 1 call with 0 UNHANDLED
addresses. Routing any of the twenty-two from this lane would have been wiring
with no witness.

  READ THAT AS A LOWER BOUND, NOT A RESULT. The census is taken on a run that
  dead-ends in a decomp gap at state 6, so it says what an unattended boot
  reaches and not what the class reaches. The day func_ov006_02106168 is
  decompiled, the census is worth re-taking before anyone concludes this class
  never uses the framework's state machine.

  THAT DAY IS run mg7 lane L380. The gap at state 6 is closed and the board is
  dealt, so the dead-end half of the caveat no longer applies: an mg7 boot gets
  past state 6 and its slot-35 census is no longer 1. THE LOWER-BOUND HALF
  STILL BINDS: no framework re-census on a PLAYER-DRIVEN run has been taken,
  and nothing here says what this class reaches with touch.

WHAT THIS SECTION DOES NOT KNOW.
  - NO FRAME HAS BEEN RENDERED. Every run was SM64DS_SCENE_NO_RENDER=1 and the
    render slot count is 0 on both. Section 9's note that nobody has looked at
    a frame stands for this class too.
  - TOUCH IS UNMEASURED, and for this class it is the live question rather than
    a formality: the board is a touch panel, the mode gate reads 0, and the
    class reaches its round-end state without a single input. Whether it would
    behave differently with touch is not something a headless run can say.
  - WHICH MODE BYTE IS WHICH TITLE. Both readers of slot 35 are identified and
    the byte reads 0 on the port's direct boot. Nothing here says what sets it
    or what the other value plays like.

15. THE CARD DRAW, AND THE FLOOR THAT WAS THE WHOLE MINIGAME, run mg7 lane
    MEMCARDS
--------------------------------------------------------------------------------

Worktree C:/tmp/m7c, branch mg7-memcards, base 2a1ecc015, private build
C:/tmp/m7c/build/port with CMAKE_HOME_DIRECTORY verified C:/tmp/m7c/port.
Baseline on that tree: scene 363 boots clean at 300 frames under
SM64DS_FAULTS_FATAL=1 before a line was edited, and clean at 120, 300, 600, 900
and 1500 frames once the card census below was added and while the card draw was
still trapped -- 0 UNHANDLED addresses on every one of them, and the floor trap
firing exactly once per render frame. No battery was run on the base commit:
2a1ecc015 is the merged mg6 tip and the merge gate already validated it, so the
regression evidence here is the battery on the tip plus the linkage headline
measured on BOTH ends by two rebuilds of this same tree.

SECTION 13 CLOSED ON "NO FRAME HAS BEEN LOOKED AT ... AND THE RENDER PATH HAS A
TRAP IN IT". Somebody looked. Memory Master reached the deal and dealt sixteen
cards onto an empty green table: no cards in Luigi's hands, no card spots on the
touch screen, and every census line in the seat reading exactly as green as it
had read on a run where the deal never happened.

BOTH HALVES OF THAT ARE ONE BODY, and it is section 13's own floor.

  _ZN14dScMgMemory2_c9DrawCardsEv, ov006, 0xa8, forty instructions plus two pool words. It
  is the sixth call vtable slot 9 (Render) makes, and it is the ONLY code in
  dScMgMemory2_c that puts a card pixel anywhere. Nothing else in the class
  draws one, on either screen, in any state. There was never a second gap to
  find: the hand and the table are the same twenty records and the same loop.

WHAT IT DOES, read out of extracted/overlays/overlay_0006.bin at base
0x020bfec0 (alignment checked first on _ZN14dScMgMemory2_c6RenderEv, whose disassembly
reproduces src/actors/dScMgMemory2_c.cpp call for call):

    p = c; for (i = 0; i < 0x14; i++, p += 0x18)
        if (p[+0x51ba])
            Hud_RenderSprite(
                data_ov006_02142490[ data_ov006_0213d45c[ p[+0x51b8]*5
                                                        + p[+0x51bd] ] ],
                *(int*)(p+0x51a8) >> 12, *(int*)(p+0x51ac) >> 12,
                -1, *(int*)(c+0x53d4) != 2);

  Twenty records at +0x51a8, stride 0x18. Per record: +0x00/+0x04 the 20.12
  screen x/y, +0x10 the card identity, +0x12 the in-play gate this loop reads,
  +0x13 the gate _ZN14dScMgMemory2_c11UpdateCardsEv's per-card dispatch reads, +0x14 the
  per-card state it dispatches ON, +0x15 the flip frame.

  data_ov006_0213d45c is ELEVEN ROWS OF FIVE HALFWORDS. Row = card identity,
  column = flip frame. Row 0 is all zero and rows 1..10 read
  {0, 1, 2, 2k+2, 2k+1}, so ten card types over sprite indices 0..0x16, which
  is exactly the twenty-three words __sinit_ov006_021314e4 copies from
  data_ov006_02133810 into data_ov006_02142490. Ten types dealt twice is twenty
  cards, and src/actors/dScMgMemory2_c.cpp deals 16, 18 or 20 of them on the
  difficulty byte at +0x540a.

  AN EARLIER VERSION OF THIS PARAGRAPH SAID TWELVE ROWS AND CALLED ROW 11 ALL
  ZERO, AND BOTH HALVES WERE AN OVER-READ. It came from dividing the 0x78 to
  the next symbol by ten, which is exactly the trap a span check invites when
  the span ends in padding. Rows 0..10 are 110 bytes and end at 0x0213d4ca;
  what follows is six pad bytes and then a RELOCATED POINTER at 0x0213d4d0 ->
  0x0213d350 (ov006 relocs.txt, from:0x0213d4d0), and only then the vtable at
  0x0213d4d4. There is no row 11, and the bytes a row 12 would occupy are a
  live pointer rather than zero.

  NOTHING DEPENDED ON THE WRONG NUMBER, which is why it survived a review. The
  ROM indexes this table as identity*5 + frame with no bound, and the seated C
  declares it unsized and does the same. _ZN14dScMgMemory2_c12ShuffleCardsEv caps the identity
  at 10 and _ZN14dScMgMemory2_c10CardFlipUpEi clamps the frame at 4, so the highest index the
  game can produce is 54 -- 0x0213d4c8, the last halfword of row 10, one short
  of the pad. The row count was only ever a sentence about the table, and the
  sentence was wrong.

  BOTH TABLES HAVE EXACTLY ONE LOAD RELOCATION OUTSIDE THAT CONSTRUCTOR AND IT
  IS THIS FUNCTION'S OWN LITERAL POOL (from:0x020f5c38 and from:0x020f5c3c).
  So nothing else in ov006 reads either one, which is the second witness that
  this is the only card draw and not one of several.

  0x020af68c is Hud_RenderSprite in ov004's symbols.txt, so the class draws its
  cards through the same HUD sprite seam eight other ov006 minigames use, and
  the fifth argument is the state index at +0x53d4 as a flag: every state but 2
  passes 1.

  AND THAT SEAM GIVES THE THIRD WITNESS, the cheapest of the three and the one
  to reach for next time. ov006's relocs.txt has THIRTY-TWO arm_call
  relocations to 0x020af68c and exactly TWO of them are inside this class's
  code block: 0x020f5c18, which is this function, and 0x020f7ec8, which is
  inside _ZN18dMgMCarloCardObj_c6RenderEv -- a body that reads +0x2d/+0x2e of a different
  object through data_ov006_0213d600 and data_ov006_0214250c, is in no slice
  of this class, and belongs to the next class in the overlay. So the count of
  card draws in dScMgMemory2_c is one, measured off the relocation set rather
  than off a reading of the class.

THE MODULE-RESIDENCY TRAP IS REAL AND IT ALMOST CLOSED THIS FLOOR TWICE.
src/func_ov002_020f5b98.c EXISTS, is thirteen instructions, takes a
`struct Ent *`, and belongs to ov002. Section 13 warned about it; the warning
earned its place. The new TU is src/actors/dScMgMemory2_c.cpp and the slice comment,
the Faces comment and this paragraph all say the ov002 file is not a substitute.

WHAT THE SYMPTOM LOOKED LIKE IN NUMBERS, which is the part worth reusing. The
seat now prints the card records, and on the UNFIXED tree at 600 frames they
read

    16 of 20 record(s) live, 16 inside the screen box, x 80..176 y 24..168
    sub OAM: 125 parked, 3 placed

-- a whole 4x4 grid laid out at real screen coordinates with three sprites in
OAM. THAT PAIR OF LINES IS THE BUG, and no line the seat printed before this
lane could have shown it: slot hits, state dispatch counts, field dispatch
counts and UNHANDLED were all identical on a run that renders the cards and a
run that renders none of them. A census that measures only dispatch cannot see
a missing draw.

AFTER, same frames, same environment: 35 placed, which is 3 + 32, which is
sixteen cards at two OAM entries each. The card sprite is 32 by 64 in two
32-by-32 cells, the bottom 48 rows the card and the top 16 a soft shadow, so
every row but the first has its shadow covered by the card above it.

TOUCH IS MEASURED NOW, AND SECTIONS 13 AND 14 BOTH LEFT IT OPEN. The per-card
state machine is _ZN14dScMgMemory2_c11UpdateCardsEv over data_ov006_02142408, and slot 2 of
that table is _ZN14dScMgMemory2_c10CardSelectEi, which compares data_020a0dea/deb against a
record's own x/y in a +-0x10 by +-0x16 box. At 700 frames all sixteen cards sit
in state 2 with +0x5406 = 0: the class is waiting on the stylus, unaided.
SM64DS_TOUCH_PROBE=600-604:80:24 pokes the top-left slot and record 12 goes to
state 4 at flip frame 4, +0x5406 reads 1, +0x53f0 reads 12, and the frame shows
that card face up. THE MINIGAME IS PLAYABLE, not merely bootable.

data_ov006_021423a8 IS STILL NOT REACHED, and this lane can say it from runs
rather than from a relocation count. Section 13 left the three-state table with
no dispatcher and named the framework's UNHANDLED line as the detector. Scene
363 at 120, 300, 600, 900, 1500 and 700-with-touch frames reports 0 UNHANDLED
addresses on every run, including every run that passes through the deal and
into state 2, and including the run where a stylus turned a card over. The
table is unreachable as shipped and it had nothing to do with this bug.

THE NEW TU IS NONMATCHING, AND IT IS A COLOURING AND SCHEDULING FLOOR RATHER
THAN A LOGIC ONE. This is worth stating precisely because the divergence count
reads high:

  - Only mwccarm 1.2/base, 1.2/sp2, 1.2/sp2p3 and 2004/b56 produce a 0xa8 body
    at all. All twenty-one other installed builds (1.2/sp3, 1.2/sp4, every 2.0
    service pack, every dsi) come out a different SIZE, so the compiler tier is
    not in question.
  - On all four, the candidate compiles to FORTY INSTRUCTIONS with an IDENTICAL
    MNEMONIC MULTISET to the ROM's -- add x6, ldr x6, mov x7, ldrb x3, cmp x3,
    asr x2, and one each of mla, lsl, ldrh, movne, mvn, str, sub, push, pop,
    bx, beq, blt, bl. Nothing is inserted, nothing is deleted, and the only
    opcode-shape difference in the whole body is the bl's target, which is the
    wildcarded relocation. Twenty-four words differ, every one of them by a
    register number or a schedule slot.
  - TWO SHAPES REACH 23 AND NEITHER IS SHIPPED, for two different reasons.
    Writing the fifth argument as the bare comparison costs a word less but
    compiles the flag as a movne/moveq pair, where the ROM emits an
    unconditional mov of a hoisted zero and then a movne of a hoisted one --
    which is an if-statement.
    THE JULY NEAR-MISS ROW ALSO REACHES 23 AND DOES KEEP THE CONSTRUCT, so the
    trade is not "a word for the construct" and this paragraph used to imply it
    was. Its cost is the declaration: nearmiss/db.jsonl's row for this address
    declares an Obj with a twenty-element recs[] array, then walks the loop by
    striding the Obj* itself by 0x18 and reading recs[0] every time. The array
    it declares is never indexed and the type it advances is not 0x18 wide, so
    the layout the file states and the layout it walks are different fictions.
    A word closer to the bytes and a source a reader has to disbelieve is the
    wrong trade for a file that will be read as the ROM's logic. The row stays
    in the DB, and it is the right seed for anyone who takes another run at
    this address.
  - The residue is one rotation. The ROM colours (i, base, -1, table1) into
    r4..r7 with the constant 0 in sb; every candidate colours (base, -1,
    table1, 0) into r4..r7 with i in sb -- the same five values in the same
    relative order with the loop counter moved from the head of the list to the
    tail. The scratch pair swaps with it: the ROM computes the flag into r0 and
    the state into r1 and keeps the flag live across the index computation,
    which is what pushes the flip frame onto lr; the candidate computes the
    state into r0, stores the flag to [sp] immediately and never needs lr.
  - What was tried: about thirty source shapes by hand (declaration order both
    ways, the flag as an if, an if/else, a ternary and an inline comparison,
    the index and the coordinates as locals, for/while/do loop forms, char*,
    unsigned char*, void* and struct-typed record walks, int/unsigned/long
    counters), ten compiler builds crossed with twelve optimisation settings,
    and 30,452 decomp-permuter iterations over three runs from two different
    seeds (best score 440 against a base of 1395, never 0).
    The floor is 23 differing words for the closest shape, 24 for the one
    shipped, and it does not move.
  - config/match_attempts.jsonl already carries a near_miss row for
    ov006:0x020f5b98 at 23 divergences from a fable escalation batch in July,
    which is the same floor reached independently.

  So the banner is the one src/actors/dScMgMemory2_c.cpp carries, in the same class
  and at a higher divergence count, and the rule it stands on is the one
  tools/nonmatching.py states: the logic is verified right and only the codegen
  floor remains. tools/nonmatching.py's own --max-div gate REFUSES this entry at
  its default, because its metric is a text edit distance over the disassembly
  and a scheduling move costs it an insert plus a delete; the multiset check
  above is the measurement that says what the edit distance cannot.

WHAT THIS SECTION DOES NOT KNOW.
  - WHETHER THE PICTURE IS RIGHT, only that there is one. The cards, the deal
    animation, the flip frames and the turned-over face all render and the
    numbers behind them are the ROM's, but nobody has held this next to a DS.
    The soft shadow above the top row in particular is asserted to be the top
    16 rows of the card's own 32-by-64 sprite and not an artefact, on the
    strength of the OAM count and the fact that it belongs to the top row --
    which is evidence, not a verdict.
  - WHAT THE OTHER TWO DIFFICULTIES LOOK LIKE. +0x540a reads 0 on a direct
    scene boot, which is the sixteen-card board. The eighteen- and twenty-card
    boards are in _ZN14dScMgMemory2_c12ShuffleCardsEv and untested here.
  - WHETHER A MATCHED PAIR ENDS THE ROUND. The touch probe turns one card over.
    _ZN14dScMgMemory2_c9JudgePairEv is the comparison and it needs two picks; nothing here
    drives a second one.

CROSS-REF, added at the mg10 merge: the SECOND card draw is closed too. Run
mg10 lane F362 decompiled _ZN13dScMgMemory_c9DrawCardsEv (dScMgMemory1_c, scene 362,
Memory Match) as this section's sibling body with four constants adjusted --
the ROM's two bodies are the same forty instructions and differ in five words,
one of which is the shared bl's PC-relative encoding (same target 0x020af68c).
src/minigames/d_s_mg_memory.cpp's banner carries the table; its review record is the
run's F362.md. The tap proof there is the pair to this section's deal: record
flips on both ends, cards draw only on the seated end.
--------------------------------------------------------------------------------

Five lane branches merged in scene order onto port-mount-noseat-cluster at base
2a1ecc015. Each lane's own measurement lives in its branch notes, and for
MEMCARDS in section 15 above. This section is the LEDGER ONLY: a later lane
should be able to read one table and know which of this family's floors are
gone and which are still standing, without re-deriving any of it.

MATCH STATUS HERE IS THE BYTE GATE'S, NOT A BANNER'S. Every row marked MATCHED
was re-run through tools/match.py on the merged tree, strict relocs on, against
extracted/overlays/overlay_0006.bin at base 0x020bfec0 (the ov004 row against
overlay_0004.bin at base 0x020ad660). All seven answer 2004/b56 MATCH. Rows
marked NONMATCHING carry the banner their lane wrote.

  scene 363, dScMgMemory2_c (0x16b), lane MEMCARDS
    CLOSED   _ZN14dScMgMemory2_c9DrawCardsEv  src/actors/dScMgMemory2_c.cpp    NONMATCHING
             The render-path floor of section 13's CORRECTION 3: the card draw,
             sixth call of vtable slot 9. Its named trap in
             unmatched/MgMemory2_Faces.cpp is deleted.
    REMAINS  nothing. This class's floor count is ZERO.

  scene 369, dScMgPachinko2_c, lane L369
    CLOSED   func_ov006_020ff8c8  src/func_ov006_020ff8c8.c    MATCHED
    CLOSED   func_ov006_020ffb54  src/func_ov006_020ffb54.c    MATCHED
    CLOSED   func_ov006_02102274  src/func_ov006_02102274.c    MATCHED
    CLOSED   func_ov006_02102fe8  src/func_ov006_02102fe8.cpp    NONMATCHING
    CLOSED   func_ov006_0210076c  src/func_ov006_0210076c.c    NONMATCHING
             The per-entry follow-up the fifteen-state dispatcher calls after
             every dispatch it makes. unmatched/MgPachinko2_Traps.cpp existed
             for this one symbol and is DELETED rather than emptied: a trap
             standing beside a real definition is a duplicate symbol, not a
             safety net.
    ALSO     func_ov004_020b1710  src/func_ov004_020b1710.c    MATCHED
             ov004, and the trap line in hal/scene_mg_faces.cpp goes with it.
    REMAINS  nothing bodiless among this class's 28 states. The scene line
             prints `missing` as proof now rather than as a warning.

  scene 370, dScMgBomroom_c, lane L370
    CLOSED   func_ov006_020d7c4c  src/func_ov006_020d7c4c.cpp    MATCHED
    CLOSED   func_ov006_020d8408  src/func_ov006_020d8408.c    NONMATCHING
             unmatched/MgBomroom_Traps.cpp held the trap for the second and is
             DELETED. The largest pointer-to-member bill any seated class has
             run up now stands with seven host copies and no trap.
    REMAINS  nothing.
    ONE GAP THIS MERGE FOUND AND DID NOT FIX. func_ov006_020d7c4c is byte-
             matched, re-confirmed by the byte gate on the merged tree, but it
             is the ONLY matched body in this wave with no delink block in
             config/arm9/overlays/ov006/delinks.txt. L369 and L380 both added a
             block for every matched body they landed. Left exactly as the lane
             wrote it, recorded here so it is not re-derived as a mystery.

  scene 375, dScMgCurling2_c, lane L375
    CLOSED   _ZN15dScMgCurling2_c10DragUpdateEv  src/actors/dScMgCurling2_c.cpp    NONMATCHING
    CLOSED   func_ov006_020e513c  src/func_ov006_020e513c.c    NONMATCHING
    CLOSED   func_ov006_020e5450  src/func_ov006_020e5450.c    NONMATCHING
             unmatched/MgCurling2_Traps.cpp stood in for the middle two and is
             DELETED. Its counters are replaced by a per-slot census taken at
             the DISPATCH SITE rather than inside a ROM body, which is the
             better shape and the one a later lane should copy: a census at the
             dispatch site survives its body being decompiled, a counter inside
             the body has to be deleted to make room for it.
    REMAINS  nothing.
    NOT THE SAME CLASS AS SECTION 4's FLOOR. func_ov006_020e1854, the hard
             floor section 4 records for dScMgCurling_c, is UNTOUCHED by this
             lane and still stands. The curling canary on scene 374 is the
             check that says this lane did not reach across into it.

  scene 380, dScMgPanel_c (0x17c), lane L380
    CLOSED   func_ov006_02106168  src/func_ov006_02106168.cpp  MATCHED
             The layout picker slot 0 and slot 18 both call directly, and the
             sole writer of the two panel arrays at +0x4f1e and +0x4f42.
    CLOSED   func_ov006_02106ca4  src/func_ov006_02106ca4.c    MATCHED
             Slot 6 of the Behavior's own table, and it dispatches
             data_ov006_02142840 as well -- an ELEVENTH host copy, not a tenth.
             unmatched/MgPanel_Faces.cpp is now only the vtable face.
    REMAINS  func_ov006_021053a8, slot 2 of data_ov006_02142820. A sub-state
             that costs one tick and carries on, and this class's only floor.

THE ZEROS THAT ARE HONEST AND THE ZEROS THAT ARE NOT. Several numbers this
family reports read zero for a reason that is not "nothing is missing", and no
later lane should bank any of them as coverage:

  - func_ov006_021053a8's zero asks, measured zero on every run so far, mg6 and
    mg7 alike. The class has never been driven far enough by an unattended boot
    to need that sub-state. The zero says the floor is not in the way of a
    BOOT. It does not say the floor is unreachable in play, and the sub-state
    is the one place on this class where that distinction still costs
    something.
  - The framework census on 380. Section 14's LOWER BOUND note keeps half its
    force: the run no longer dead-ends in a decomp gap, but it is still not a
    player-driven run, and twenty-two open framework holes stay unrouted
    because nothing on this scene fires them.
  - Every render and touch zero in sections 14, 15 and here. Nobody has held
    any of these five next to a DS. A headless run can say the numbers behind
    a picture are the ROM's; it cannot say the picture is right.

17. WHERE MEMORY MASTER'S CARD COUNT COMES FROM, run mg8 lane MMD
--------------------------------------------------------------------------------

Worktree C:/tmp/m8m, branch mg8-mmdiff, base e79a92c2b, private build
C:/tmp/m8m/build/port with CMAKE_HOME_DIRECTORY verified C:/tmp/m8m/port.

THE REPORT WAS "it should go up slowly in difficulty but it always starts at 16
cards already". SIXTEEN IS THE ROM'S OWN FIRST BOARD and the port's ramp works;
what the port had wrong is WHICH SAVE SLOT the ramp is kept in.

THE RULE, DISASSEMBLED. _ZN14dScMgMemory2_c15SetupDifficultyEv is the whole of the decision and it
reads exactly one int:

    add   r1, r0, #0x5000        \  the two defaults, written first and
    mov   r2, #0                  |  overwritten by whichever compare hits
    strb  r2, [r1, #0x40a]        |  +0x540a = 0
    add   r2, r0, #0x5300         |
    mov   r3, #8                  |
    strh  r3, [r2, #0xea]        /   +0x53ea = 8      -> SIXTEEN cards
    ldr   r0, [r0, #0xb4]            THE ONLY INPUT
    cmp   r0, #0xa
    movge r0, #2  / strbge r0, [r1, #0x40a]
    movge r0, #0xa/ strhge r0, [r2, #0xea]   >= 10    -> TWENTY cards
    bxge  lr
    cmp   r0, #5
    movge r0, #1  / strbge r0, [r1, #0x40a]
    movge r0, #9  / strhge r0, [r2, #0xea]   >=  5    -> EIGHTEEN cards

+0x53ea is pairs-needed and +0x540a indexes the two grid tables:
data_ov006_0212e8e8 = {4,3,4} rows and data_ov006_0212e8f4 = {4,6,5} columns,
so 4x4, 3x6 and 4x5. _ZN14dScMgMemory2_c12ShuffleCardsEv deals 16, 18 or 20 records off the same
byte with the identity capped at 8, 9 or 10.

WHERE +0xb4 COMES FROM, AND IT IS BOTH MECHANISMS AT ONCE.

  SEEDED ONCE, FROM THE SAVE. src/actors/dScMgMemory2_c.cpp (InitResources) is the
  only writer OF THE SEED -- and "nothing else writes +0xb4" would be false said
  plainly, which is the run mg8 reviewer's correction and is kept here because
  the difference is one line of disassembly away. _ZN11dScMgBase_c19BeforeInitResourcesEv, vtable
  slot 1 (BeforeInitResources, INHERITED unchanged by dScMgMemory2_c), zeroes
  +0xb4 along with +0xb8 and +0x465c. It runs BEFORE slot 0, so it clears the
  field and InitResources then seeds it; the ordering is what makes the seed the
  value that survives, and THE CONCLUSION BELOW IS UNCHANGED. Say "the only
  writer of the seed" or name slot 1 too; do not say "no other writer".
  The seed itself:  *(int*)(self + 0xb4) = func_ov004_020ad878();  and that body
  disassembles to func_02013580(func_ov004_020adc3c(data_ov004_020beb68), 1),
  i.e. data_0209caf4[minigame index][1]. A fresh record is ZERO --
  SaveData::ReadMinigameData calls SetDefaultValuesMg on every failure path and
  that memsets 0x2e4 bytes to 0 -- so the ROM's own first-ever board is sixteen
  cards. There is no smaller board and no menu argument that makes one.

  RAISED PER CLEARED BOARD, IN SESSION. _ZN14dScMgMemory2_c10ResultWaitEv (state 3 substate 0)
  after its 0x40-frame countdown:
      won   if (+0xb4 < 0x270f) ++(+0xb4);  +0xb8 = max(+0xb8, +0xb4)
      lost  if (+0xb4 > 0)      --(+0xb4)
  and _ZN14dScMgMemory2_c13CheckFinishedEv (which runs every frame of state 2) writes the same
  +/-1 through to the record:  func_ov004_020ad79c((5 - misses)*5 + score,
  +0xb4 + 1)  on a clear and  func_ov004_020ad79c(score, +0xb4 - 1)  on the
  fifth miss. State 3 ends at state 4 and state 4 goes back to state 0, so the
  class DEALS AGAIN with the new count, and the record carries it to the next
  play. +0xb4 is what func_ov004_020adb1c draws as the star badge on the top
  screen.

  So the answer to "menu argument, in-session ramp, or saved progress" is the
  last two, and they are the same counter seen at two lifetimes.

THE PORT DIVERGENCE, AND IT IS NOT THE CARD COUNT.
hal/scene_boot.cpp's port_scene_boot called Scene::SetSceneToSpawn(id, 0) for
every scene. On the DS a minigame is only ever launched by
src/func_ov005_020c0378.cpp, whose last act is

    Scene::StartSceneFade(*(u16*)(data_ov005_020c24d8 + m),
                          *(int *)(data_ov005_020c24dc + m), 0);

with data_ov005_020c24dc = data_ov005_020c24d8 + 4, so the second argument is
the picked row's own +0x04 word, and StartSceneFade hands it to
SetSceneToSpawn(id, param). dScMgBase_c's constructor unpacks it:

    *(short*)(self+0x465e) = data_ov004_020bc070[(*(u32*)(self+8) >> 0x10) & 0xff];
    *(int*)(self+8)        = *(u32*)(self+8) & 0xffff;

and func_ov004_020adc3c reads (field_8 & 0xff00) >> 8 -- which that mask keeps.
ONE WORD, TWO INDICES: (param>>8)&0xff is the row of data_0209caf4 and
(param>>16)&0xff is the row of data_ov004_020bc070, the minigame's name-text id.
With 0 all thirty minigames shared save record 0 and asked for name text 0, so
Memory Master kept its clear count in the first minigame's slot and every other
minigame could move it. Memory Master is ov005 row 29, param 0x001d1d01:
record 29, text 29.

FIXED by reading the word out of the verbatim ov005 table
hal/scene_mg_sound.cpp already carries (port_mg_scene_spawn_param), by the same
first-match-by-id rule, 0 for anything that is not a minigame scene. Measured
after: 374 -> record 16 text 16, 369 -> 26/26, 370 -> 8/20, 375 -> 31/31,
380 -> 15/22, 363 -> 29/29.

THE SECOND DIVERGENCE IS DELIBERATE AND IS NOT THIS LANE'S TO FIX. The port has
no backup cart, so hal/scene_boot.cpp's SaveData::ReadDataFromCart face returns
1 (the ROM's own no-media answer) and SetDefaultValuesMg zeroes the record on
every boot. A DS with a save resumes at whatever board size it had reached; the
port restarts at sixteen every launch, and the debug menu's minigame picker goes
through port_menu_relaunch, which is a NEW PROCESS, so nothing survives even
between two minigames in one sitting. That is a save-medium gap, not a
minigame gap.

TEN BOARDS CLEARED BACK TO BACK, 170 SCRIPTED TAPS, ZERO MISSES. Driven through
SM64DS_TOUCH_PROBE, timed off SM64DS_MEM_TRACE (the new per-frame round trace in
hal/scene_mg_memory2.cpp), all in ONE 15,500-frame run of scene 363:

    board  tappable  cleared  level after   board size
      1      f431     f1112      0 -> 1     16   4x4  x 80..176  y 24..168
      2      f1825    f2506      1 -> 2     16
      3      f3218    f3899      2 -> 3     16
      4      f4635    f5316      3 -> 4     16
      5      f6054    f6735      4 -> 5     16
      6      f7540    f8301      5 -> 6     18   6x3  x 48..208  y 48..144
      7      f9037    f9798      6 -> 7     18
      8      f10535   f11296     7 -> 8     18
      9      f12035   f12796     8 -> 9     18
     10      f13535   f14296     9 -> 10    18
     11      f15140     --         10       20   5x4  x 64..192  y 24..168

The step lands exactly where the compares say: the board dealt at f7156 is the
first with level 5 and it is the first with 18 cards and pairs needed 9; the
board dealt at f14717 is the first with level 10 and it is the first with 20 and
pairs needed 10. The exit census reads
data_0209caf4[29] = { 215, 10, 0, 0, 0 } -- score 215, level 10 -- and the top
screen draws a star badge reading 10.

The deal is REPRODUCIBLE: three separate runs of the same script produced the
same sixteen card identities in the same slots, and extending a run or adding
taps after a board did not move an earlier board's deal, which is what made the
board-by-board scripting possible at all.

WHAT THIS SECTION DOES NOT KNOW.
  - WHETHER 16/18/20 IS WHAT A DS PLAYER SEES AT THOSE CLEAR COUNTS. The rule is
    read off the ROM and the port obeys it; nobody has held a DS next to this.
  - THE OTHER TWENTY-NINE MINIGAMES' PARAMS ARE NOW NON-ZERO and only their
    boots were checked. Six ids appear on two ov005 rows (0x0173, 0x0178,
    0x0179, 0x017a, 0x017c, 0x016c) because the ROM's menu selects by POSITION;
    the port takes the first row, which is the same caveat and the same rule the
    sound seat above it has carried since run link60.

    SCENE 380 IS ONE OF THE SIX, and it is worth naming because 380 is a scene
    this run booted and censused rather than an id in a list. 380 is 0x017c.
    The port takes ROW 15, which carries record 15 and text 22; the ROM's menu
    can land on ROW 35 instead, which carries record 35 and text 35. Nothing
    here decides which row a real menu selection produces -- the port has no
    menu position to read -- so 380's censuses in this section are row 15's.
    Re-read them before comparing 380 against a DS. (Run mg8 reviewer.)

  - THE PARAM'S LOW BYTE IS A THIRD FIELD AND THIS SECTION DID NOT NAME IT.
    The packed param was described here as two fields; it is three. The LOW
    byte is read by _ZN11dScMgBase_c9Virtual8CEv, which is VTABLE SLOT 35, as the
    boolean (field_8 & 0xff) != 0. Seating the real param flips that boolean
    0 -> 1 for scenes 363, 369 and 375.

    NO MEASURED CHANGE, AND UNCENSUSED, which is the honest state of it. Slot
    35 was not entered at all in those three scenes' 300-frame boots, so
    nothing observed could have moved; it IS entered 17 times in 380, where the
    value is unchanged. The flip is a FIDELITY GAIN -- the port now hands slot
    35 the byte the ROM hands it -- and it is recorded rather than claimed:
    no run in this section has watched slot 35 act on a 1. (Run mg8 reviewer,
    adversarial finding.)
  - WHAT +0x465e's NEW VALUE CHANGES ON SCREEN. It is a name-text id read by
    src/_ZN11dScMgBase_c16OnAimedAtWithEggEv.cpp; the five scenes booted clean with it and no
    lane has compared the banner to a DS.


18. WHY vtspan --fills CALLS EVERY MINIGAME SEAT SHORT, AND WHY IT IS WRONG
---------------------------------------------------------------------------
Run mg8, adjudicated at the merge.

THE RED. `python port/tools/vtspan.py . --fills` reports ten seats leaving
every slot of data_ov004_020bc0c0 unwritten:

    port_scene_fill_bomroom, _coin, _curling2, _flower, _luigi, _memory2,
    _pachinko, _pachinko2, _panel, _smartball
        ROM has 36 slots; never written: 0,1,2,3,4,5,6,7,8,9,10,11,...

run_checks.py ratchets that list against tools/vtspan_fills_baseline.txt, which
was frozen on 2026-08-17 when only port_scene_fill_curling existed, so all ten
read as NEW and run_checks FAILS. It fails on the BASE too -- this is not a
regression from any lane, it is nine more seats having copied curling's shape
since the freeze, plus bomroom.

IT IS A CHECKER MISREADING. The slots ARE written. The seats fill
ADDRESS-KEYED, not index-keyed: mg_apply() in hal/scene_mg.cpp walks the table
and swaps any word whose VALUE is a known DS address for the host pointer.
vtspan's written() models three shapes and this defeats all three:

  * its CALL regex only follows a SINGLE-argument helper call, `fn(var);`.
    The seats call `port_scene_mg_fill_shared(vt, 36)` -- two arguments -- so
    the helper is never followed at all;
  * its LOOP regex needs a bound it can eval against a #define table.
    mg_apply's bound is the parameter `n`; eval raises NameError and the loop
    is dropped by `except Exception: continue`;
  * its WRITE regex needs a LITERAL index, `vt[<digits>] =`. An address-keyed
    fill writes `vt[i]`, never a literal.

written() therefore returns the empty set, missing becomes range(36), and the
tool prints "never written: 0,1,2,...". It is reporting "I found no indexed
writes", not "the slots are null".

THE RUNTIME SAYS THE OPPOSITE AND THE RUNTIME IS RIGHT. Every seat calls
mg_raw_left / sos_raw_left, which counts words still holding a DS address
(0x02000000..0x02400000). A slot that was genuinely never written would still
hold the mounted ROM image's own DS address and would be counted. Every boot
reports zero raw DS words and FILL INCOMPLETE 0. All 36 slots hold host
pointers. The two readings reconcile only one way: the fill completes, the
source scan cannot see how.

NOTHING WAS CHANGED TO CLEAR IT. The baseline was NOT appended to -- its own
header says the rows are frozen and "the list may only shrink", so growing it
would paper over a red the file forbids growing -- and vtspan.py was not
edited at the merge. The fix belongs to whoever owns the checker:

  1. CALL must accept multi-argument helper calls: match the callee, then scan
     the argument list for the bound variable, instead of demanding `fn(var);`.
  2. written() must either model the address-keyed shape or vtspan must report
     "binds a table, writes nothing this scan can see" as UNRESOLVED -- which
     it already treats as a stated gap rather than a pass. Printing a fill that
     writes all 36 slots as missing all 36 is the worst of both: a false red
     that also buries a real short fill in the noise.
  3. SEPARATE LATENT BUG, spotted while reading written():

         im = re.search(r"\(\s*void\s*\*\*\s*(\w+)\s*\)", inner[:0])

     `inner[:0]` is the EMPTY STRING, so this search is dead code and `im` is
     never used; the line below it recurses with the parameter name hardcoded
     to "vt". Any single-argument helper whose parameter is named anything else
     has its writes silently invisible. Presumably meant to be inner[:200] or
     the helper's own signature.

The curling row already in the baseline is this same pattern, and the
baseline's note calls it "plausible, unverified". This section is the
verification it was waiting for: the pattern is sound, the checker is not.


19. THE ONE TRUE WIDTH-37 CLASS, SEATED, run mg9 lane S371
--------------------------------------------------------------------------------

Worktree C:/tmp/m9e, branch mg9-s371, base c693e8952, private build
C:/tmp/m9e/build/port with CMAKE_HOME_DIRECTORY verified C:/tmp/m9e/port.
Baseline gate on that tree before a line was edited: build green, linkage
6665/11283 (59.1%), vtablerows reconstruction EXACT 29/29, both aritycheck
ratchets 0 NEW.

Section 11 corrected the width column for twelve of thirteen classes and left
exactly one survivor. THIS IS IT, AND IT IS SEATED. Scene 371, actor id 0x173,
dScMgAmida_c, port/slice_s371.txt and hal/scene_mg_amida.cpp.

SECTION 11'S THREE CHECKS EACH ANSWER DIFFERENTLY HERE, AND THAT IS THE POINT.
Every sibling fails at least one of them at 37. This class passes all three,
and a reader should know what "passes" means for each:

  1. SPAN. data_ov006_0213b918 -> data_ov006_0213b9ac is 0x94 = 37 words. The
     span is an UPPER bound, so it can refuse a width and never grant one; for
     the twelve section 11 corrected it read 36 and REFUSED 37. Here it reads
     37 and DECLINES TO REFUSE. That is the whole of what it says.
  2. TERMINAL SLOT. Section 11 checked 0x020ad660 at slot 35 on five classes
     and found all five. This one is the exception it already names: slot 35 is
     0x020d1170, an ov006 address in the class's own code block, so the slot is
     an OVERRIDE and the terminator argument does not reach it.
  3. WHAT THE WORD IS. Section 11 says this is the check where the eye fails.
     It does not have to be an eye. Slot 36 carries a LOAD RELOCATION of its
     own -- `from:0x0213b9a8 kind:load to:0x020d1188 module:overlay(6)` -- and
     a phantom slot never can, because live data belonging to the next object
     is not a pointer. The word at index 37 (0x0213b9ac, the next config
     symbol) reads 0x00000100 and carries no relocation at all.

     THAT IS A FOURTH CHECK AND IT IS THE CHEAPEST OF THE FOUR. Ask the
     relocation set whether slot N is a pointer. It answers yes or no on every
     class in the family in one pass and it cannot be fooled by a word that
     happens to look like a code address, which is the exact failure mode
     section 11 says checks 1 and 2 exist to cover.

AND A FIFTH, WHICH IS THE ONE THAT WOULD HAVE SURVIVED ALONE. SLOT 36 IS
DISPATCHED. A scan of overlay_0006.bin for `ldr Rd,[Rn,#0x90]` with Rn neither
pc nor sp finds 26 sites and 25 are inside this class's own code:
func_ov006_020d122c 1, _020d1958 1, _020d1a3c 1, _020d27dc 3, _020d36a4 3,
_020d3ba0 6, _020d48dc 2, _020d4b7c 4, _020d5384 4. The 26th (0x020c1f5c, in
func_ov006_020c1f4c) is a FALSE POSITIVE recorded so nobody re-finds it: that
body reads +0x8c, +0x90 and +0x94 as three consecutive OBJECT FIELDS and hands
them to a formatter. Section 14's Rn filter drops pc and sp; it does not know a
field from a slot, and the tell is whether the loaded word is branched to.

WHY THE CLASS NEEDED A 37th VIRTUAL, IN SIX INSTRUCTIONS EACH, and this is the
finding the whole width story was pointing at without knowing it:

    ov004 0x020ad660  ldr r0,[r0,#8] / ands r0,r0,#0xff / movne 1 / moveq 0
                      -- return (field_8 & 0xff) != 0     EVERY SIBLING
    ov006 0x020d1170  ldr r0,[r0,#8] / and r0,r0,#0xff / cmp r0,#1 / moveq 1
                      -- return (field_8 & 0xff) == 1     slot 35 here
    ov006 0x020d1188  ldr r0,[r0,#8] / and r0,r0,#0xff / cmp r0,#2 / moveq 1
                      -- return (field_8 & 0xff) == 2     slot 36 here

field_8 is the spawn param's low half, and its LOW BYTE is the third field
section 17 identifies. The family's slot 35 answers one boolean about it. This
class had to tell THREE values apart, so it split the boolean into two
predicates and put the second in a new slot. The one class the width column was
wrong about twelve times over is the one class whose mode selector outgrew a
boolean, and those are the same fact.

WHERE THE 37 LIVES IN THE SEAT, since section 3 says the fill is address-keyed
but is CALLED WITH A COUNT. hal/scene_mg_amida.cpp calls
port_scene_mg_fill_shared(vt, 37) and am_raw_left(vt, 37), sizes its slot-hit
array [37], and its kAmidaFaces has ELEVEN rows. The dScMgBase_c table is
still filled with 36. The run prints the arithmetic rather than the file
claiming it:

    [scene] AMIDA FILL CENSUS, 37 slots: 37 raw DS words before, 11 after the
    shared arm9+dScMgBase_c pass (claimed 26), 11 own faces applied, 0 raw
    left. dScMgBase_c's own 36-slot table: 0 raw left.

26 + 11 = 37, and the 26 is 7 arm9 words port_scene_fill_rom keys plus 19 ov004
words kMgBaseFaces keys.

THE CLASS HAS NO POINTER-TO-MEMBER WALL, AND THAT IS A MEASUREMENT RATHER THAN
TWO ABSENCES. Section 4 says no static evidence licenses the word "none", so
three things were done and the third is the one worth reusing:
  1. The overlay constructor (src/__sinit_ov006_0212fc7c.c) builds no pair
     table -- three SharedFilePtr registrations and one static array ctor.
  2. No `::*` and no member-pointer type in any of the class's 28 own TUs.
  3. THE RELOCATION SET. Ninety-three relocations land inside the class's code
     block 0x020d0fe4..0x020d5a50. TWELVE come from a DATA word rather than
     from inside a function, and the twelve are the SpawnInfo's factory word
     and the ELEVEN vtable override slots. Nothing else in the overlay stores a
     pointer to this class's code, so there is no eight-byte table for MSVC to
     stride by four. That is a census, not an absence, and it is one grep.
Slot 6 was also READ for section 14's practical rule and is a four-case switch
on the int at +0x46d0, not the Itanium sequence in plain ints.

THREE FLOORS, AND THE COST TABLE'S nosrc COLUMN SEES NONE OF THEM. That column
counts vtable BODIES and all eleven of this class's have src. These are
callees, found by section 13 CORRECTION 3's method:

    func_ov006_020d27dc  0xe48  one caller, inside vtable slot 6
    func_ov006_020d36a4  0x4fc  two callers, slot 6 and the init tail
    func_ov004_020ae5c4  0x294  ov004, ten call sites across three of this
                                class's TUs -- and the LINK found this one,
                                because a block walk over the class's own code
                                cannot see a hole one overlay over

All three trapped and counted in unmatched/MgAmida_Faces.cpp. Six of the 25
slot-36 dispatch sites are inside the first two, so the mode branch in those
bodies is code this seat cannot run.

AND THE THIRD FLOOR EXPLAINS A LIVE HOST-ABI DEFECT NOBODY CAN HIT.
func_ov004_020ae5c4 is the FAMILY'S ONLY SLOT-34 DISPATCHER: a scan of both
overlay images for `ldr Rd,[Rn,#0x88]` with Rn neither pc nor sp returns ten
offset matches and EIGHT are inside it, each with one word pushed before the
blx, so slot 34 takes FIVE arguments and src/_ZN11dScMgBase_c9Virtual88Eiiii.cpp (the base's
own slot-34 body) declares five to match. hal/scene_mg.cpp's shared mb_v34 is
declared (void *, void *) and calls that five-parameter body with ONE argument.

  THE OTHER TWO MATCHES ARE FIELD READS AND THIS LANE FIRST MISCOUNTED THEM,
  which is worth the correction because the offset scan is the instrument
  section 14 hands the fan-out. 0x020ce2a4 and 0x020ce318, in
  func_ov006_020ce108, are `ldr r2,[sl,#0x88]` whose loaded word goes out as
  the third argument of `bl 0x0203d290` and is never branched to. Section 14's
  Rn filter drops pc and sp; NOTHING in it distinguishes an object field at
  +0x88 from vtable slot 34, and the only tell is whether the loaded word is
  used as a branch target. The same trap is recorded for slot 36 at
  func_ov006_020c1f4c, whose +0x8c / +0x90 / +0x94 are three consecutive
  fields, so this is the second instance in one lane and the general rule is:
  AN OFFSET MATCH IS A CANDIDATE, A blx ON THE LOADED WORD IS THE FINDING.

THE CORRECTION STRENGTHENS THE CONCLUSION. There is exactly ONE body in the
tree that dispatches slot 34, it has no src file in any overlay, and it is
trapped. So slot 34 is UNREACHABLE on every scene rather than merely unreached
on the ones anybody has booted, and the mb_v34 mismatch has no potential
witness at all. It is the lane-BASESET slot-18/19 shape. Not repaired here: a
repair with no dispatch to witness it is wiring without evidence.

ONE ID, TWO PLAYER TITLES, AND THIS TIME WHICH IS WHICH IS DERIVED. Section 14
found the shape on dScMgPanel_c and closed on "WHICH VALUE IS WHICH TITLE IS
NOT DERIVED and this lane does not guess it". It is derivable, and the
instrument is the class's own InitResources: it branches on slot 36 four times
and loads a DIFFERENT FILE SET on each arm.

    ov005 row  0  param 0x00000000  record  0  text  0  low byte 0x00
    ov005 row 24  param 0x00181802  record 24  text 24  low byte 0x02
    text 0  -> data_ov004_020bc070[0]  -> BMG msg 548  "Mario's Slides"
    text 24 -> data_ov004_020bc070[24] -> BMG msg 588  "Connect the Characters"

    slot 36 TRUE   face_up and face_down boards, and FIVE localised sheets of
                   CHARACTER FACES off a GetOwnerLanguage ladder (5 -> _S_,
                   4 -> _I_, 3 -> _G_, 2 -> _F_, default -> the plain English
                   one), plus their shared palette
    slot 36 FALSE  the amida1 and amida2 boards and ONE plain sprite sheet.
                   No faces. No ladder.

A board of character heads needs localising and a board of slides does not, so
slot 36 true is "Connect the Characters" and slot 36 false is "Mario's Slides".
0x02 is the ONLY 0x02 in the whole 36-row ov005 table; every other non-zero low
byte in it is 0x01.

SECTION 11's OWN CAVEAT ABOUT ROW ORDER APPLIES HERE IN ITS SHARPEST FORM. The
port takes the FIRST ov005 row matching the id, and for 0x173 that is ROW 0,
whose param is literally zero. So the port boots this scene as "Mario's
Slides", record 0, text 0, mode 0, and the run confirms it from the object:
mode byte 0, slot 36 asked 5822 times and answering true 0 times, layout
+0x4700 = 0x98 which is the mode-0 arm of the first slot-36 branch.

MODE 1 HAS NO ov005 ROW, stated as a measurement and not as a conclusion. No
row gives THIS id a low byte of 1; a scan of both overlay images for
`ldr Rd,[Rn,#0x8c]` finds fourteen sites in ov006 and ZERO in ov004, none of
the fourteen inside this class's code; and the run reports slot 35 asked ZERO
times. What that does not say is that mode 1 is dead: nothing here enumerates
every writer of field_8. The seat counts slot 35 separately from slot 36 for
exactly that reason.

port/slice_s75.txt's "THE ROM ITSELF STORES NO TITLE TEXT AT ALL" IS THE ONE
WRONG SENTENCE IN THAT FILE and it is corrected in place there rather than only
here, because a later lane will read it before it reads this. The ROM stores
every title. TWO layers defeat a search, not one: data/message/msg_data_eng.bin
(NitroFS file id 643) is LZ77-compressed, and the BMG inside it is a GLYPH
INDEX rather than any text encoding -- 'A'..'Z' at 0x0a..0x23, 'a'..'z' at
0x2d..0x46, space 0x4d, '-' 0x47, '.' 0x48, apostrophe 0x49, '?' 0x26, '!'
0x27, 0xfd a line break and 0xff an end of message. An ASCII or UTF-16 sweep of
the image returns zero hits for "Shuffle" with the word sitting in the file.

THE CHAIN IS CONTROLLED 25 TIMES OVER, which is what makes the seven names it
produces usable rather than plausible. Decoded across all 36 ov005 rows it
agrees EXACTLY with the config's own spawn symbol on every one of the 25 rows
that has one, and the three COMPOUND config names split across their two rows,
which is a prediction the chain could have failed:

    MgBingoBallSlotsShot      -> row 10 "Bingo Ball"   row 22 "Slots Shot"
    MgPuzzlePanelPuzzlePanic  -> row 15 "Puzzle Panel" row 35 "Puzzle Panic"
    MgCoincentration          -> row 14 "Coincentration"
                                 row 30 "Intense Coincentration"

and a twenty-sixth control lands on a class this port already ships: id 0x186,
seated as SCENE_MG_FLOWER, decodes to "Loves me...?", the title the tree
already knows it by. THE SEVEN IDS WITH NO CONFIG SYMBOL, named:

    0x169  row 23  "Tox Box Shuffle"
    0x16c  row 17  "Mario Slot"          row 33  "Super Mario Slot"
    0x16d  row 31  "Mix-a-Mug"
    0x173  row  0  "Mario's Slides"      row 24  "Connect the Characters"
    0x17d  row  5  "Pair-a-Gone"
    0x186  row  7  "Loves me...?"

WHAT IT COST, against section 14's one-wave shape:

    item                              predicted   measured
    -------------------------------   ---------   --------------------------
    link waves                                1   1, plus one host copy
    unresolved externals                      1   9 in one wave, 0 in the next
    ordinary /alternatename faces             -   7
    dispatching TUs to host-copy              5   0
    host copies for other defects             -   1 (a tentative definition)
    named traps stood                         -   3
    ordinary slice lines                      -   29
    registry rows                             1   1
    per-source -D rows                        -   0 (no bare VT or HEAP in any
                                                  of the class's 28 TUs; the
                                                  COFF short-name census over
                                                  32 built objects finds none)

THE ONE HOST COPY IS NOT WALL WORK AND IS WORTH THE NEXT LANE'S ATTENTION.
src/func_ov006_020d3ba0.cpp is //cpp-marked and needs C++ for real -- a
37-virtual dummy struct it dispatches slot 36 through, and a namespace -- and
its extern "C" block writes a bare `int data_0209d4b8;`. mwccarm takes that as
a TENTATIVE DEFINITION and merges it; C++ has none, so MSVC makes it a strong
definition of the arm9 RNG seed hal/scene_mg_faces.cpp owns inside DSSTATE, and
the class's own Behavior declares the same symbol `extern int` and calls
RandomIntInternal against it. Two TUs of one class would have advanced two
different seeds. The link caught it as an LNK2005, which is the lucky outcome.

    AND hostgen --extern-data IS THE WRONG TOOL FOR A //cpp FILE, which is the
    part to carry forward. That transform is what port/CMakeLists.txt uses on
    Actor::BeforeBehavior for this exact defect and it produces the right
    `extern` line here too, but tools/hostgen.py's emit() wraps EVERY .c source
    in `extern "C" { }` unconditionally, and a //cpp file's namespace inside
    that wrap takes C linkage. port/CMakeLists.txt's LANGUAGE CXX block already
    says so in words -- "the wrap is wrong for them" -- and the two facts had
    never been put side by side.

SWEEP THE WHOLE SLICE FOR THE //cpp MARKER, AND FOR `extern "C"`, `virtual` AND
`class`, BEFORE THE FIRST BUILD. Lane CCN's entry in port/CMakeLists.txt
prescribes it and this lane followed it: three of the 29 TUs are really C++
(func_ov006_020d122c, _020d3ba0, _020d4b7c) and all three were found in one
pass rather than one compile error at a time.

LINKAGE, measured on both ends on this tree:

    6665 / 11283 (59.1%)  ->  6689 / 11283 (59.3%)     +24

  by module, the only row that moved:

    module   total  linked  unlinked   linked
    ov006     1867     761      1106    40.8%     (was 737, 39.5%)

  arm9 1879, ov002 1129 and ov004 240 are unchanged on both ends, which is
  section 5's "the arm9 half comes back for free" holding again: this class
  added no ov004 line at all.

  +24 AGAINST 29 SLICE LINES, AND THE FIVE ARE ACCOUNTED FOR rather than waved
  at. FOUR were already in the base map -- __sinit_ov006_0212fc7c and its three
  static-array helpers 020d0fe4 / 020d1008 / 020d100c, because the mount
  already runs all thirty-five overlay constructors. The FIFTH,
  src/func_ov006_020d25fc.c, is compiled and then DROPPED by the linker as
  unreferenced: every one of its 42 call sites is inside func_ov006_020d27dc,
  which is a trap. Section 4 warns that "a trap-shaped floor HIDES its callees
  from static closure"; this is the same fact from the other end, a trap making
  a real slice line unreachable, and the linkage headline is where it shows.

THE BOOT. SM64DS_SCENE=371 with SM64DS_FAULTS_FATAL=1 and nothing switched off,
at 300 and at 1200 frames, both CLEAN, exit 0.

    300 frames    init 1, behavior 253, render 300, state-reset 0
                  slot 36 asked 1322, answered true 0; slot 35 asked 0
                  floors 020d27dc 173, 020d36a4 1, 020ae5c4 9
                  state +0x46d0 = 1, mode byte 0, layout +0x4700 = 0x98
    1200 frames   init 1, behavior 1153, render 1200, state-reset 0
                  slot 36 asked 5822, answered true 0; slot 35 asked 0
                  floors 020d27dc 792, 020d36a4 1, 020ae5c4 9
                  FILL CENSUS 0 raw DS words left on both tables

  Slot 9 is entered on every frame and slot 6 on 253 of 300 and 1153 of 1200,
  so the framework's BeforeBehavior gates the first 47 frames on this class
  exactly as it does on scene 380. That is the ROM's, not a defect.

  THE FLOOR COUNTER CLIMBS WITH THE BEHAVIOR AND THAT IS THE HONEST READING.
  func_ov006_020d27dc is entered on roughly two thirds of the frames the
  Behavior runs, so the class is ticking INTO a 3656-byte hole most frames. The
  seat prints that number beside the green ones on every run rather than only
  when it is nonzero, which is section 16's rule.

  THE CURLING CANARY REPRODUCES EXACTLY across the whole lane: scene 374 at 300
  frames reports 32557 call(s) / 32557 routed / 0 UNHANDLED, which is what says
  a 37-slot fill in the registry did not reach into anybody else's data.

WHAT THIS SECTION DOES NOT KNOW.
  - WHAT MODE 2 LOOKS LIKE. Everything above about "Connect the Characters" is
    read off the ROM's file loads and its message text. The port has no menu
    position, takes ov005 row 0, and has never run this class with a low byte
    of 2. Nothing here has watched slot 36 answer true.
  - WHAT THE TWO ov006 FLOORS DO. 0xe48 and 0x4fc bytes with no source, both
    branching on the mode predicate in their first few instructions, both on
    the tick path. The class boots and ticks and renders without them; whether
    it PLAYS without them is not something this lane can say.
  - WHETHER THE PICTURE IS RIGHT. The runs render -- slot 9 enters on every
    frame and the sub-screen census reports real BG and OBJ VRAM -- and BMPs
    are captured for this lane's report, but nobody has held one next to a DS.
  - TOUCH IS UNMEASURED, and for an amidakuji it is the live question rather
    than a formality: both titles' rules text says "draw lines on the Touch
    Screen", and the class settles at state 1 without an input.

20. THE DECOMP-SIDE ROUTING LIST, run mg9 amendment
---------------------------------------------------

ONE PLACE THE DECOMP LANE READS. Every entry below is a correction owed on the
BYTE-GATED side, found by a port lane that could not take the fix itself: the
port routes around each one in a host copy, and the src TU and its banner stay
exactly as they are until someone on the decomp side rules on them. Scattering
these across nine lane headers is how three of them sat unread for two runs.

The rule they share is section 10(a)'s: a byte-exact TU can still be wrong, and
the byte gate cannot see it. A banner is a claim about LOGIC, and no gate in
this repo checks a banner.

  1. src/actors/dScMgSound_c.cpp -- THE BANNER IS FALSE AND ALL FOUR DEFECTS MUST
     GO IN ONE PASS. The TU is bannered "Logic verified correct vs ROM" and is
     not. The full list, re-derived from the ROM by run mg9 lane BOX and
     written out in port/unmatched/MgSound_ShadowSlot35.cpp section 4:
       (1) pass the receiver at the slot-35 call
       (2) make the modulo a loop
       (3) make the +0x50f4 store a BYTE
       (4) hoist the `n == 0` test out of the `if (idx >= limit)`
     ALL FOUR OR THE BANNER IS STILL FALSE. Only (1) is a port problem; the
     other three are decomp problems the port must not inherit. A routing note
     listing three of four would send someone to fix three and re-bless a
     banner that is still wrong, which is why the count is stated here.
     A fifth observation is NOT a divergence and is recorded so nobody counts
     it as one: the ROM sets no meaningful return value on any path and every
     caller discards it.

  2. src/actors/dScMgCup_c.cpp -- MATCHED, BYTE-EXACT, AND IT READS AN
     UNINITIALISED LOCAL on two of its three paths. It is byte-exact by
     REGALLOC LUCK and nothing more: mwccarm happened to put the variable in
     r1, which already holds the parameter the ROM's epilogue uses, so the
     emitted bytes are right while the source is not. MSVC gave it a register
     holding the object pointer and the first frame of scene 361 wrote two zero
     words four gigabytes out of range, every boot. Invisible to the byte gate,
     to the link and to a member-pointer sweep -- only a RUN convicts it.
     Routed by port/unmatched/MgCup_UninitEpilogue_020def80.cpp (run mg9 lane
     CUP). This is the cleanest example in the tree of why byte-exactness and
     correctness are different properties.

  3. THE FABRICATED INITIALIZER, section 10(a) above. Listed here so this
     section is the whole set rather than most of it; the derivation stays at
     10(a) and is not repeated. Already carries "THE DECOMP-SIDE FIX IS ROUTED,
     NOT TAKEN".

  4. THE LANGUAGE TABLE, the same block at section 10(a).
     port/unmatched/MgBase_LangTable.cpp performs the copy the ROM performs;
     the src TU does not, and the byte gate is content either way.

  5. THE BANNER THAT CLAIMS TOO LITTLE. src/minigames/d_s_mg_m_carlo2.cpp is bannered
     "NONMATCHING: missing logic (ROM does more) (div=33)" and its logic is
     NOT missing -- the divergence is codegen, and one of the 33 is mwcc's
     dead `cmp r0,#6` (0xe3500006) before an unconditional branch 0xea000024,
     its spelling of `case 6: default:`. This is the OPPOSITE polarity of
     item 1: item 1 is a banner that claims MORE than the body earns, this is
     a banner that claims LESS. Both are unfalsifiable by the byte gate, and
     this one costs the tree a real body every time somebody reads the banner
     and traps the slot instead of seating it. The correction is one banner
     line and belongs to the decomp side; the port takes nothing. Found by
     run mg11 lane PGO, which wrote it at the file's end to avoid nine
     concurrent lanes conflicting mid-file, and moved here at the mg11 merge
     as that section asked.

HOW TO RETIRE A ROW. Correct the src TU and its banner on the decomp side,
then delete the port's host copy and put the src line back in its slice. Each
of these costs the port one LINKED function today, so retiring them moves the
headline in the right direction as well as the honest one. Nothing here is a
port defect that a port lane can close alone -- that is the whole point of the
list, and it is why none of these were fixed in the run that found them.

21. THE AMIDA BOARD IS A LINE RASTERISER, AND SLOT 34 DISPATCHES AT LAST,
    run mg10 lane F371
--------------------------------------------------------------------------------

Worktree C:/tmp/mAf, branch mg10-f371, base c941e1855, private build
C:/tmp/mAf/build/port with CMAKE_HOME_DIRECTORY verified C:/tmp/mAf/port.
Baseline gate on that tree before a line was edited: build green with every
post-link guard passing, and scene 371 at 300 frames under SM64DS_FAULTS_FATAL=1
exit 0 and clean, reproducing section 19's numbers exactly -- init 1, behavior
253, render 300, slot 36 asked 1322 answering true 0, slot 35 asked 0, floors
173 and 1, mode byte 0, layout +0x4700 = 0x98.

BOTH OVERLAY BASES WERE PROVEN BEFORE ANY DISASSEMBLY WAS TRUSTED, which is the
cheap half of section 15's method and the half a lane skips at its peril.
ov006 at 0x020bfec0: _ZN12dScMgAmida_c9Virtual8CEv and _020d1188 reproduce section 19's
six-instruction mode predicates instruction for instruction, cmp #1 and cmp #2.
ov004 at 0x020ad660: _ZN11dScMgBase_c9Virtual8CEv reproduces the family's five-
instruction slot 35, and 0x020ae5c4's prologue reproduces its nine-register push
and 0x14 subtraction.

SECTION 19 LEFT THREE FLOORS. TWO ARE CLOSED AND THE THIRD IS MEASURED.

  func_ov004_020ae5c4  0x294  CLOSED  src/func_ov004_020ae5c4.cpp  NONMATCHING
  func_ov006_020d36a4  0x4fc  CLOSED  src/func_ov006_020d36a4.cpp  NONMATCHING
  func_ov006_020d27dc  0xe48  STANDS  and section 19's 792 asks are still 792

---- 1. WHAT THE ov004 FLOOR IS, AND IT ANSWERS SECTION 19's OPEN QUESTION ----

func_ov004_020ae5c4 IS BRESENHAM'S LINE ALGORITHM. It walks from (x0,y0) to
(x1,y1) -- x-major or y-major on |dx| >= |dy|, error accumulator seeded at half
the major axis, the minor axis stepped on overflow -- and at every lattice point
it visits it dispatches VTABLE SLOT 34. Slot 34 is the BRUSH: the base's own
body, src/_ZN11dScMgBase_c9Virtual88Eiiii.cpp, writes an n-by-n block of val through
MultiCopy_Int. So the pair is "draw a line of thickness n in colour val", and
the seven parameters are (obj, x0, y0, x1, y1, val, n).

THE AMIDAKUJI BOARD IS DRAWN WITH IT, and the two halves were derived
independently and then agreed, which is what makes this a finding rather than a
reading. src/func_ov006_020d3ba0.cpp calls it with (0x20, -0xb4) -> (0x20,
+0x4700) and the same for 0x60, 0xa0 and 0xe0 -- FOUR VERTICAL RAILS -- and
with (x, y) -> (x + 0x40, y) for the horizontal RUNGS. Separately,
func_ov006_020d36a4's tail writes each walker's start X as LANE[i] * 64 + 32,
which is 32, 96, 160 and 224. The board and the walkers agree on where the
ladder is, and neither number was read off the other.

That is the mechanism behind both titles' rules text. Section 19 quoted "draw
lines on the Touch Screen to create new routes for him" and called touch the
live question; this is the code the stylus would be driving.

---- 2. SLOT 34 IS REACHABLE NOW, AND THE mb_v34 REPAIR HAS ITS WITNESS ------

SECTION 19 FOUND A LIVE HOST-ABI DEFECT AND DELIBERATELY DID NOT FIX IT, on the
rule that a repair with no dispatch to witness it is wiring without evidence.
hal/scene_mg.cpp's shared mb_v34 was declared (void *, void *) and called the
five-parameter src/_ZN11dScMgBase_c9Virtual88Eiiii.cpp with ONE argument. It could not be
convicted because the tree's ONLY slot-34 dispatcher is func_ov004_020ae5c4 --
eight ldr Rd,[Rn,#0x88] sites, every one inside it, each storing one word at
[sp] before the blx -- and that body was TRAPPED. Slot 34 was unreachable on
every scene rather than merely unreached on the ones anybody had booted.

SEATING THE DISPATCHER IS WHAT TURNED THE WITNESS ON. With the body in place,
scene 371 at 300 frames enters slot 34 ONE THOUSAND SEVEN HUNDRED AND EIGHTY-
FIVE times, where the census had no row for it at all before. The thunk now
takes and forwards cx, cy, val and n, and the five are read off the DISPATCH
SITES rather than off the callee:

    str r7,[sp] / ldr Rd,[r0] / ldr r3,[sp,#0x3c] / ldr Rd,[Rd,#0x88]
    / mov r1,sb / mov r2,r8 / blx Rd

r1 and r2 are the walked coordinates, r3 is the caller's val, the pushed word is
its n, and src/_ZN11dScMgBase_c9Virtual88Eiiii.cpp declares the same five.

AND THE ARITY RATCHET AGREED WITHOUT BEING ASKED, which is the cheapest
confirmation in the run. port/tools/aritycheck.py --gate-plainfunc came back
"118 baselined, 117 live, 0 NEW, 1 retired" and the retired row was
_ZN11dScMgBase_c9Virtual88Eiiii|port/hal/scene_mg.cpp -- the exact declaration repaired. The
row is deleted from aritycheck_plainfunc_baseline.txt as the gate instructs. The
receiver ratchet is 166 live, 0 NEW.

---- 3. WHAT THE ov006 ROUND SETUP DOES -------------------------------------

func_ov006_020d36a4 shuffles the four ladder lanes and refuses a board that
repeats the previous round. Three arms, on slot 36 and on the walker count:

  MODE 2 ("Connect the Characters")  a full four-lane Fisher-Yates, then the
      goal rows off the state index -- {0,0,3,3} for state 0, {0,0,1,3} for
      states 1, 3 and 5, and the identity otherwise -- written through the
      permutation into data_ov006_02141640. On the first round (+0x5374 == 0) it
      is accepted; afterwards the previous board is saved in
      data_ov006_02141650 and the shuffle repeats until something differs.
  ONE WALKER (+0x46c8 == 1)          swap lane 0 with one other. The first round
      draws from all four; later rounds draw 1..3, so the board must move.
  MANY WALKERS                       shuffle everything, then compare the
      OCCUPANCY SET rather than the permutation, in two four-byte marks.

The three draws are all the game's 15-bit range idiom,
((RandomIntInternal(&seed) >> 16) & 0x7fff) * range >> 15, UNSIGNED throughout
-- the ROM emits lsr for both shifts, and writing it signed emits asr, which is
one of the two levers that took this body from 999 to its eight-byte miss
(999 is the harness's UNSCOREABLE sentinel for a size mismatch, not a
divergence count).

THE RUN CHECKS THE BODY BY ARITHMETIC RATHER THAN BY ASSERTION. Seating it
raised scene 371's slot-36 count from 1322 to 1331 at 300 frames and from 5822
to 5831 at 1200. The +9 is exactly this body's own dispatches: one mode select
plus two per lane across four lanes, which is the ROM's three sites 0x020d36c0,
0x020d3ab0 and 0x020d3b20. Nothing else in the census moved.

---- 4. TWO TRAPS FOUND ON THE WAY, AND ONE OF THEM IS SECTION 19's ---------

THE TENTATIVE-DEFINITION TRAP FIRED, AND IT IS THE ONE SECTION 19 RECORDS.
src/func_ov006_020d36a4.cpp is //cpp-marked, and a bare "int data_0209d4b8;" in
its extern "C" block is a TENTATIVE DEFINITION to mwccarm and a STRONG one to
MSVC, so the link came back LNK2005 against the arm9 RNG seed
hal/scene_mg_faces.cpp owns inside DSSTATE. Section 19 hit this on
src/func_ov006_020d3ba0.cpp and paid a host copy for it. THIS ONE DID NOT NEED
ONE, and the distinction is worth carrying: that TU's spelling DEFINES the seed
(both TUs only ever take its address), this one merely DECLARES it, so
"extern int" is both the honest spelling and the working one. Reach for the
host copy only when the TU actually defines it.

THE UNDERSIZED-GLOBAL HAZARD WAS CHECKED RATHER THAN ASSUMED. The round setup
indexes data_ov006_0212e1a8 with state * 0x1c + 0x14, and that symbol is FOUR
BYTES WIDE in config/arm9/overlays/ov006/symbols.txt -- exactly the shape the
undersized-hosted-global rule warns about. It is safe here, and the reason is
mechanical rather than lucky: port/tools/ovdata.py emits every ov006 word into
its own .dsstate$pk006_NNNN section in ROM order, and the generated mount
carries a runtime PACK BROKEN check asserting each symbol's offset from the
base. So a stride-0x1c read through a four-byte symbol lands on the right bytes,
the same device hal/auto_bss.cpp uses for the four stylus records. A lane that
hosted this table as a standalone global would have read off the end.

---- 5. WHAT THE PICTURE SHOWS, AND THE ONE THING IT SAYS PLAINLY -----------

BMPs are captured at 300 and at 1200 frames (runs/mg10/bmp/). They are BYTE-
IDENTICAL to each other -- one sha256 across both -- and they carry 172 distinct
colours, so there is a real rendered board and not a blank screen.

THAT PAIR OF FACTS IS THE HONEST ANSWER TO SECTION 19's "WHETHER IT PLAYS".
Nine hundred frames apart and not one pixel differs, so nothing on this scene
MOVES. The board draws and the class ticks, and the walkers stay where the round
setup put them, because the body that moves them is the floor still standing.
Section 19 could only say "whether it PLAYS without them is not something this
lane can say"; this lane can say it does not, and can say which of the three
floors is the reason.

NOBODY HAS HELD EITHER BMP NEXT TO A DS, and this lane does not judge them.

---- 6. WHAT THE LAST FLOOR IS, MAPPED BUT NOT TAKEN ------------------------

func_ov006_020d27dc, 0xe48 = 914 words (899 instructions + a 15-word trailing
pool at 0x020d35e8..0x020d3620), ONE caller inside vtable slot 6,
entered 173 times at 300 frames and 792 at 1200. It is THE WALKER TICK and the
next lane should not start from scratch:

  - It calls func_ov006_020d25fc FORTY-TWO times, and every one of that body's
    call sites in the whole overlay is inside this one. src/func_ov006_020d25fc.c
    reads the walker's (col,row) at +0x4660/+0x4664, offsets it by one of EIGHT
    directions on a 0..7 selector, and probes. So this floor is an eight-
    neighbour LINE FOLLOWER: it looks around each walker for the drawn line and
    decides which way to step, which is exactly what an amidakuji walker does.
  - Its other callees are func_02012718 (eleven sites), func_020126e8 and
    func_020126ac (six sites each, always as a pair immediately before a run of
    five 020d25fc probes), func_02012dbc (one), and one arm_call to 0x01ffabe4;
    it also carries one load reloc to 0x0212e1c0.
  - It opens with a per-walker countdown over the release delays at +0x46b8 --
    the same field the round setup staggers -- and returns early when +0x46c8 is
    not positive.
  - It then materialises THIRTEEN constants before the per-walker loop (0xd7,
    0xcf, 0xc7, 0xbf, 0xe0, 0x1c0, and 1..7) -- nine of them pushed to its own
    frame (0xd7, 0xcf, 0xc7, 0xbf, 0xe0, 0x1c0, 2, 5, 7), the other four held
    in r6, r5, fp and r4 -- which is what a goal-row Y table plus a direction
    set looks like.
  - The per-walker loop switches on the walker's X against 0x20, 0x60, 0xa0 and
    0xe0 -- the four rails again -- compares each against the goal columns at
    +0x4714, +0x4718, +0x471c and +0x4720, and sets an arrival byte at +0x5398
    through +0x539b.
  - Three of its instructions dispatch slot 36, so the mode branch inside it is
    still code the port cannot run.

LINKAGE, measured on both ends by two builds of this tree:

    7101 / 11285 (62.9%)  ->  7103 / 11285 (62.9%)     +2

  by module, the only two rows that moved:

    module   total  linked  unlinked   linked
    ov004      280     249        31    88.9%    (was 248, 88.6%)
    ov006     1868    1164       704    62.3%    (was 1163)

  +2 against two slice lines, which closes exactly. Battery ALL GREEN over all
  23 scenes, ptr_audit 0 unhosted code pointers, both arity ratchets 0 NEW, and
  the curling canary on scene 374 reports 32557 call(s) / 32557 routed / 0
  UNHANDLED -- the same number section 19 records, which is what says this lane
  did not reach into anybody else's data.

WHAT THIS SECTION DOES NOT KNOW.
  - WHETHER THE BOARD IS DRAWN RIGHT. The rasteriser is verified as far as an
    identical mnemonic multiset over 165 instructions, and the rails it is
    called with match the walkers' start positions, but no frame has been held
    next to a DS.
  - WHAT THE OTHER MODE LOOKS LIKE. The port still takes ov005 row 0, so slot 36
    answers false 5831 times out of 5831 and "Connect the Characters" has still
    never been run. Both new bodies have a mode-2 arm that no run here entered.
  - TOUCH IS STILL UNMEASURED. Section 19 left it open and it stays open: the
    line the stylus would draw goes through the rasteriser seated here, but
    nothing in this lane drove a stylus.

22. THE WALKERS WALK: SCENE 371's LAST FLOOR, run mg10 lane WALKER
--------------------------------------------------------------------------------

Worktree C:/tmp/mWk, branch mg10-walker, base bae3a92e6, private build
C:/tmp/mWk/build/port with CMAKE_HOME_DIRECTORY verified C:/tmp/mWk/port.

SECTION 21 PART 6 WAS A GOOD MAP AND ONE OF ITS READINGS WAS WRONG. The
eight-neighbour reading, the forty-two probe sites, the four rails, the +0x5398
arrival bytes, the three slot-36 dispatch addresses and the single caller were
all confirmed against a fresh disassembly before a line of C was written. Two
entries do not survive that check and they are CORRECTIONS, not refinements:

  CORRECTION 1, AND IT IS A WRONG READING RATHER THAN A VAGUE ONE. Section 21
  part 6 says the thirteen constants "read as a goal-row Y table plus a direction
  set". THERE IS NO GOAL-ROW Y TABLE. The nine frame slots and four registers
  hold sp+0x10 = 0xe0, +0x14 = 0xbf, +0x18 = 0xc7, +0x1c = 0xcf, +0x20 = 0xd7,
  +0x24 = 0x1c0, +0x30 = 5, +0x34 = 2, +0x38 = 7, r6 = 1, fp = 4, r4 = 6,
  r5 = 3. ALL SIX of the non-direction values are SOUND IDS, checked at their
  use sites rather than inferred from their magnitudes: 0xbf, 0xc7, 0xcf and 0xd7
  are picked by a four-entry jump table at 0x020d2b04 on the winner's goal index
  and each is loaded into r0 immediately before a `bl func_02012718`; 0xe0 is the
  arrival sound, loaded into r0 before func_02012718 at 0x020D2AE0 and 0x020D2C2C;
  and 0x1c0 is the rail-snap note, loaded into r0 before func_020126ac at
  0x020D2F98 and its five siblings. r0 is the sound-id parameter in both callees.
  The remaining seven, 1..7, are the direction numbers. So the six values that
  looked like a row table are six sound ids and NOT ONE of them is a row.

  0xe0 IS WHY THE WRONG READING WAS PLAUSIBLE, and it is worth naming so the next
  reader does not repeat it: 0xe0 is also the fourth rail's X coordinate, and this
  body really does compare columns against 0x20 / 0x60 / 0xa0 / 0xe0 a few hundred
  instructions further down. The constant in the entry block is not that one. A
  magnitude that matches a known coordinate is a coincidence until the use site
  says otherwise, and here the use site says sound.

  Section 21's own text is left standing and is corrected HERE rather than edited
  in place, so the record shows what was believed and when.

  CORRECTION 2. "Three of its instructions dispatch slot 36" is true and the
  natural reading of it is not: they are NOT three per tick. All three sit on the
  fall-through of `cmp r1,r0 / ble 0x020d2e78` at 0x020d28f4, that is, entirely
  inside the ARRIVAL arm -- the walking arm begins at 0x020d2e78 and contains
  none of them -- and 0x020d2ab0's `bne 0x20d2d84` routes to EITHER the second or
  the third and never both. So the count is TWO PER ARRIVAL. A lane predicting
  "+3 per tick execution" from section 21 would have predicted a rise of about
  2400 at 1200 frames; the measured change is a FALL of 1309.

  ov006's base 0x020bfec0 was PROVEN before any disassembly was trusted, on
  section 21's own control: _ZN12dScMgAmida_c9Virtual8CEv and _020d1188 reproduce the
  six-instruction cmp #1 / cmp #2 mode predicates instruction for instruction.
  The body decoded to 899 instructions plus a 15-word pool, exactly as mapped,
  and the reloc join over its range returns 68 rows that match the map's counts
  term for term (42 + 11 + 6 + 6 + 1 + 1 + 1).

---- 1. WHAT THE BODY IS ---------------------------------------------------

AN EIGHT-NEIGHBOUR LINE FOLLOWER WITH A RAIL SNAP. Per walker, per tick, once
its release delay at +0x46b8 has run out:

  ROW <= the board bottom at +0x4700 -- THE WALKING ARM. If the walker has not
      picked up the line yet (step state at +0x4680 is 0 or 1) it moves down one
      row and probes LEFT then RIGHT. Otherwise it switches on the direction at
      +0x4684 and tries FIVE directions in preference order, taking the first
      that hits; when all five miss it turns around. The order is per-direction
      and hand-written rather than generated -- the current direction first, then
      its two 45-degree neighbours, then its two 90-degree ones, but which of
      each pair comes first varies row to row -- and the fallback is always the
      180-degree reverse:

          dir  probes in order        fallback
           0   0, 1, 3, 5, 2              7
           1   1, 0, 2, 3, 4              6
           2   2, 1, 4, 0, 7              5
           3   3, 0, 5, 1, 6              4
           4   4, 2, 7, 1, 6              3
           5   5, 6, 3, 0, 7              2
           6   6, 5, 7, 3, 4              1
           7   7, 6, 4, 5, 2              0

      Forty of the forty-two probes are that table; the other two are the
      left-then-right pair above it.

  THE RAIL SNAP is the half that ties this body to the board. Six of the eight
      directions guard on the walker's column FIRST: the three with a leftward
      component (0, 3, 5) check 0x21, 0x61, 0xa1, 0xe1 and step LEFT, the three
      with a rightward component (2, 4, 7) check 0x1f, 0x5f, 0x9f, 0xdf and step
      RIGHT, and both land on 0x20, 0x60, 0xa0 or 0xe0. Direction is then forced
      to 6 (straight down), the step state is set to 1, and a note plays at sound
      id 0x1c0. Directions 1 and 6 carry no guard because they do not move the
      column at all. Those eight constants were read out of THIS body and only
      then found to be the rails section 21 part 1 derived from
      func_ov004_020ae5c4's call sites and the columns func_ov006_020d36a4's tail
      writes. Three independent derivations agree.

  ROW > the bottom -- THE ARRIVAL ARM, and it is where the mode lives. The
      walker's column is switched against the same four rails and compared
      against the goal columns at +0x4714..+0x4720. In mode 2 each walker has
      its OWN goal index at +0x46a4; otherwise every walker is looking for the
      single index 1. A miss sets the per-rail byte at +0x5398..+0x539b.

---- 2. THE MOTION WITNESS, WHICH IS THE WHOLE POINT ------------------------

SECTION 21 PART 5 COULD SAY THE SCENE DOES NOT PLAY AND NAME THE REASON. This
section can say it plays. Before this lane, scene 371's 300-frame and 1200-frame
BMPs were ONE sha256 -- nine hundred frames apart and not one pixel different.
After it, six frame counts give SIX DISTINCT IMAGES, and the walker's own state
words (the census reads them out of the object now, rather than only counting
dispatches) trace a whole amidakuji round:

     60f   col 96  row -204  dir -1  step 0   on its start rail, no line yet
    150f   col 70  row -167  dir  3  step 2   following a rung LEFT, mid-span
    300f   col 32  row -102  dir  6  step 1   snapped onto rail 0x20, descending
    600f   col 96  row   42  dir  6  step 1   crossed back to rail 0x60
    900f   col 96  row  153  dir  6           past the bottom (layout 152),
                                              arrival mark +0x5399 = 1, state 3
   1200f   unchanged -- the round is over

  THE ARRIVAL BYTE THAT GOT SET IS THE SECOND OF THE FOUR, which is the rail the
  walker is standing on. Nothing chose that; it falls out of the column. And
  col 70 at 150 frames is not a rail at all -- it is mid-rung, which is what says
  the walker is walking the horizontal line rather than teleporting between
  rails.

  A DISPATCH COUNT COULD NOT HAVE SAID THIS, and that is why the census was
  changed. Slot 36 at 300 frames is UNCHANGED at 1331, because at 300 frames no
  walker has reached the bottom and the arrival arm has not run. At 1200 frames
  it FALLS from 5831 to 4522 -- a floor closing made a counter go DOWN -- because
  the class no longer spends every frame in the same state: +0x46d0 advances from
  1 to 3 between frame 600 and frame 900, which only the arrival arm can do. A
  lane reading only "slot 36 went up by N" would have called that a regression.

---- 3. THE BYTE GATE, AND THE TWO LEVERS ----------------------------------

NONMATCHING at 0xe40 vs 0xe48: TWO code words short, the pool the SAME fifteen
words (ROM 899 code + 15 pool, candidate 897 + 15). A CODE-ONLY structural diff
leaves ELEVEN ROM instructions and NINE candidate instructions without a
counterpart, at THREE sites: the if-conversion at 0x020D2D40 plus its second
epilogue block (7 ROM against 6 candidate, one word), the register-allocation
copy at 0x020D2934 (3 against 2, one word), and one scheduling move of
`mov r8,#0` (1 against 1, no words). 7 + 3 + 1 = 11 and 6 + 2 + 1 = 9, so the
decomposition closes on its own headline, and 1 + 1 = 2 is the size deficit
exactly. 2004/b56 by a wide margin -- the next best build is 1.2/base at 199.

  THE TOOLING PRINTS 12 AND 10 AND THAT IS NOT AN ELEVENTH AND TWELFTH
  DIVERGENCE. runs/mg10/out/WALKER/score2.py and hunks.py disassemble the WHOLE
  symbol, literal pool included, so pool word ELEVEN of fifteen at 0x020D3610
  counts as one ROM-only instruction and one candidate-only one. That word is
  0x0212e1c0 in the ROM and zero in the object because it carries the load
  RELOCATION to data_ov006_0212e1c0. The pool is otherwise word-for-word
  identical. THE LEVER LADDER BELOW IS ON THE WHOLE-SYMBOL METRIC, one pair
  higher than the code-only count throughout, so its entries are comparable with
  each other; the shipped file reads 12 there and 11 code-only. An earlier draft
  of this section, of the TU banner and of the near-miss note presented 12 as
  decomposing into the three sites, which it does not -- the three sites hold
  eleven.

TWO LEVERS DID ALL THE WORK AND BOTH ARE REUSABLE:

  #pragma optimization_level 2. Without it this body sits at 303 differing
      instructions; with it, 12. The precedent for an optimisation-level pragma
      in this tree is src's single `#pragma O3`. `#pragma O2` is NOT the same
      thing and does nothing here, while `optimization_level 2` reproduces
      -O2,p exactly under the repo's canonical -O4,p flags.

  THE ADDRESS OPERAND ORDER, and this one is cheap enough that every future lane
      should try it first. Spell a member address `(sb) + (i) * K + 0xNNNN` and
      NOT `(sb) + 0xNNNN + (i) * K`. The two are the same expression in C and
      they are not the same instructions: constant-first, mwccarm folds sb with
      the constant and emits `add rX,sb,#0x4000 / ldr rD,[rX, i lsl 3]`;
      index-first it emits the ROM's `add rX,sb,i lsl 3 / ldr rD,[rX,#0xNNN]`.
      It is section 21 part 3's "indexed pointer versus byte-offset expression"
      seen from the other end, and unlike that one it is a rule rather than a
      per-array coin flip.

      THE REVERT IS SPELLED OUT SO ITS FIGURES CAN BE RE-DERIVED, because a
      lever number nobody can reproduce is a claim and not a measurement. TEN
      spellings in the TU carry the order: SEVEN member macros (DELAY, GOAL,
      COLP, ROWP, DIRP, STEPP, DONEP) and THREE inline expressions in the body
      (`sb + j * 4 + 0x46b8` in the countdown loop, and `w + 0x4664` once and
      `w + 0x4660` twice, where the walker base is reused). The inline flips are
      to `sb + 0x46b8 + j * 4`, `sb + 0x4664 + i * 8` and `sb + 0x4660 + i * 8`
      -- CONSTANT-FIRST AGAINST sb, which is the transform under test. Six
      measurements, each naming the exact set flipped:

          shipped, index-first throughout ......................... 12
          the ONE countdown-loop inline only ..................... 23
          the THREE inline expressions only ...................... 28
          the SEVEN member macros only ........................... 49
          the seven macros + the countdown inline (EIGHT) ........ 60
          ALL TEN spellings ...................................... 65

      THE SETS DO NOT ADD, and the ladder is six rows for that reason: 49 for the
      macros and 23 for the countdown inline against 60 for their eight-spelling
      union, not 72. NO claim is made about why they interact, because that was
      not measured.

      ONE WRONG WAY TO FLIP THEM IS RECORDED SO THE LADDER CANNOT BE
      MISREPRODUCED, and it is the mistake this section already made. Reaching
      the w pair by commuting the addition in place -- `w + 0x4664` written as
      `0x4664 + w` -- is INERT. It measures 12, byte-identical to shipped,
      because it only reorders an addition against a pointer mwccarm has already
      computed. An earlier draft of this section flipped the pair that way, so
      its "three inline expressions alone" was really the countdown inline's own
      figure (23) and its "all ten" was really the eight-spelling figure (60):
      two real measurements under two wrong labels. An independent rebuild of
      each named set is what caught it, which is the general lesson -- a lever
      figure is only reproducible if the SET is named as precisely as the number,
      and a flip that changes nothing looks exactly like a flip that was applied.

      AN EARLIER DRAFT OF THIS SECTION CLAIMED "84 differing instructions to 40"
      for this edit. Both numbers were real readings taken mid-session, but the
      intermediate source states behind them are preserved nowhere, so the figure
      was not re-derivable from anything committed and it is withdrawn. The three
      measurements above replace it and every one of them can be reproduced from
      the shipped TU with the flip list named here.

THERE ARE NOW TWO NEAR-MISS ROWS FOR THIS ADDRESS AND THE OLDER ONE IS DEAD,
which is said here rather than left for whoever queries the database by name.
nearmiss/db.jsonl already carried a func_ov006_020d27dc row from the automated
grind batch `lunavyqo-batch2-grind`, at 184 divergences, and nothing in the
schema marks a row as superseded. This lane's row is the one to read: it is
tagged `run: mg10 lane WALKER`, it is the only one of the two with a
`candidate_size` and a `note`, and its c_source is byte-equal to the shipped TU.
The old row is left in place because the database is a history of attempts and
deleting a losing attempt hides the ladder that was climbed.

RELOC DESTINATIONS, AND A GATE VERDICT THAT NEEDS READING TWICE.
reloc_audit.check_destinations run directly on the object returns 68 rows,
verdict EXTRA on all 68, missing 68. THAT IS AN ALIGNMENT ARTEFACT AND NOT A
WRONG DESTINATION: the check looks its config row up by absolute address, and
every one of the 68 relocations sits past the first lost word, so every offset
misses. The check a size-shifted body does admit was run instead: 68 both sides,
destination SEQUENCE identical in address order, and the per-relocation shift is
exactly 4 bytes for the first EIGHT and 8 bytes for the remaining SIXTY, the
split falling precisely on the second lost word. THE SHIFT PATTERN IS ITSELF A
CONFIRMATION of where the two words went.

---- 4. LINKAGE, AND SECTION 21's PREDICTION COMES TRUE ---------------------

    7118 / 11292 (63.0%)  ->  7121 / 11293 (63.1%)     +3 linked, +1 total

  THE DENOMINATOR MOVES BY ONE AND AN EARLIER DRAFT PRINTED 11293 ON BOTH ENDS.
  That was a measurement artefact, not a convention: port/tools/linkage.py builds
  its universe from the DISTINCT STEMS of every .c and .cpp under src/ (its
  matched_tus() walks src/ and keys on the file stem), and this lane ADDS one --
  src/func_ov006_020d27dc.c. The before-figure was taken after that file was
  already committed, so it read the tip's denominator with the new TU present but
  not yet linked; the linked count 7118 was unaffected and is right. Re-derived
  from git rather than from a rerun: `git ls-tree -r --name-only bae3a92e6 src/`
  yields 11292 distinct .c/.cpp stems and the working tree yields 11293, the one
  difference being exactly this TU.

  THE SAME ARTEFACT IS IN SECTION 21's ROW AND IT IS FLAGGED HERE RATHER THAN
  EDITED THERE, since a lane does not rewrite another lane's record. Section 21
  prints `7101 / 11285 -> 7103 / 11285`, but that lane landed TWO new src files
  (src/func_ov004_020ae5c4.cpp in 5c173cb62 and src/func_ov006_020d36a4.cpp in
  a8f292cd0), so its universe grew by two and its BASE denominator was 11283 --
  which is exactly the figure section 20 records as its own tip. Sections 19 and
  20 are unaffected: their +217, +53 and +24 came from adding SLICE LINES for TUs
  that already existed in src/, which moves the numerator and not the universe.
  The rule for the next lane is short: the denominator moves if and only if you
  add a file under src/, and it moves by the number of NEW STEMS, not by the
  number of slice lines.

  by module, the only two rows that moved:

    module   total  linked  unlinked   linked
    arm9      3098    1880      1218    60.7%    (was 1879)
    ov006     1876    1181       695    63.0%    (was 1179)

  +3 AGAINST TWO SLICE LINES, AND THE THIRD IS THE INTERESTING ONE:

    arm9  +1   src/func_02012dbc.c, a new slice_mg1 line. Seating this body gave
               it its FIRST caller in the build -- the ROM has one call site for
               it in the whole overlay, at 0x020d2da0 in here -- so /OPT:REF had
               dropped it. It forwards to func_0204f9c4, already in that slice
               through func_02012dd0, so it pulled in nothing new.
    ov006 +2   src/func_ov006_020d27dc.c itself, AND src/func_ov006_020d25fc.c,
               which was already a slice line and was being DROPPED. Section 21
               predicted this in words: "every one of its 42 call sites is inside
               func_ov006_020d27dc, which is a trap". It was checked rather than
               assumed -- all 42 relocations to 0x020d25fc lie between 0x020d2ec8
               and 0x020d35b8, inside this body's span, and no other file in the
               tree calls it -- so pre-seat it had zero callers and now it has
               forty-two.

  A TRAP-SHAPED FLOOR HIDES ITS CALLEES FROM THE LINK, and this is the clean
  demonstration of the other half: closing one hides nothing any more, and the
  headline moves by more than the slice lines that were added.

---- 5. GATES ---------------------------------------------------------------

  build            green, every post-link guard passing
  battery          ALL GREEN -- 23 hosted scenes and every mounted level
  canary 374       32557 call(s) / 32557 routed / 0 UNHANDLED, exact
  scene 371        clean, exit 0, at 60, 150, 300, 600, 900 and 1200 frames
                   under SM64DS_FAULTS_FATAL=1
  scene 387        clean, exit 0, 300 frames, 0 UNHANDLED
  arity ratchets   receiver 166 baselined / 166 live / 0 NEW / 0 retired;
                   plain-name 117 / 117 / 0 NEW / 0 retired
  ptr_audit        0 unhosted code pointers

WHAT THIS SECTION DOES NOT KNOW.
  - WHAT MODE 2 STILL LOOKS LIKE. The port takes ov005 row 0, so slot 36 answers
    false every time it is asked and "Connect the Characters" has never run.
    This body's mode-2 arms -- the per-walker goal index at +0x46a4, the
    four-sound winner jingle, the 0x1c2 / 0x1c3 pair -- are still code no run in
    this tree has entered. That is now the only thing standing between this class
    and both of its titles.
  - WHETHER THE PICTURE IS RIGHT. Six BMPs are captured and they differ from each
    other, which is what proves motion. NOBODY HAS HELD ONE NEXT TO A DS, and
    this lane does not judge them.
  - TOUCH IS STILL UNMEASURED. Sections 19 and 21 left it open and it stays open.
    The line the stylus would draw goes through the rasteriser, and this body is
    what would follow it, but nothing here drove a stylus.
  - THE ROUND RAN WITH ONE WALKER. +0x46c8 is 1 on this seat, so the many-walker
    arm of this tick and the many-walker arm of the round setup are both
    exercised only in their single-walker form.


23. THE SEQUEL'S TABLE IS NOT ITS NEIGHBOUR'S, run mg11 lane PGO
--------------------------------------------------------------------------------

Worktree C:/tmp/mBa, branch mg11-pgo, base 98a4c0e8f, private build
C:/tmp/mBa/build/port, CMAKE_HOME_DIRECTORY verified C:/tmp/mBa/port.

dScMgMCarlo2_c, actor id 0x17e = scene 382, "Pair-a-Gone And On" -- the
ENDLESS-MODE sequel to the Pair-a-Gone run mg9 lane S381 seated at 0x17d.
Section 3's row 36 / 14 / 11 / 1 is confirmed exactly and its nosrc column is
explained rather than paid.

THIS SECTION IS APPENDED AT THE FILE'S END ON PURPOSE. Its one entry for
section 20's routing list is written out below rather than inserted up there,
because nine mg11 lanes run against this file at once and a mid-file insertion
is the merge conflict every one of them would take. The merge gate should move
routing item 5 into section 20 when it lands, or leave it here and say so.

(1) THE ATTRIBUTION FINDING, AND IT IS THE SAME TRAP LKY CAUGHT ONE CLASS OVER

A run of TWENTY-FIVE mwcc {code, 0} pairs starts at 0x0213d878, the word
IMMEDIATELY after this class's vtable ends, and __sinit_ov006_02131a38 copies
all twenty-five into five .bss dispatch tables: 0x02142604 (4 pairs),
0x02142624 (4), 0x02142644 (5), 0x0214266c (5) and 0x02142694 (7). Read by
address adjacency that is a fourteen-override minigame's state machine sitting
exactly where a state machine sits for eleven other seated classes.

IT BELONGS TO MgBobOmbSquad, actor 0x170, and four measurements say so:

  - every code word in the pairs lies in 0x020fa9c8..0x020fea54, PAST this
    class's code block, which runs 0x020f8ef4..0x020fa75c;
  - the five .bss tables are read from 0x020fad8c, 0x020fb66c, 0x020fc840,
    0x020fdaec and 0x020fe2b8 -- five dispatchers, every one in that later
    block;
  - MgBobOmbSquad's own vtable 0x0213d9cc holds 0x020fa75c and 0x020fa780 in
    slots 16 and 17, which places the start of ITS code block on the exact byte
    where this class's ends;
  - and the one that settles it: NO relocation anywhere in ov006 whose source
    lies in .init (0x0212f4c4..0x0213356c) targets this class's code block at
    all. The only ELEVEN .data relocations pointing into it are the SpawnInfo
    word (0x0213d70c), the element vtable's two (0x0213d728, 0x0213d72c) and
    the scene vtable's eight.

THE RUN CONTAINS A PHANTOM OF ITS OWN, which is why the count is 25 and not 26:
0x0213d910 holds {0x020ff3ec, 0x01700170}, MgBobOmbSquad's SpawnInfo record
sitting INSIDE the pair run. That is run mg9 lane WIG's hazard met from the
other direction -- WIG found a SpawnInfo inside a pair run it owned; this lane
found one inside a pair run it does not. The sinit skips the hole and so does
the relocation set, and a naive stride-8 sweep from 0x0213d878 counts 26.

SO THE STANDING RULE HOLDS AND GETS A SECOND WITNESS: sinit is ground truth for
slot ownership, the CODE BLOCK is ground truth for class ownership, and address
order is ground truth for neither. A lane that took these pairs would have
host-copied another minigame's five dispatchers.

(2) THE WIDTH CHECK THAT FAILS TO REFUSE, AND WHY THERE ARE FIVE OF THEM

Section 11's third check -- what the word past the end IS -- is FOOLED by this
class. Index 36 of 0x0213d7e8 reads 0x020fb4e0, a real code address in ov006,
because it is the code half of the first of those twenty-five pairs. The other
four checks all refuse a 37th slot on the same boundary:

  1. SPAN. Next config symbol after _ZTV14dScMgMCarlo2_c is data_ov006_0213d878.
     0x90 = 36 words.
  2. TERMINAL SLOT. Slot 35 holds 0x020ad660, the family terminator.
  3. THE WORD PAST THE END. 0x020fb4e0 -- FAILS TO REFUSE.
  4. RELOCATION COUNT. Exactly 36 load relocations inside
     0x0213d7e8..0x0213d878, sources complete from 0x0213d7e8 to 0x0213d874
     with no gap, and none on index 36's second word.
  5. RELOCATION STRIDE (lane LKY's). Sources step by 4 for exactly 36 words,
     then jump to 8 at 0x0213d878.

A 37-slot fill would have written a host thunk over the first state of
MgBobOmbSquad. This is the second class in the family (after 0x16f, section 3's
0x0213f844 row) whose phantom has a NAMED victim, and the first where check 3
is the one that breaks.

(3) THE nosrc COLUMN IS A DELINKS FACT, NOT A MISSING BODY

Section 3 gives this row `nosrc 1` and port/tools/vtablerows.py reports slot 19
(_ZN14dScMgMCarlo2_c13OnTurnIntoEggEi) as "NO SOURCE (no delinks block owns this address)". BOTH
ARE ACCURATE AND NEITHER MEANS THE BODY IS MISSING.

config/arm9/overlays/ov006/delinks.txt has a GAP at 0x020fa3d0..0x020fa4d4 --
src/minigames/d_s_mg_m_carlo2.cpp ends at 0x020fa3d0 and the next block starts 0x104
bytes later. src/minigames/d_s_mg_m_carlo2.cpp EXISTS and is a NONMATCHING TU, which is
what a delinks gap in this tree means: 45 such gaps exist in ov006 and
slice_boo.txt, slice_flw.txt and slice_ccn.txt each already carry a body out of
one (51 NONMATCHING TUs sit in seated slices tree-wide).

The body was compared with the ROM instruction for instruction before it was
sliced: 0x104 = 65 words = 59 instructions + 6 pool words (0x4f38, 0x5928,
0x020a0e40, 0x020a0de8, 0x020a0de9, 0x592a). Case 4 calls
func_ov006_020c1718(self+0x4f38) and bumps +0x5928; case 5 tests
data_020a0de8[idx*4] and data_020a0de9[idx*4] with idx = data_020a0e40[0], then
plays 0x62, sets +0x592a = 0x1e, calls _ZN14dScMgMCarlo2_c14FlipDealtCardsEv and bumps +0x5928;
the default arm calls ApproachLinear2(+0x592a, 0, 1) and returns 1 if it is
done. Every instruction, constant, offset and branch target in the ROM appears
in the src, and the src has nothing the ROM does not.

TRAPPING IT WOULD HAVE LEFT STATES 4, 5 AND 6 DEAD on a class whose whole round
END lives in them. The brief for this lane expected a trap; the measurement said
seat it, so it is seated and this paragraph is why.

ROUTING ITEM 5 HAS MOVED. It is now item 5 of section 20, where this section
asked the merge gate to put it. Nothing else from here moved.

(4) THE ELEMENT TABLE, WITH BOTH SLOTS WITNESSED

Section 3's ovr/mark/nosrc columns are computed over the SCENE vtable and cannot
see an element class. Lane S381 turned that into a family rule -- ask what the
ROM parks in the first word of every object the factory builds -- and this is
its second instance, one better than the first because BOTH slots are live here:

  dScMgMCarlo2_c_classInit (0x020fa6ac) calls __cxa_vec_ctor(this+0x51a8, 0x28,
  0x30, _ZN19dMgMCarlo2CardObj_cC1Ev, _ZN19dMgMCarlo2CardObj_cD1Ev). FORTY records of 0x30 bytes,
  and the element constructor's whole body is
  `p[0] = &_ZTV19dMgMCarlo2CardObj_c; p[1] = 0; p[2] = 0;`.

  _ZTV19dMgMCarlo2CardObj_c is dMgMCarlo2CardObj_c's vtable (typeinfo 0x0213d704 via
  the word at 0x0213d724, name string "19dMgMCarlo2CardObj_c" at 0x0213d758),
  TWO slots: {0x020f98dc the draw, 0x020f9994 the update}.

  SLOT 0 is dispatched by Render (src/minigames/d_s_mg_m_carlo2.cpp) with
  `ldr r1,[r0] / ldr r1,[r1] / blx r1` at 0x020fa0b4 and 0x020fa0f4, over two
  0x14-bounded walks of the list at data_ov006_02142578.
  SLOT 1 is dispatched by the PAIR MATCHER _ZN14dScMgMCarlo2_c11UpdateBoardEv, which slot 6
  calls every frame, with `ldr r2,[r0] / ldr r2,[r2,#4] / blx r2` at 0x020f9400
  and 0x020f948c.

  Only two relocations in all of ov006 name 0x0213d728, and they are this
  class's element constructor pool (0x020fa758) and element reset pool
  (0x020f8ffc). Nothing else builds one.

THE TWO PATHS SEPARATE UNDER SM64DS_SCENE_NO_RENDER=1, which is what makes the
counters evidence rather than decoration: draws fall to 0 while updates stay at
1280 and behavior stays at 253. A single combined counter would have shown one
number and proved nothing about either.

(5) WHAT THE TITLE CHAIN GAVE AND WHAT IT COST TO READ IT PROPERLY

ov005 row 25 is the ONLY row whose id word is 0x17e. Its param is 0x00191901 ->
save record 25, name-text 25, mode byte 1. data_ov004_020bc070[25] = 573 and
message 573 of msg_data_eng.bin is "Pair-a-Gone And On / This game of
Pair-a-Gone goes on forever! / Test your skill and see how many cards you can
clear. / Go for the record!"

Run mg9 lane S364's table correction was OBEYED rather than sidestepped:
data_ov004_020bc070 is arithmetic (548 + i) only for indices 0..23, and 24..35
are an explicit list reading 588, 573, 586, 575, 576, 577, 585, 589, 580, 587,
582, 583. Index 25 is IN the explicit half and its value happens to equal
548 + 25, so computing it would have been right BY LUCK here. It was read out of
the ROM, and index 24 (588, not 572) is the control that shows why that matters.

THE MESSAGE IS WHAT MAKES THE CLASS'S NUMBERS MAKE SENSE. Forty card records
against the sibling's eighty, and no board ladder: the sibling's
_ZN13dScMgMCarlo_c10SetupBoardEP18dMgMCarloCardObj_c picks 6x6 / 8x7 / 10x8 off the saved clear count, and this
one deals a fixed board forever.

(6) WHAT THE SEAT MEASURED, on this tree, both ends

LINKAGE  7121 / 11293 (63.1%)  ->  7146 / 11293 (63.3%)   +25
  which is the slice's line count EXACTLY, all 25 of them, and lane PPP's rule
  holding again. By module: ov006 1181 -> 1206 (+25) and NOTHING ELSE MOVED --
  arm9 stayed at 1880, ov004 and every other module unchanged. Both ends were
  built in this worktree, base first.

  ONE HONEST NOTE ON THE DENOMINATOR. port/tools/linkage.py's "matched TUs in
  src/" counts every .c/.cpp under src/, NONMATCHING banners included, so the
  slot-19 body at 0x020fa3d0 is one of the 25 and one of the 11293. The +25 is
  exact under that definition; it is not 25 newly BYTE-MATCHED functions.

THE BOOT, SM64DS_FAULTS_FATAL=1 with nothing switched off:

    frames    5      init 1, behavior    0, render    5, state-reset 1, slot19 0
    frames   30      init 1, behavior    0, render   30, state-reset 1, slot19 0
    frames   60      init 1, behavior   13, render   60, state-reset 1, slot19 0
    frames  120      init 1, behavior   73, render  120, state-reset 1, slot19 0
    frames  300      init 1, behavior  253, render  300, state-reset 1, slot19 0
    frames 1200      init 1, behavior 1153, render 1200, state-reset 1, slot19 0
    exit 0 and ZERO bytes of stderr on all six.

    state index +0x5928     1, 1, 2, 2, 3, 3 across those six counts. Slot 18
                            sets it to 1 and slot 6 walks it to 3. THE SWEEP IS
                            THE POINT: a single 300-frame reading of "3" cannot
                            tell a machine that ran from one that was born at 3.
    fill claims             middle table 0, derived table 14 of 8 + 8 face rows,
                            card table 2 of 2. The 14 is this class's own eight
                            plus six of the middle base's eight; the two that do
                            not land are that base's D2 and D0 (0x0210a4b0 and
                            0x0210a4e8), which slots 16 and 17 override.
    card draws              100 / 600 / 1200 / 2400 / 6000 / 24000 -- EXACTLY 20
                            a frame from the first frame, which is the render's
                            own 0x14 bound and also the number of cards the
                            capture shows on the board.
    card updates            0 / 0 / 0 / 0 / 1280 / 19280 -- zero until the class
                            reaches state 3, because the update is the pair
                            matcher's and the matcher only runs in the play
                            state. Two dispatch paths, two different shapes.
    card array              40 of 40 records hold a vptr on every run.
    UNHANDLED               0 on all six.
    spawn param             0x00191901 -> save record 25, name text 25, which is
                            what the ov005 table says and is the row this seat
                            verified rather than assumed.

SLOT 19 IS NEVER ENTERED ON AN UNATTENDED BOOT AND THAT IS HONEST RATHER THAN A
GAP -- section 16's distinction. It handles states 4, 5 and 6, and slot 6's case
3 only advances into them when func_ov006_020c16b4 reports a stylus pick.
Nothing here drives one. SLOT 3 (CleanupResources), D2 and D0 are zero for the
same class of reason: a run that ends by exiting the process never tears the
scene down.

CANARIES.
    sibling 381   CLEAN, and byte-identical to what port/slice_s381.txt records:
                  init 1, behavior 253, render 300, state-reset 1, slot19 0;
                  fill claims middle 0, derived 13, card 2 of 2; card
                  dispatches 6000 draws / 1280 updates; state index +0x60a8 = 3;
                  80 of 80 records. Its element-card discovery still routes with
                  this seat's fifth copy of kSingle3DFaces in the table.
    curling 374   32557 call(s) through the address switch, 32557 routed to a
                  dScMgCurling_c state, 0 UNHANDLED. EXACT.
    battery       ALL GREEN. 46 levels, 24 hosted scenes (23 + this one), every
                  smoke, linkage 7146, ptr_audit 0 unhosted code pointers.
    vtablerows    reconstruction EXACT, 29/29, totals 353/264/4.
    alias_audit   LIVE, no linked TU contradicts its binding.
    aritycheck    receiver 166/166/0 NEW, plain-name 117/117/0 NEW.
    COFF scan     26 objects, 148 undefined externals, THREE short names and all
                  three are the C runtime (atexit, fflush, getenv). No bare
                  VT/HEAP/G0 row is owed by this slice.
    run_checks    one red and it is section 18's KNOWN FALSE RED. vtspan --fills
                  names 21 fills short, TWENTY OF WHICH EXIST AT THE BASE COMMIT
                  and none of which is in vtspan_fills_baseline.txt -- so the
                  check was already red before this seat added the twenty-first
                  name. The baseline was NOT appended. Twelfth instance.

EIGHTEEN NAME-SPELLING ALIASES, ALL READ OFF THE LINK. Sixteen data spellings
and TWO FUNCTION ones, which is a shape no earlier minigame lane recorded:
src/minigames/d_s_mg_m_carlo2.cpp declares `void ApproachLinear(int&, int, int)` and
`void ApproachLinear2(short&, short, short)` at namespace scope while the port
defines both as extern "C" bodies under their mwcc names that RETURN int. The
disagreement is the return type and the reference-versus-pointer spelling,
neither of which changes a byte of the 32-bit cdecl frame -- and all four call
sites discard the result, which was checked rather than assumed. The sixteen
data rows are each address-only and none is a member pointer; the six
`struct Node *` spellings are section 10's @@3PAU shape with S381's answer (a
single word holding a pointer, not a strided table).

WHAT THIS SECTION DOES NOT KNOW.
  - WHETHER THE PICTURE IS RIGHT. Eight BMPs are captured -- 512x384 and stacked
    512x832 at 300, 600 and 1200 frames, plus the sibling for comparison -- and
    the bottom screen shows a dealt 5x4 board whose twenty cards match the
    twenty draws a frame the counter reports. NOBODY HAS HELD ONE NEXT TO A DS
    and this lane does not judge them.
  - WHAT THE MODE BYTE DOES. The ov005 param's low byte is 1 here and 0 on the
    sibling. dScMgBase_c's constructor keeps it in field 8, and no body in this
    class's twenty-five reads field 8 -- every `[rX,#8]` in the block is a
    Node's `next`. Whether anything else in the family reads it is not measured.
  - TOUCH IS UNMEASURED. The class is a stylus card game and states 4, 5 and 6
    are reachable only through a pick. Nothing here drove one, so the round has
    never ENDED in this tree.
  - THE SAVE RECORD IS THE PORT'S USUAL GAP. Record 25 reads {0,0,0,0,0} on
    every boot because the port has no backup cart. Section 17's gap, unchanged.

(7) THE BRACKET TRAP IS REAL AND THE STANDING RULE OVERSTATES IT

port/slice_s381.txt states the rule as "an UNMATCHED open bracket in any line
swallows every line AFTER IT into that one list element", and run mg9 lane S364
ate the same trap independently. This lane scanned all 150 slice_*.txt files for
lines whose `[` and `]` counts disagree, found exactly one file that is not its
own -- port/slice_gate21.txt lines 119 and 120, a `[D1, D0, GetPos,` /
`GetOwnerID],` range split across two lines with THIRTEEN src rows after it --
and then had to decide whether that file has been silently dropping thirteen
functions since it landed. IT HAS NOT: all thirteen have objects in all three
targets on this build.

RATHER THAN LEAVE THAT AS A CONTRADICTION, the mechanism was pinned with a
four-file CMake fixture (file(STRINGS) over the same shapes, list length and
elements printed):

    shape                                        list length   effect
    no bracket at all                                      3   baseline
    `[` and `]` on ADJACENT lines                          3   those two lines
                                                               merge; everything
                                                               after survives
    `[[` and `]]` on adjacent lines                        3   same
    `[` with NO `]` anywhere in the file                   1   the whole rest of
                                                               the file collapses
    `[` whose `]` comes several lines LATER, past src rows 2   every line from the
                                                               open to the close
                                                               becomes ONE element
                                                               -- the src rows
                                                               INSIDE are lost;
                                                               only rows after the
                                                               close survive

SO THE CORRECT RULE IS "AN OPEN `[` SWALLOWS EVERYTHING UP TO ITS MATCHING `]`",
not "everything after it". The two differ exactly where it matters: a range that
closes on the next line is HARMLESS (slice_gate21's is, and so are the four
`ldr r1,[r0]` quotations in slice_s381 and the twenty-odd in other slices), and
a bracket that never closes -- or that closes below the source rows -- is fatal.
S381's own broken version must have been the never-closing kind, which is why
its list came back 94 long for a 246-line file with every kept line a comment.

The 0xAAAA..0xBBBB spelling convention stays exactly as it is; this only stops
the next lane from spending an hour on a two-line range that was never a
problem, and tells it which shape to actually look for.

THE SCOPE FIGURE IN THE PARAGRAPH ABOVE WAS WRONG ON ITS FIRST WRITING, AND THE
CAUSE IS WORTH MORE THAN THE DIGIT. It read 141; the count is 150 (149 tracked
port/slice_*.txt at base 98a4c0e8f plus this lane's own slice_pgo.txt), and the
lane reviewer caught it. The scan itself was real and its conclusion is
unaffected -- it globbed `port/slice_*.txt` and reported every line whose bracket
counts disagree -- but IT NEVER PRINTED A TOTAL. Only the offending lines were
printed, so the "141" was written from memory beside a measurement that did not
include it. That is a worse shape than a stale number, because a stale number
was once true: a scope figure standing next to real evidence borrows the
evidence's credibility without ever having been measured. A scan whose scope a
sentence quotes must PRINT its scope, and this one now has `git ls-tree -r
--name-only <rev> -- port/ | grep -c '^port/slice_.*\.txt$'` behind it at both
ends.
