# Gate PCH: dScMgPachinko_c, actor id 0x170 (scene 368), the "Bob-omb Squad"
# slingshot minigame. Run mg5, lane PCH.
#
# EVERY ADDRESS BELOW WAS RE-DERIVED FROM THE ROM BY THIS LANE rather than
# taken from the brief, and one thing the brief said is confirmed and one is
# refined. Confirmed: the RTTI at 0x0213d960 reads "15dScMgPachinko_c", the
# doubled-id word 0x01700170 sits at 0x0213d914 so the SpawnInfo record is
# 0x0213d910, its factory word is 0x020ff3ec, and that factory's only ov006
# literal-pool load is 0x0213d9cc -- the vtable. Refined: see the width note.
#
# THE CLOSURE IS A TWO-ROOT WALK, the correction port/mg_fanout_costs.txt
# section 1 makes to the scout's SpawnInfo-only ranking, with three roots added
# that a seating lane needs and a costing lane does not:
#
#     root 1   the SpawnInfo record at 0x0213d910
#     root 2   the class's own .init constructor, __sinit_ov006_02131a38
#              (.init 0x02131a38..0x02131cd0), attributed by address
#              containment: its copied pairs run 0x0213d878..0x0213d940 and
#              that range brackets the SpawnInfo at 0x0213d910
#     root 3   the 36 vtable slots, because the seat fills them
#     root 4   the 25 state addresses stategen resolves out of root 2
#     root 5   the five dispatching TUs that read those five tables
#
#     reached   ov006 66   ov004 86   ov001 4   arm9 467
#     in no existing slice_*.txt   ov006 65   ov004 13   arm9 53
#
# THE arm9 HALF IS NOT LISTED, for port/mg_fanout_costs.txt section 5's reason:
# the matched arm9 TUs come back through /OPT:REF once ov004/ov006 reference
# them. The 53 arm9 lines the walk found in no slice are deliberately left for
# the LINKER to ask for -- section 10's wave method -- rather than guessed into
# this file.
#
# ---- THE WIDTH IS 36 AND THE 37th SLOT WOULD HIT THE SIBLING CLASS ----------
#
# dScMgPachinko_c was one of the twelve classes port/mg_fanout_costs.txt section
# 11 corrected from 37 to 36, so this lane re-ran all three of that section's
# checks before writing a line of seat code, and all three agree on 36:
#
#   1. SPAN. config/arm9/overlays/ov006/symbols.txt has data_ov006_0213d9cc
#      followed by data_ov006_0213da5c. That is 36 words. A 37th slot cannot
#      exist inside this symbol; index 36 IS the next symbol.
#   2. TERMINAL SLOT. Slot 35 holds 0x020ad660, the value every
#      dScMgBase_c-derived table in the family holds at slot 35.
#   3. WHAT THE WORD IS. Index 36 is 0x021019e0 and index 37 is 0x00000000 --
#      an mwcc pointer-to-member pair {code, adj} and not a vtable slot.
#
# AND THE VICTIM IS NAMED, which is what makes this more than a span argument.
# src/__sinit_ov006_02131cd0.c line 89 reads
#
#     data_ov006_02142734.p4 = data_ov006_0213da5c;
#
# and __sinit_ov006_02131cd0 is the overlay constructor of dScMgPachinko2_c,
# id 0x171, MgLakituLaunch -- its copied pairs run 0x0213da5c..0x0213db44 and
# bracket the SpawnInfo at 0x0213da64. So a 37-slot fill of THIS class writes a
# host thunk pointer over the code word of state 4 of the SIBLING class, which
# is the exact shape section 11 found for 0x169 against curling. 0x171 is not
# this lane's class and is not seated here; the corruption would have been
# latent until somebody seated it.
#
# ---- WHAT IS EXCLUDED, AND WHY EACH ONE IS -------------------------------
#
# THE FIVE DISPATCHING TUs. All five of this class's state tables are read by
# exactly one TU each, and all five are host-copied in
# port/unmatched/MgPachinko_StateDispatch.cpp because the mounted pair words
# hold DS code addresses that no host symbol names:
#
#     src/func_ov006_020fad34.cpp   data_ov006_02142604
#     src/func_ov006_020fc7d0.cpp   data_ov006_02142624
#     src/func_ov006_020fe248.cpp   data_ov006_02142644
#     src/func_ov006_020fb60c.cpp   data_ov006_0214266c
#     src/func_ov006_020fda7c.cpp   data_ov006_02142694
#
# ONLY TWO OF THE FIVE ARE THE POINTER-TO-MEMBER WALL, and the split is the one
# section 4's rulebook corollary keys on. A `::*` sweep of the whole 623-TU
# closure -- run because "a link is not a complete detector for this wall" --
# returns exactly two ov006 TUs, and both are this class's:
#
#     func_ov006_020fad34   `typedef void (C::*PMF)(int); struct Entry{PMF pmf;};`
#                           declared INSIDE extern "C", so it mangles to the
#                           plain C name the mount already defines and the
#                           LINKER IS SATISFIED. It is section 4's silent
#                           extern-"C" class: sizeof(Entry) is 4 on MSVC where
#                           the ROM strides 8.
#     func_ov006_020fb60c   `extern PMF data_ov006_0214266c[];` at file scope
#                           OUTSIDE extern "C", so this one does emit a mangled
#                           member-pointer symbol and the link would name it.
#
# The other three spell the pair as `struct Ent{int a; int b;}` and do the
# Itanium adjustment arithmetic by hand, which is eight bytes on both machines
# and is the corollary's SAFE side. They are host-copied anyway, for a reason
# that is about the ADDRESS and not the layout: their `((void(*)(void*,int))fn)`
# call goes to a raw DS word. Being safe as an alias is not being routable.
#
# The seven ov004 pointer-to-member TUs the sweep also returns are the
# FRAMEWORK's, are already host-copied in unmatched/MgBase_StateDispatch.cpp
# and unmatched/MgBase_Slot7.cpp by run link60 lane MG2, and are excluded here
# for that reason rather than re-hosted.
#
# THE DELETING DESTRUCTOR, src/_ZN15dScMgPachinko_cD0Ev.cpp, vtable slot 17. It spells
# the two shared decl_common.h placeholders -- `t[0] = (int)VT;` and
# `Memory::Deallocate(t, HEAP)` -- and hal/cxx_aliases.cpp binds bare VT to
# _data_ov002_021081e4, the ENEMY base table, with the comment "a second
# VT-spelling TU cannot join a target that links this reader". Its ROM literal
# pool says the two words it wants are 0x0213d9cc (this class's own vtable) and
# 0x020a0eac (the game heap), so slicing it would install the Enemy vtable into
# a dScMgPachinko_c. Host-copied in unmatched/MgPachinko_Dtor.cpp with both
# addresses spelled.
#
# ---- WHAT HAS NO SOURCE AT ALL, AND IS THEREFORE NOT HERE -----------------
#
# EIGHT ov006 addresses in this closure have no delink block in
# config/arm9/overlays/ov006/delinks.txt and no src file in either extension.
# Three of them are LIVE STATE TARGETS, which is this class's analogue of
# curling's func_ov006_020e1854 and is three where curling had one:
#
#     0x020fefc0   VTABLE SLOT 0. The class's nosrc body, and the one the
#                  fan-out cost table's nosrc column counts. Named trap.
#     0x020fb230   state 2 of data_ov006_0214266c
#     0x020fd2d8   state 2 of data_ov006_02142694
#     0x020fe394   state 1 of data_ov006_02142644
#     0x020fc8c0   called by vtable slot 9
#     0x020fcb4c   0x020fdaf0   0x020fdd40
#
# NONE of the eight is given an invented body. Each is a named, self-reporting
# trap in port/hal/scene_mg_faces.cpp or a reporting case in the dispatch
# switch, the curling func_ov006_020e1854 precedent BEFORE lane CT1 hosted it.
# Decompiling any of them is a byte-gated-tree job and this lane does not take
# one.
#
# SEVEN OF THOSE EIGHT HAVE SINCE BEEN FILLED and this paragraph is left as the
# derivation it was rather than rewritten, with the correction stated here.
# Run mg5 lane INTEG seated three (020fefc0, 020fc8c0, 020fdd40) and run mg5
# lane PCOLL seated four more (020fb230, 020fd2d8, 020fdaf0, 020fcb4c); see the
# wave 5 section at the foot of this file. ONE of the eight is still a floor:
#
#     0x020fdd40  seated by INTEG           0x020fefc0  seated by INTEG
#     0x020fc8c0  seated by INTEG           0x020fe394  seated by INTEG
#     0x020fb230  seated by PCOLL           0x020fd2d8  seated by PCOLL
#     0x020fdaf0  seated by PCOLL           0x020fcb4c  seated by PCOLL
#
# and the residual floor is none of these eight but 0x020fe394's sibling
# accounting: the dispatch switch in unmatched/MgPachinko_StateDispatch.cpp now
# reports ZERO floors for this class. The claim "each is a named trap" above is
# therefore historical; MgPachinko_Traps.cpp no longer defines any trap body.
#
# ov004 func_ov004_020ae858 is the same class of hole and is already named by
# port/slice_mg1.txt.
#
# AMENDED, run mg12 lane PANEL: it is no longer a hole of that class. It has a src
# TU now (src/func_ov004_020ae858.cpp, NONMATCHING at 10 of 118 words). It is still
# true that no delink block covers it.
#
# THREE ADDRESSES HAVE A src FILE BUT NO DELINK BLOCK, which is a join miss and
# not a floor -- the distinction stategen.py started making after run link60
# lane MGB. They are ordinary slice lines and are IN the list below:
#
#     0x020fb7e0   0x020fc718   0x020fea70
#
# 0x020fc718 is state 0 of data_ov006_02142624, so this class reaches it.
#

# ---- ov006, dScMgPachinko_c's own closure, wave 1 -----------------------

src/d_s_mg_pachinko.c
src/_ZN15dScMgPachinko_cD1Ev.cpp
src/func_ov006_020fa844.c
src/func_ov006_020fa924.c
src/func_ov006_020fa9a0.c
src/func_ov006_020fa9c8.c
src/func_ov006_020faac8.c
src/func_ov006_020fab70.c
src/func_ov006_020fac48.c
src/func_ov006_020fad90.c
src/func_ov006_020fadfc.c
src/func_ov006_020fae20.c
src/func_ov006_020fae90.c
src/func_ov006_020faeec.c
src/func_ov006_020faf14.c
src/func_ov006_020faf6c.c
src/func_ov006_020fb0fc.c
src/func_ov006_020fb1c4.c
# Run mg5, lane PCOLL, the HIT-DETECTION CHAIN; see the wave 5 section at the
# foot of this file for the whole chain and where each of its four bodies came
# from. 020fb230 = state 2 of data_ov006_0214266c and a callee of
# src/func_ov006_020fb45c.c, void(char*,int) over the 0x1c-stride array; from
# origin/main, byte-matched there. Was a reported floor in the dispatch switch
# AND a trap; both are gone and the switch calls it.
src/func_ov006_020fb230.c
src/func_ov006_020fb45c.c
src/func_ov006_020fb4e0.c
src/func_ov006_020fb670.c
src/func_ov006_020fb74c.c
src/func_ov006_020fb8fc.c
src/func_ov006_020fb97c.c
src/func_ov006_020fba28.cpp
# func_ov006_020fba48 is back (run linkfull, lane RS4PORT): main #3107 spells
# the stored best as the full word it is (getter int(void), drawer int(int));
# main's body lives in its promoted src/actors/dScMgPachinko_c.cpp, so this
# per-function file carries the same three lines (the SYNC8C route (a)
# back-port), byte-identical under mwccarm 2004/b56, and
# port/unmatched/MgHud_HighScore.cpp is retired. HSDISP's record, kept:
# Run mg5, lane HSDISP. src/func_ov006_020fba48.c WAS EXCLUDED, host-copied in
# port/unmatched/MgHud_HighScore.cpp. It is the HIGH SCORE half of this class's
# HUD and the ROM rides the 32-bit score from func_ov004_020adc1c into
# func_ov004_020b19f0 in r0 (0x020fba50, 0x020fba54). The src TU declares that
# value as an s8 at both ends, so MSVC writes one byte of the outgoing slot
# (mov byte ptr [ebp-4],al) and hands over all four (push dword ptr [ebp-4]).
# The drawer received 0x81fc5c00 on a build whose stored high score and both
# getters measured 0. Litter above the cap paints 999999, litter that lands
# negative misses func_ov004_020b1ea4's signed clamp and indexes the glyph
# table out of bounds. See that file's banner for the disassembly.
src/func_ov006_020fba48.c
src/func_ov006_020fba64.c
src/func_ov006_020fbad4.c
src/func_ov006_020fbbe8.c
src/func_ov006_020fbcb8.c
src/func_ov006_020fbd38.c
src/func_ov006_020fc144.c
src/func_ov006_020fc1b4.c
src/func_ov006_020fc1f8.c
src/func_ov006_020fc2ec.c
src/func_ov006_020fc500.c
src/func_ov006_020fc844.c
# Run mg5, lane INTEG: dScMgPachinko_c bodies recovered on branch decomp/pach-
# bodies (78e6499d0). 020fc8c0 = slot-9 render homing helper, void(char*);
# its trap in MgPachinko_Traps.cpp is removed.
src/func_ov006_020fc8c0.c
src/func_ov006_020fc9b0.c
src/func_ov006_020fca1c.c
# Run mg5, lane PCOLL, wave 5. 020fcb4c = THE HIT REACTION, void(char*,int);
# from branch decomp/pach-bodies (ba851ff71) where it is BYTE-MATCHED. Tail-
# called from three sites -- 0x020fd2b0 in func_ov006_020fd17c, 0x020fd864 in
# func_ov006_020fd2d8, 0x020fd9b0 in func_ov006_020fd894 -- all three of which
# are already in this slice, so before this line all three tail calls landed in
# the do-nothing trap. Its trap is removed.
src/func_ov006_020fcb4c.c
src/func_ov006_020fcd8c.c
src/func_ov006_020fce04.c
src/func_ov006_020fcec4.c
src/func_ov006_020fd088.c
src/func_ov006_020fd17c.c
# Run mg5, lane PCOLL, wave 5. 020fd2d8 = state 2 of data_ov006_02142694, the
# IN-FLIGHT state, void(char*,int); from origin/main, byte-matched there. It is
# the frame driver of the whole chain: it integrates the slot's velocity,
# bounces it off the board edges, then calls func_ov006_020fdaf0 (the proximity
# scan), func_ov006_020fca1c and func_ov006_020fc9b0, and tail-calls
# func_ov006_020fcb4c. It was a reported floor in the dispatch switch, so with
# it absent the other three could not run even when they were present.
#
# ONE HOST-SAFETY EDIT WAS MADE TO THIS COPY and it is documented in the TU's
# own header: origin/main's version launders three store addresses through
# `(char *)(int)` macros, which is free on the DS and TRUNCATES A 64-BIT HOST
# POINTER here. The three sites are rewritten as char* plus integer offset. The
# decomp-side TU on main is deliberately left alone.
src/func_ov006_020fd2d8.c
src/func_ov006_020fd894.c
src/func_ov006_020fd9cc.c
# Run mg5, lane PCOLL, wave 5. 020fdaf0 = THE PROXIMITY SCAN, void(char*,int);
# from branch decomp/pach-bodies (34e6c0e8c). NONMATCHING (size 0x23c vs 0x250,
# codegen residue only) but logic-verified against the ROM disassembly, and
# audited host-safe by this lane: all five of its `(int)` casts are integer-on-
# integer, none of them touches a pointer. Called by func_ov006_020fd088,
# _020fd17c and _020fd2d8; its trap is removed.
src/func_ov006_020fdaf0.c
# Run mg5, lane INTEG: 020fdd40 = slot-6 spawn body, void(char*); trap removed.
src/func_ov006_020fdd40.cpp
src/func_ov006_020fe1a8.c
src/func_ov006_020fe1d0.c
src/func_ov006_020fe2bc.c
src/func_ov006_020fe2e4.c
# Run mg5, lane INTEG: 020fe394 = state 1 of data_ov006_02142644, void(char*,int);
# wired into the address switch in MgPachinko_StateDispatch.cpp (was a floor).
src/func_ov006_020fe394.cpp
src/func_ov006_020fe750.c
src/func_ov006_020fe90c.c
src/func_ov006_020fea54.c
src/func_ov006_020feba8.c
src/_ZN15dScMgPachinko_c13OnYoshiTryEatEi.cpp
src/_ZN15dScMgPachinko_c6RenderEv.cpp
src/_ZN15dScMgPachinko_c8BehaviorEv.cpp
# Run mg5, lane INTEG: dScMgPachinko_c::InitResources (vtable slot 0), the
# copy-across black-screen fix from origin/main. Compiles as the __thiscall C++
# member against include/dScMgPachinko_c.h; a cdecl face in MgPachinko_Faces.cpp
# forwards to it and MgPachinko_Faces.cpp aliases _ZN15dScMgPachinko_c13InitResourcesEv onto that
# face. Its trap in MgPachinko_Traps.cpp is removed.
src/_ZN15dScMgPachinko_c13InitResourcesEv.cpp
src/_ZN12dScMgSlot1_c9betIcon_c6RenderEv.cpp

# ---- WAVE 1's CORRECTION: FOUR ov004 LINES REMOVED --------------------------
#
# The closure walk's "is this line in any existing slice_*.txt" test is not a
# complete exclusion check, and wave 1 is where that showed. A TU can be absent
# from every slice BECAUSE IT IS HOST-COPIED, and four of the thirteen ov004
# lines this walk found are exactly that -- run link60 lane MG2 excluded them
# and put the bodies in port/unmatched/:
#
#     src/_ZN11dScMgBase_c25OnAimedAtWithEggReturnVecEv.cpp   MgBase_DeclConflict.cpp
#     src/_ZN11dScMgBase_c16OnAimedAtWithEggEv.cpp   MgBase_DeclConflict.cpp
#     src/minigames/d_s_mg_base.cpp   MgBase_Slot1.cpp
#     src/func_ov004_020b2cb8.c     MgBase_LangTable.cpp
#
# The first three are port/mg_fanout_costs.txt section 6a's declaration
# conflict and they announce themselves loudly: MSVC refuses each with
#
#     error C2733: you cannot overload a function with 'extern "C"' linkage
#
# because include/decl_common.h declares them with void* while their src TUs
# define them with char* and Obj*. The fourth is QUIETER AND WOULD HAVE BEEN
# WORSE. src/func_ov004_020b2cb8.c is a .c file, so it compiles clean and
# collides only at link, as an LNK2005 against MgBase_LangTable.cpp's
# definition -- and that host copy exists because the src TU's fabricated
# 29-entry ramp initialiser faulted the first minigame boot at 0x00000065
# (section 10's defect (a)). A slice line that reintroduced it would have
# reintroduced the fault.
#
# THE GENERAL RULE THE NEXT LANE SHOULD APPLY BEFORE ITS FIRST LINK: sweep the
# candidate slice against the symbols DEFINED in port/unmatched/ and port/hal/,
# not only against the other slices. Two of these four cost a compile and two
# would have cost a link.
#
# The other nine ov004 lines and all fifty-nine ov006 lines pass that sweep.
#
# ---- ov004, the framework lines no earlier slice carried, wave 1 -------

src/func_ov004_020aff38.cpp
src/func_ov004_020b1a5c.c
# Run mg5, lane INTEG: the BG-layer setup helper the seated InitResources calls;
# the link named it. Matched .cpp with its own delink block; its callees are all
# framework GX/G2/G2S functions already in the build.
src/func_ov004_020af2f8.cpp

# ---- WAVE 2: THE THREE JOIN-MISS TUs, now that the linker has asked --------
#
# All three were NAMED in this file's header before the first link as
# "a src file but no delink block", and all three were left out of wave 1 on
# purpose: the closure walk enumerates DELINK BLOCKS, so a TU with no block
# cannot appear in its output however real its source is. Wave 2's LNK2019s
# are the linker asking for exactly the three the header predicted, which is
# the wave method working rather than a miss.
#
#     func_ov006_020fb7e0   called by src/_ZN15dScMgPachinko_c8BehaviorEv.cpp (vtable slot 6)
#     func_ov006_020fea70   called by src/_ZN15dScMgPachinko_c8BehaviorEv.cpp (vtable slot 6)
#     func_ov006_020fc718   state 0 of data_ov006_02142624, called by this
#                           class's address switch
# func_ov006_020fb7e0 IS EXCLUDED, host-copied in
# port/unmatched/MgPachinko_Award.cpp. Run mg5, lane HISCORE: it calls
# func_ov006_020fbb2c, the award routine, with TWO arguments where the
# definition takes three, because the ROM rides the points through r2 out of
# the same ldrh that makes the != 0 test (0x020fb8c0). On the host the callee
# read its points off a caller stack slot nobody wrote -- measured, 3104 where
# the object held 0x1234 -- and every award pushed the score up by a number
# like that until func_ov004_020adb1c's own clamp to data_0209b308+0x0c
# (0x000f423f) pinned it, and func_ov004_020ada40 promoted the pinned value
# into the high score. That is the "HIGH SCORE 999999 / SCORE 0" the owner
# reported. The host copy is src verbatim with the callee declared as it is
# DEFINED and the ROM's own r2 value passed; see that file's header.
src/func_ov006_020fc718.c
src/func_ov006_020fea70.c

# ---- WAVE 2: NO arm9 LINE, AND THAT IS THE POINT --------------------------
#
# The fifth unresolved external of wave 2 was _func_0205a448, and it is NOT a
# missing slice line. src/func_ov006_020fb97c.c spells an arm9 callee by its
# ADDRESS while config/arm9 names it MultiStore16; src/MultiStore16.c is
# already in port/slice_gate10.txt and _MultiStore16 was already in the
# baseline walk_window map. Answered with a name-spelling alias in
# port/unmatched/MgPachinko_Faces.cpp, not with a line here.
#
# So the 53 arm9 TUs this walk found in no slice stayed out across both waves
# and the /OPT:REF argument in this file's header held: the arm9 half of this
# class's closure cost ZERO slice lines.

# ---- WAVE 3: ONE LINE, AND IT NAMES A BLIND SPOT IN THE CLOSURE WALK -------
#
# func_ov006_020fbb2c HAS a delink block (`.text start:0x020fbb2c
# end:0x020fbbe8`) and a matched src TU, so it is not a join miss and not a
# floor. The walk missed it for a reason worth carrying forward: this walker
# enumerates DELINK BLOCKS and attributes each relocation to the block that
# contains it, and 0x020fbb2c is reached only from func_ov006_020fb7e0 -- one
# of wave 2's three join-miss TUs, which has NO BLOCK. A relocation out of a
# block-less body belongs to no block, so the walk could not follow it.
#
# SO A JOIN MISS IS NOT ONE MISSING LINE, IT IS A HOLE THE SIZE OF ITS OWN
# CLOSURE, and the next fan-out lane should treat every "src EXISTS but no
# delink block" TU as an extra ROOT rather than as a single line. Re-rooting
# the walk on this class's three of them converges at exactly this one TU, so
# the hole here was shallow; that is a measurement of these three bodies and
# not a general guarantee.
src/func_ov006_020fbb2c.c

# ---- WAVE 4: ONE LINE REMOVED, A SECOND MOUNT COLLISION -------------------
#
# src/func_ov006_020fa7b8.cpp is EXCLUDED and host-copied in
# port/unmatched/MgPachinko_OamRender.cpp. Its `extern "C"` block declares the
# OAM::Render it calls and then writes `void* data_ov006_0213ac24;`, which in
# C++ is a DEFINITION rather than a declaration -- C++ has no tentative
# definitions -- so it collides with the ov006 mount's own cell:
#
#     ov006_syms.c.obj : error LNK2005: _data_ov006_0213ac24 already defined
#                        in func_ov006_020fa7b8.cpp.obj
#
# The link error is the lucky outcome: the mount REBASES that cell at load
# time to point at data_ov006_0213ac28, so a build where the src TU's zero won
# would have passed OAM::Render a null attribute pointer silently. The host
# copy is the src body verbatim with `extern` added, the MgBase_DeclConflict
# treatment. The decomp-side one-token fix is routed, not taken.

# ---- WAVE 5: THE HIT-DETECTION CHAIN, AND WHY IT NEEDED FOUR AT ONCE ------
#
# Run mg5, lane PCOLL. Reported from live play on the shipped build: the
# slingshot fires, and a hit does nothing. The playlog named the whole gap in
# four lines and there were exactly four holes behind them:
#
#     [scene] dScMgPachinko_c STATE WITH NO DECOMPILED BODY: 0x020fd2d8
#     [scene] UNMATCHED ov006 body entered: func_ov006_020fb230
#     [scene] UNMATCHED ov006 body entered: func_ov006_020fdaf0
#     [scene] UNMATCHED ov006 body entered: func_ov006_020fcb4c
#
# Everything else on the chain was already seated by lanes PCH and INTEG:
# 020fd088, 020fca1c, 020fc9b0, 020fcd8c, 020fcec4, 020fc1b4, 020fd17c and
# 020fd894 are all in this file above. So the chain was a rope with four cut
# strands and no partial fix could show anything: 020fd2d8 is the state the
# dispatcher enters every frame a slot is in flight, and the other three hang
# off it and off its two sibling states.
#
#     0x020fd2d8   origin/main            state 2, the in-flight driver
#     0x020fb230   origin/main            state 2 of the other table, 0x1c stride
#     0x020fdaf0   decomp/pach-bodies     the proximity scan   (NONMATCHING)
#     0x020fcb4c   decomp/pach-bodies     the hit reaction     (byte-MATCHED)
#
# WHAT A HIT ACTUALLY IS, in offsets, because the next lane will want them.
# The 30-entry 0x38-stride array based at +0x4660 is dispatched by
# func_ov006_020fda7c off data_ov006_02142694 (live byte +0x468c, state index
# +0x468f). 020fdaf0 scans the 48-entry 0x38-stride array at +0x4ed8 for a live
# target (+0x4f0c) in state >= 2 (+0x4f0d) within sqrt-distance 0x18, and on a
# find it stamps the FLYING slot's own state to 5 and bumps the target's hit
# count at +0x4f0f. 020fcb4c then re-aims the slot at a random live goal hole
# (the four 0xc-stride records at +0x5bcc), plays sound 0x186, and stamps state
# +0x468f = 4 with the chosen hole index at +0x4694. func_ov006_020fca1c is
# what later clears +0x468c/+0x468d and retires the slot.
#
# NO NEW slice line was needed for any callee of the four. Every external they
# name -- cstd::sqrt, cstd::atan2, RandomIntInternal, func_02012718,
# func_020126e8, func_020126ac, func_02012468, func_ov006_020fb8fc,
# data_02082214, data_ov006_0212eb94, data_ov006_0213d954, data_0209d4b8 --
# was already resolved in this build, which is what /OPT:REF plus the arm9
# argument in this file's header predicts and is worth recording as a
# confirmation of it rather than as an absence of work.
