# Gate SMB: dScMgSmartball_c, actor id 0x178 (376). Run mg5, lane SMB.
#
# THE CLASS NAME IS THE ROM'S. The RTTI string at 0x0213ec7c reads
# "16dScMgSmartball_c"; the spawn symbol config/arm9/overlays/ov006/symbols.txt
# gives is MgBingoBallSlotsShot, after the two menu games the class serves, and
# every file it loads by name is /MG/d_2d_mg_smart_ball_*. All three names are
# right and the class name is the ROM's.
#
# IDENTITY, RE-DERIVED FROM THE ROM RATHER THAN FROM THE COST TABLE. Scanning
# extracted/overlays/overlay_0006.bin (load base 0x020bfec0) for the doubled-id
# word 0x01780178 finds exactly one occurrence, at 0x0213ebd4:
#
#     0x0213ebd0  0x02119824      <- SpawnInfo word 0, the factory
#     0x0213ebd4  0x01780178      <- the doubled id
#
# and the factory's own literal pool names the vtable:
#
#     02119824  dScMgSmartball_c_classInit
#       ldr r0,[pc] ; =0x0000629c   _ZN7fBase_cnwEj(0x629c)
#       bl  0x20b2adc               _ZN11dScMgBase_cC2Ev(o)   <- WITH the arg
#       str ip,[r4] ; ip=0x0213eefc _ZTV16dScMgSmartball_c, the vtable
#
# THE FACTORY NEEDS NO DISPLACEMENT RULING, AND THE REASON IS IN THE SOURCE
# RATHER THAN IN THE INSTRUCTIONS. Section 12 of port/mg_fanout_costs.txt
# records that 0x169's factory calls the base constructor with NO argument and
# rides r0 through, which needs an argument-displacing host copy. At the
# INSTRUCTION level this factory is the same shape -- the ROM does
# `movs r4,r0` after the allocator returns and never rewrites r0 before
# `bl 0x20b2adc`, so the object rides through in r0 exactly as 0x169's does.
# What differs is the only thing that matters on the host: 0x169's
# src/actors/dScMgCup_c.cpp spells `_ZN11dScMgBase_cC2Ev();` with no
# argument, and src/minigames/d_s_mg_smartball.cpp spells
# `_ZN11dScMgBase_cC2Ev(o)` with one. port/tools/aritycheck.py finds the same
# split without being pointed at it: it lists _ZN11dScMgBase_cC2Ev as DROPS from
# src/actors/dScMgCup_c.cpp (0x169's) and src/minigames/d_s_mg_roulette.cpp
# (0x17f's) and NOT from this one. Checked because the ruling is expensive, not
# assumed because the file is short.
#
# THE WIDTH IS 36 AND ALL THREE OF SECTION 11's CHECKS SAY SO:
#   1. SPAN. _ZTV16dScMgSmartball_c's next config symbol is data_ov006_0213ef8c,
#      0x90 bytes on, which is 36 words. The check can only refuse, and at 37
#      it refuses.
#   2. TERMINAL SLOT. Slot 35 holds 0x020ad660, the word every
#      dScMgBase_c-derived table in the family holds there.
#   3. WHAT THE WORD PAST IT IS. 0x0213ef8c holds 0x2f474d2f, ASCII "/MG/",
#      the head of "/MG/d_2d_mg_smart_ball_lay0%1d_S_ncg.bin". Curling's
#      control word is the same four bytes.
#   vtablerows.py --vtable 0x0213eefc --width 36 reports ovr 9, mark 6,
#   nosrc 2, which is section 3's row for this class re-derived rather than
#   copied.
#
# THE NEIGHBOUR'S PHANTOM SLOT, recorded because section 11 names this class as
# the victim and a reader here should be able to check it. 0x16c's vtable is
# data_ov006_0213eb40; slot 35 is at 0x0213ebcc and holds 0x020ad660, so a
# 37-slot fill of 0x16c would write index 36 at 0x0213ebd0 -- word 0 of THIS
# class's SpawnInfo, the factory pointer. 0x16c is not seated, so this is
# background rather than a live hazard, and it is confirmed here out of the
# image rather than inherited.
#
# HOW THIS LIST WAS DERIVED. A relocation closure over config/arm9{,/overlays/
# ov001,ov004,ov006}/{relocs,delinks}.txt, rooted at the factory and at the
# SEVEN override bodies that have a delink block. The two that do not are
# traps (below) and contribute no edges. THE CLASS HAS NO SECOND ROOT: MG1's
# two-root method adds the class's own overlay constructor because a minigame's
# states are mwcc pointer-to-member pairs reached only from .init, and this
# class has no such constructor -- see the next block.
#
# THIS CLASS HAS NO POINTER-TO-MEMBER STATE MACHINE, AND THAT IS MEASURED
# THREE WAYS. It is the largest single difference from the pathfinder and it
# is why this lane's wall cost is zero.
#   a. Its Behavior (slot 6, src/_ZN16dScMgSmartball_c8BehaviorEv.cpp) dispatches a PLAIN INT:
#      `switch (*(int *)(c + 0x4660))` with cases 0, 1 and 2. The ROM agrees
#      instruction for instruction (0x021184b4 ldr r1,[r0,#0x660]; cmp/beq x3).
#   b. NO overlay constructor in ov006 copies a pair table anywhere in this
#      class's .data neighbourhood. The thirty-one constructors' copied ranges
#      were listed and the two nearest are 0x0213e4e0..0x0213e580
#      (__sinit_ov006_02132894, 0x16c/0x16d's) and 0x0213f4fc..0x0213f6dc
#      (__sinit_ov006_02132970). Nothing lands between 0x0213e5c0 and
#      0x0213f4fc, which is where this class's own data lives.
#   c. THE `::*` SWEEP OF THE WHOLE CLOSURE, which is the detector section 4
#      says a link cannot replace. All 76 TUs the walk reached were
#      swept for `::*` and `->*`; exactly ONE hits, _ZN10dMgState_c8SetStateEi.cpp,
#      which is the FRAMEWORK's state setter and is already excluded from
#      port/slice_mg1.txt and trapped in hal/scene_mg_faces.cpp. The sweep was
#      validated against all six of the TUs section 4 records as SILENT to a
#      link (func_ov006_020e1214, _020e3078 behind extern "C";
#      func_ov004_020b31b4, _020b321c, _020b8714, _020b8778 dispatching an
#      object FIELD) -- every one of the six carries `::*` and would have been
#      caught.
#
# SO ONE TU IS EXCLUDED AND IT IS NOT THIS CLASS'S:
#     src/_ZN10dMgState_c8SetStateEi.cpp   dScMgBase_c's state setter, the wall.
# It is trapped by hal/scene_mg_faces.cpp already and stays that way. Listing
# it here would put a second definition of the trap into the link.
#
# ONE MORE TU IS EXCLUDED AND THIS ONE IS THIS CLASS'S OWN. It is a fresh
# instance of the defect family port/mg_fanout_costs.txt section 6 records as
# (b) and (c), found here in ov006 rather than ov004:
#
#     src/func_ov006_02115b0c.c:113   void func_ov006_02115b0c(char *c)
#     src/_ZN16dScMgSmartball_c13OnYoshiTryEatEi.cpp:8   void func_ov006_02115b0c(void);
#     src/_ZN16dScMgSmartball_c13OnYoshiTryEatEi.cpp:11  func_ov006_02115b0c();
#
# vtable slot 18 is _ZN16dScMgSmartball_c13OnYoshiTryEatEi and its first statement calls the
# board teardown-and-rebuild. THE ROM PASSES self: 0x02118a8c's prologue is
# `stmdb sp!,{lr}; sub sp,sp,#4` and it does not touch r0 before
# `bl 0x2115b0c`, and 0x02115b0c's own first instruction is `mov r8, r0`. So
# on ARM this is a ride-through and correct. On the host the callee reads
# [esp+4] and then walks SEVEN destructor loops off it, double-storing vtable
# words and calling Memory::operator_delete2 through whatever it found -- a
# wild WRITE, not a wild read, so no fault is guaranteed and the corruption is
# silent. port/tools/aritycheck.py finds the same row independently:
#   DROPS func_ov006_02115b0c  declared 0 at src/_ZN16dScMgSmartball_c13OnYoshiTryEatEi.cpp:8,
#   DEFINED 1 at src/func_ov006_02115b0c.c:67
# Both TUs are matched and read-only, so the answer is the PORT_HOST_ABI shape
# the section-6 remedy names: port/unmatched/MgSmartball_Slot18.cpp is the
# caller verbatim with the argument placed, and the src TU is off this list so
# the link has one definition of the name.
#
# TWO OTHER aritycheck ROWS TOUCH THIS SLICE AND NEITHER IS THIS LANE'S WORK,
# recorded so a reader does not have to re-derive them:
#   _ZN3G2x13SetBlendAlphaEPVttttj  reads as DROPS (def 6, decl 5) and is
#     BENIGN. The definition's sixth parameter is never read by its body, the
#     mangled name says five, the ROM passes five (r0-r3 plus one stack word),
#     and dScMgCurling_c's own slot 18 src/_ZN14dScMgCurling_c13OnYoshiTryEatEi.cpp carries the
#     identical five-parameter declaration and has shipped since lane MG2.
#   _ZN10dMgPsOpt_c11TouchIcon_cD1Ev and _ZN10dMgPsOpt_c11TouchIcon_cC1Ev read as DROPS from
#     src/_ZN10dMgPsOpt_cC1Ev.cpp and _020b929c.c. All four TUs are inherited
#     from port/slice_mg1.txt unchanged; the rows predate this lane.
#
# THREE BODIES IN THE CLOSURE HAVE NO SOURCE and are therefore NOT here. Each
# gets a NAMED, SELF-REPORTING trap in port/unmatched/MgSmartball_Traps.cpp,
# the func_ov006_020e1854 precedent: a trap that says which address was
# entered, never an invented body.
#     _ZN16dScMgSmartball_c13InitResourcesEv   vtable slot 0, InitResources.  gap 0x02118b70..
#                           0x0211944c between two delink blocks
#     _ZN16dScMgSmartball_c6RenderEv   vtable slot 9, Render.         gap 0x021173c8..
#                           0x02118488
#     func_ov006_02114800   symbols.txt names it (size 0x310) and no delink
#                           block covers it. Called from five sites inside
#                           TUs in this slice (0x0210f7d8, 0x0210f804,
#                           0x0210f848, 0x02111604, 0x02111e6c), which is why
#                           it is in the closure at all and why the cost
#                           table's nosrc column -- a VTABLE measurement --
#                           says two and this slice says three.
# DECOMPILING ANY OF THE THREE IS A BYTE-GATED-TREE JOB and is routed, not
# taken here.
#
# THE arm9 HALF IS NOT LISTED, MG1's rule and its reason: the walk reaches 351
# arm9 blocks and they come back through /OPT:REF the moment ov004 or ov006
# references them.
#
# EIGHTY-SIX LINES IN TOTAL, and the closure walk predicted 74 of them. The
# other twelve are arm9 TUs the LINKER asked for over four further waves and
# are listed at the foot of this file with the object that wanted each. That
# split is the two-wave method port/slice_ov007.txt describes doing what it
# does, and the shape agrees with port/mg_fanout_costs.txt section 10: each
# wave was the previous wave's own closure and each was smaller than the last
# (6, 2, 1, 3). It is FIVE waves rather than the eight section 10 budgets, and
# the reason is section 4's: three of MG2's eight waves were the
# pointer-to-member wall and its fallout, and this class has no wall.
#
# THIRTY-THREE OF THE FIRST SEVENTY-FOUR ALSO APPEAR IN port/slice_mg1.txt --
# the whole ov004 half except the excluded wall TU, plus the one ov001 line.
# That is correct rather than duplication to clean up: CMake appends both
# lists to the same target and dedupes identical absolute paths, and dropping
# a line because the pathfinder already needed it would make this file
# unreadable as a closure. The genuinely new content is the 41 ov006 lines.

# ---- ov006: dScMgSmartball_c's own closure, 41 TUs (42 reached, 1 excluded)
src/minigames/d_s_mg_smartball.cpp
src/_ZN16dScMgSmartball_cD1Ev.cpp
# RETIRED at SLICE1: body now in src/_ZN16dScMgSmartball_cD1Ev.cpp. MSVC folds the ROM destructor variants into one symbol, so only one of a class two per-function destructor TUs can be compiled.
#src/_ZN16dScMgSmartball_cD0Ev.cpp
src/func_ov006_0210d894.c
src/func_ov006_0210d898.c
src/func_ov006_0210e0d0.c
src/func_ov006_0210e480.c
src/func_ov006_0210e4c8.c
src/func_ov006_0210f9f8.c
src/func_ov006_021101bc.cpp
src/func_ov006_02110874.c
src/func_ov006_02110bc0.c
src/func_ov006_02111220.c
# Run mg5, lane INTEG: the spring placement-new helper the seated InitResources
# (_ZN16dScMgSmartball_c13InitResourcesEv) calls; the link named it. Matched, has
# its own delink block; its callees (func_ov006_0211474c, _ZTV21cMgSmartball_spring_c)
# are already in this slice and the ov006 mount.
src/func_ov006_0211157c.c
src/func_ov006_02111774.c
src/func_ov006_02111b40.c
src/func_ov006_02111d6c.c
src/func_ov006_02111d74.c
src/func_ov006_02111dcc.c
src/func_ov006_02111df4.c
src/func_ov006_02111e48.c
src/func_ov006_02114548.c
src/func_ov006_021146cc.c
src/func_ov006_021146e0.c
src/func_ov006_0211470c.c
src/func_ov006_0211474c.c
src/_ZN16dScMgSmartball_c8OnPushedEv.cpp
src/func_ov006_021147d0.c
# Run mg5, lane INTEG: the ball-table seeder (branch decomp/smb-bodies, MATCHED),
# recovered with its delink block. Replaces the aux trap in MgSmartball_Traps.cpp.
src/func_ov006_02114800.c
src/func_ov006_02114c04.c
src/func_ov006_02114dd0.c
src/func_ov006_02114f98.c
src/func_ov006_02115150.c
src/func_ov006_02115480.c
src/func_ov006_02115598.cpp
src/func_ov006_021156f8.c
src/func_ov006_02115830.c
src/func_ov006_02115a5c.c
src/func_ov006_02115b0c.c
src/_ZN16dScMgSmartball_c8BehaviorEv.cpp
src/_ZN16dScMgSmartball_c9Virtual7CEv.cpp
# Run mg5, lane INTEG: dScMgSmartball_c::InitResources, vtable slot 0 (branch
# decomp/smb-bodies, NONMATCHING, the flagged weak point). Plain C carrying the
# mangled symbol; the _ZN16dScMgSmartball_c13InitResourcesEv trap name is aliased onto it in
# MgSmartball_Faces.cpp. Builds the sub-objects the class needs to tick.
src/_ZN16dScMgSmartball_c13InitResourcesEv.cpp

# ---- Run mg5, lane SMBSEAT: THE SUB-OBJECT FAMILY, 37 further TUs ---------
#
# Slot 9 Render, plus the twelve cMgSmartball_ classes' thirty-six vtable
# bodies. hal/scene_mg.cpp's kSmartballObjFaces carries the derivation of the
# twelve tables and of their THREE-slot width; what this list adds is the
# bodies those thirty-six slots dispatch to. Without them the tables can be
# relocated and the relocation has nothing to point at.
#
# THIRTY-FIVE OF THE THIRTY-SIX WERE ALREADY IN THIS TREE and none of them was
# in any slice, which is why a symbol search for them came back empty and read
# as "no body". Two are filed under WRONG RECOVERED NAMES -- delinks.txt calls
# 0x02111144 _ZN24cMgSmartball_propeller_c12SaveSnapshotEv and 0x02110154 _ZN19cMgSmartball_slot_c14RestoreInitialEv, and
# main has since renamed both onto the cMgSmartball_ classes they belong to.
# The rename is a byte-gated-tree job and is routed, not taken.
#
# TWO CAME ACROSS FROM origin/main BY ADDRESS and they are not the same case:
#   _ZN20cMgSmartball_board_c12SaveSnapshotEv.cpp   0x0210f564, size 0x3b0.
#       A genuine hole here. RE-VERIFIED IN THIS WORKTREE with tools/match.py
#       at 2004/b56 against overlay_0006.bin: MATCH. Delink block added.
#   _ZN16dScMgSmartball_c6RenderEv.cpp              0x021173c8, size 0x10c0.
#       Matched on main, and it does NOT get a delink block here: its header
#       chain needs main's migrated dScMgBase_c and this tree still carries the
#       flat POD recovery, so mwccarm rejects the class's own size assert. The
#       port reaches it through the host-ABI declaration in
#       port/unmatched/MgSmartball_HostAbi.h and the cdecl forwarder in
#       port/unmatched/MgSmartball_Faces.cpp.
src/_ZN16dScMgSmartball_c6RenderEv.cpp
src/_ZN20cMgSmartball_board_c12SaveSnapshotEv.cpp
src/_ZN24cMgSmartball_propeller_c12SaveSnapshotEv.cpp
# src/_ZN19cMgSmartball_slot_c14RestoreInitialEv.cpp (0x02110154, cMgSmartball_slot_c's RestoreInitial)
# was DELIBERATELY ABSENT while its src dropped the receiver on the base call the
# ROM makes with r0 = this (the callee STORES through it), and
# port/unmatched/MgSmartball_SlotRestore.cpp carried the body with the argument
# placed. main #1489 made it the real member, whose base call is
# cMgSmartball_object_c::RestoreInitial() with `this` passed, and the port's src
# is that same blob, so the copy is retired (run linkfull, lane RS5A) and the
# matched TU is back. hal/scene_mg.cpp's smb_slt_s2 calls the member qualified;
# the flat name stays the ov002 alias hal/cxx_aliases.cpp documents.
src/_ZN19cMgSmartball_slot_c14RestoreInitialEv.cpp
src/_ZN19cMgSmartball_wing_c6UpdateEv.cpp
src/_ZN19cMgSmartball_wing_c12SaveSnapshotEv.cpp
src/_ZN19cMgSmartball_wing_c14RestoreInitialEv.cpp
src/_ZN25cMgSmartball_pushswitch_c6UpdateEv.cpp
src/_ZN25cMgSmartball_pushswitch_c12SaveSnapshotEv.cpp
src/_ZN25cMgSmartball_pushswitch_c14RestoreInitialEv.cpp
src/_ZN20cMgSmartball_board_c6UpdateEv.cpp
src/_ZN20cMgSmartball_board_c14RestoreInitialEv.cpp
src/_ZN19cMgSmartball_slot_c6UpdateEv.cpp
src/_ZN19cMgSmartball_slot_c12SaveSnapshotEv.cpp
src/_ZN21cMgSmartball_pakkun_c14RestoreInitialEv.cpp
src/_ZN20cMgSmartball_dokan_c6UpdateEv.cpp
src/_ZN20cMgSmartball_dokan_c12SaveSnapshotEv.cpp
src/_ZN20cMgSmartball_dokan_c14RestoreInitialEv.cpp
src/_ZN21cMgSmartball_pakkun_c6UpdateEv.cpp
src/_ZN21cMgSmartball_pakkun_c12SaveSnapshotEv.cpp
src/_ZN24cMgSmartball_propeller_c6UpdateEv.cpp
src/_ZN24cMgSmartball_propeller_c14RestoreInitialEv.cpp
src/_ZN21cMgSmartball_spring_c6UpdateEv.cpp
src/_ZN21cMgSmartball_spring_c12SaveSnapshotEv.cpp
src/_ZN21cMgSmartball_spring_c14RestoreInitialEv.cpp
src/_ZN18cMgSmartball_ana_c6UpdateEv.cpp
src/_ZN18cMgSmartball_ana_c12SaveSnapshotEv.cpp
src/_ZN18cMgSmartball_ana_c14RestoreInitialEv.cpp
src/_ZN21cMgSmartball_kinoko_c6UpdateEv.cpp
src/_ZN21cMgSmartball_kinoko_c14RestoreInitialEv.cpp
src/_ZN21cMgSmartball_kinoko_c12SaveSnapshotEv.cpp
src/_ZN19cMgSmartball_ball_c6UpdateEv.cpp
src/_ZN19cMgSmartball_ball_c12SaveSnapshotEv.cpp
src/_ZN19cMgSmartball_ball_c14RestoreInitialEv.cpp
src/_ZN21cMgSmartball_object_c6UpdateEv.cpp
src/_ZN21cMgSmartball_object_c12SaveSnapshotEv.cpp
src/_ZN21cMgSmartball_object_c14RestoreInitialEv.cpp

# ---- SMBSEAT wave 2: the closure the LINKER asked for, 18 TUs ------------
# Each line here is an unresolved external from the wave-1 link, resolved by
# the TU that defines it. Every one already existed in src/ and none needed a
# face, a host copy or a trap.
src/func_0203d524.c
src/func_ov006_0210d8bc.c
src/func_ov006_0210d93c.c
src/func_ov006_0210e120.c
src/func_ov006_0210ef48.c
src/func_ov006_0210f998.c
src/func_ov006_0210fa6c.c
src/func_ov006_0210fb04.c
src/func_ov006_0210fb58.c
src/func_ov006_02110e28.c
src/func_ov006_021128fc.c
src/func_ov006_02112ad8.c
src/func_ov006_02113c14.c
src/func_ov006_02114590.c
src/func_ov006_02114b10.c
src/func_ov006_02114ec0.c
src/func_ov006_02114fd0.c
src/func_ov006_02115008.c
src/_ZN16dScMgSmartball_c21AfterCleanupResourcesEj.cpp

# ---- ov004: the framework half, 32 TUs, all inherited from slice_mg1 --
src/FreeGfxSlotsById.c
src/GetGameLanguage.c
src/Ov004_Deallocate.c
src/func_ov004_020ada40.c
src/func_ov004_020ad6fc.c
src/func_ov004_020ad90c.c
src/func_ov004_020ad940.cpp
src/func_ov004_020ada20.c
src/func_ov004_020adafc.c
src/func_ov004_020adb1c.c
src/func_ov004_020adbc0.c
src/func_ov004_020adc00.c
src/func_ov004_020adc1c.c
src/func_ov004_020adc3c.c
src/func_ov004_020adc74.c
src/_ZN11dScMgBase_c8OnPushedEv.cpp
src/func_ov004_020ae1cc.c
src/func_ov004_020ae1f0.c
src/func_ov004_020ae20c.c
src/func_ov004_020b04d0.c
# Run mg5, lane BASESET. src/minigames/d_s_mg_base.cpp IS EXCLUDED, host-copied in
# port/unmatched/MgBase_Slot5.cpp. This slice carried the line as well as
# slice_mg1.txt, and both had to drop it: CMake dedupes identical absolute paths
# within a target, so leaving it in either list would keep the src body in the
# build and collide with the host copy. See slice_mg1.txt for the derivation.
# HOST-COPIED (BASESET): src/minigames/d_s_mg_base.cpp
src/func_ov004_020b0a54.cpp
# RETIRED at SLICE1: body now in src/_ZN11dScMgBase_cD0Ev.cpp. MSVC folds the ROM destructor variants into one symbol, so only one of a class two per-function destructor TUs can be compiled.
#src/_ZN11dScMgBase_cD2Ev.cpp
src/_ZN11dScMgBase_cC2Ev.cpp
src/func_ov004_020b2c84.c
src/func_ov004_020b3194.c
src/_ZN10dMgState_cC1Ev.cpp
src/func_ov004_020b8dc0.c
src/_ZN10dMgPsOpt_c11TouchIcon_cD1Ev.cpp
src/_ZN10dMgPsOpt_cD1Ev.cpp
src/_ZN10dMgPsOpt_cC1Ev.cpp
src/_ZN10dMgPsOpt_c11TouchIcon_cC1Ev.cpp

# ---- ov001: ov004's touch layer, 1 TU, inherited from slice_mg1 ------
src/func_ov001_020ab5b0.c

# ---- SECOND WAVE: 6 arm9 TUs, and they are MG1's wave-2 exception ---------
# port/mg_fanout_costs.txt section 5's rule is that the arm9 half comes back
# through /OPT:REF for free. These six are the exception MG1's own wave 2
# named: they had NO OTHER CALLER anywhere in the build, so /OPT:REF had
# already dropped them and there was nothing for a reference to pull back.
# Named by the link, one object each:
#   Vec2_Len        wanted by src/func_ov006_02114c04.c
#   Vec2_Sub        wanted by src/func_ov006_02115830.c
#   func_0203d388   wanted by src/func_ov006_02114c04.c and _02115830.c
#   func_0203d434   wanted by src/func_ov006_02114c04.c
#   func_0203d738   wanted by src/minigames/d_s_mg_smartball.cpp -- one of the
#                   two callbacks the factory hands __cxa_vec_ctor
#   func_02057d00   wanted by src/func_ov006_02115b0c.c
src/Vec2_Len.c
src/Vec2_Sub.c
src/func_0203d388.c
src/func_0203d434.c
src/func_0203d738.c
src/func_02057d00.c

# ---- THIRD WAVE: 2 more arm9, the second wave's own closure ---------------
# The converging shape port/mg_fanout_costs.txt section 10 describes: each
# wave is the previous wave's closure and each is smaller than the last.
#   func_0203d480   wanted by src/func_0203d434.c
#   func_02057ce8   wanted by src/func_02057d00.c
src/func_0203d480.c
src/func_02057ce8.c

# ---- FOURTH WAVE: 1 arm9, the third wave's own closure --------------------
#   func_02057410   wanted by src/func_02057ce8.c
src/func_02057410.c

# ---- FIFTH WAVE: 3 arm9, the fourth wave's own closure --------------------
#   func_02057d30   wanted by src/func_02057410.c
#   func_02057d94   wanted by src/func_02057410.c
#   func_02057e00   wanted by src/func_02057410.c
src/func_02057d30.c
src/func_02057d94.c
src/func_02057e00.c

# ---- SMBSEAT wave 3: 25 further TUs, each one an unresolved external
# from the previous link resolved by the TU that defines it.
src/func_0203d4d0.c
src/func_0203d570.c
src/func_0203d5bc.c
src/func_ov006_0210eca4.c
src/func_ov006_0210fa40.c
src/func_ov006_021115c4.c
src/func_ov006_021115cc.c
src/func_ov006_02111b90.c
src/func_ov006_02111e7c.c
src/func_ov006_02111e90.c
src/func_ov006_02111ee8.c
src/func_ov006_02111f8c.cpp
src/func_ov006_02112030.c
src/func_ov006_021120d4.c
src/func_ov006_02112190.c
src/func_ov006_021122e0.c
src/func_ov006_0211248c.c
src/func_ov006_02112504.c
src/func_ov006_021126b4.c
src/func_ov006_021146f4.c
src/func_ov006_02114dfc.c
src/func_ov006_02114fb4.c
src/func_ov006_02115024.c
src/func_ov006_02115040.c
src/func_ov006_02115060.c

# ---- SMBSEAT wave 4: 10 further TUs, each one an unresolved external
# from the previous link resolved by the TU that defines it.
src/func_ov006_02110244.c
src/func_ov006_0210dbb0.c
src/func_ov006_0210e1fc.c
src/func_ov006_021108bc.c
src/func_ov006_02110c08.c
src/func_ov006_02111d4c.c
src/func_ov006_021146ac.c
src/func_ov006_02114fec.c
src/func_ov006_0211507c.c
src/func_ov006_02115680.c
