# run rel0215 wave 2, lane cast-ov090 (w2-ov090): ov090, THE WATER ENEMY PACK.
# SKEETER (230), MANTA_RAY (226), CHEEP_CHEEP (227), SHARK (225).
#
# Read at CONFIGURE time by port/CMakeLists.txt, so an edit here needs a cmake
# re-run. The recon record is port/ov090_syms.txt's header; this file records
# the SOURCE decisions -- what rides from src/ and what is refused, with the
# reason for every refusal.
#
# ==== THE INVENTORY, COUNTED THREE WAYS ====================================
# ov090 has 70 kind:function rows in config/arm9/overlays/ov090/symbols.txt and
# delinks.txt names 70 src/ TUs for them. All 70 exist in the tree, ZERO are
# NONMATCHING-bannered and ZERO are MISSING. This is the first pack in the
# campaign that needs no loud L2 face for a missing body -- there are none.
#   delinked-complete-to-a-src-TU  63
#   present but not marked complete 7   (func_ov090_021310b4, Skeeter::Behavior,
#                                        CheepCheep::InitResources, the 4 sinits)
#   NONMATCHING-bannered            0
#   MISSING                         0
#                                  --
#                                   70
# 29 of the 70 are .cpp and 41 are .c. The comment-stripped token sweep over
# every .c file in the list below finds NO C++ in any of them, so no entry
# needs LANGUAGE CXX -- measured, not assumed.
#
# ==== THE TWELVE REFUSALS ==================================================
# 58 TUs ride from src/. Twelve are host-copied into
# port/unmatched/{Skeeter,MantaRay,CheepCheep,Shark}_HostSites.cpp and dropped
# from this list; the byte-matched originals STAY in src/ and are not edited.
# Three shapes, and the smallest subtree is refused in each case:
#
#  (1) FOUR RENDERS -- the ModelAnim slot-5 collision (T1). Each source draws
#      through a six-virtual local shadow over the embedded ModelAnim at +0x30c
#      and so reaches index 5 in MSVC's own numbering, but
#      hal/cxxname_bridge.cpp fills _ZTV9ModelAnim in MSVC numbering where slot
#      5 is Virtual18. The host copies name ModelAnim::Render outright.
#        src/_ZN7Skeeter6RenderEv.cpp        (guarded, scale = &mScaleX)
#        src/_ZN8MantaRay6RenderEv.cpp       (unguarded, null scale)
#        src/_ZN10CheepCheep6RenderEv.cpp    (guarded, null scale)
#        src/_ZN5Shark6RenderEv.cpp          (unguarded, null scale)
#
#  (2) FOUR STATE SETTERS -- the PMF disease, record 0 (the ENTER half). Each
#      forms `struct C; typedef int (C::*PMF)(); struct C { char pad[0x370];
#      PMF *pp; }` and dispatches through a pointer-to-member of an INCOMPLETE
#      class; MSVC's representation for that is the four-word unknown-
#      inheritance form, not the ROM's 8-byte {function, delta} record.
#        src/func_ov090_02131e00.cpp   Skeeter
#        src/func_ov090_02132ac4.cpp   MantaRay
#        src/func_ov090_021332e8.cpp   CheepCheep
#        src/func_ov090_021338b4.cpp   Shark
#
#  (3) FOUR BEHAVIORS -- the same disease at record 1 (the TICK half), reached
#      through a `{ char pad[8]; PMF fn; }` view of the same cell. MantaRay's
#      and Shark's carry a SECOND refusal in the same body: they construct a
#      PathPtr on the stack and call PathPtr::FromID / PathPtr::GetNode as real
#      __thiscall MEMBERS, which mangle to ?FromID@PathPtr@@... -- names
#      nothing in this link defines. hal/cxx_aliases.cpp bridges only the FLAT
#      spellings. Both host copies call the flat arm9 symbols with an explicit
#      self, the level_boot.cpp:4940 shape.
#        src/_ZN7Skeeter8BehaviorEv.cpp
#        src/_ZN8MantaRay8BehaviorEv.cpp
#        src/_ZN10CheepCheep8BehaviorEv.cpp
#        src/_ZN5Shark8BehaviorEv.cpp
#
# NOTHING ELSE IS REFUSED. In particular no ARM asm primitive, no scheduler
# tail, no card or wireless entry point is reachable from this closure: the
# overlay is four enemies and their state machines.
#
# ==== THE THREE -D RENAMES ARE IN port/CMakeLists.txt, NOT HERE ============
# Two ov090 TUs spell an ov091 name for one of ov090's OWN symbols and one
# ov006 TU spells an ov090 name for one of ov006's. All three are routed by
# COMPILE_DEFINITIONS on the crossing TU, by address, off that TU's own
# relocation module column. See port/ov090_syms.txt's header for the evidence
# and port/CMakeLists.txt for the three set_source_files_properties blocks.
#
# ==== THE MEASURED CLOSURE GAP =============================================
# Taken off the FIRST LINK's own unresolved list, never guessed. That link
# named FIFTEEN unresolved externals, identically on smoke_player, walk_window
# and walk_window_hires, in three classes:
#
#  (i) ONE MISSING arm9 BODY. `_func_0203558c`, referenced by
#      src/_ZN7Skeeter13InitResourcesEv.cpp. config/arm9/symbols.txt:1241 names
#      it (0x0203558c, size 0x14), src/func_0203558c.c exists and it was in no
#      slice on the base tree. Appended to the list below -- that one line is
#      the whole external closure this pack adds.
#
# (ii) ONE MORE PathPtr REFUSAL, predicted by nothing and named by the link:
#      src/_ZN8MantaRay13InitResourcesEv.cpp builds TWO PathPtr locals and
#      calls FromID / NumNodes / GetNode as __thiscall members, four
#      decorations nothing defines. It moved to
#      unmatched/MantaRay_HostSites.cpp as refusal (4), so THIRTEEN TUs are
#      host-copied and 57 ride from src.
#
#(iii) NINE MSVC-DECORATION MISMATCHES, the gate-10 cxx_aliases shape: `//cpp`
#      TUs that declare a C-named symbol without extern "C", so the reference
#      is decorated and the definition is not. Six are ov090 data symbols this
#      mount defines, three are arm9 free functions already in the link under
#      their flat names, and one is Actor::GivePlayerCoins wanted with a
#      `class Player` tag where the defined method has `struct Player`
#      (identical __thiscall ABI, only the tag differs). All ten alias lines
#      are at the bottom of hal/actor_classes_ov090.cpp with the reasoning.
src/_ZN7SkeeterD1Ev.cpp
# RETIRED at SLICE1: body now in src/_ZN7SkeeterD1Ev.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/_ZN7SkeeterD0Ev.cpp
src/func_ov090_02130f94.c
src/func_ov090_021310b4.c
src/func_ov090_02131378.cpp
src/func_ov090_021314a0.cpp
src/func_ov090_02131584.c
src/func_ov090_02131608.cpp
src/func_ov090_02131648.cpp
src/func_ov090_02131a74.cpp
src/func_ov090_02131ac4.cpp
src/func_ov090_02131b94.cpp
src/func_ov090_02131c48.c
src/func_ov090_02131db0.c
src/func_ov090_02131e50.c
src/_ZN7Skeeter16CleanupResourcesEv.cpp
src/_ZN7Skeeter16OnPendingDestroyEv.cpp
src/_ZN7Skeeter13InitResourcesEv.cpp
src/_ZN7Skeeter16OnAimedAtWithEggEv.cpp
src/_ZN7Skeeter13OnTurnIntoEggER6Player.cpp
src/_ZN7Skeeter13OnYoshiTryEatEv.cpp
src/d_a_menbo.c
src/_ZN8MantaRayD1Ev.cpp
# RETIRED at SLICE1: body now in src/_ZN8MantaRayD1Ev.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/_ZN8MantaRayD0Ev.cpp
src/func_ov090_02132730.cpp
src/func_ov090_021327e4.cpp
src/func_ov090_02132a58.cpp
src/func_ov090_02132b14.c
src/_ZN8MantaRay16CleanupResourcesEv.cpp
src/_ZN8MantaRay16OnPendingDestroyEv.cpp
src/d_a_manta.c
src/_ZN10CheepCheepD1Ev.cpp
# RETIRED at SLICE1: body now in src/_ZN10CheepCheepD1Ev.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/_ZN10CheepCheepD0Ev.cpp
src/func_ov090_021330c8.cpp
src/func_ov090_02133190.c
src/func_ov090_021331c4.c
src/func_ov090_02133200.c
src/func_ov090_02133290.c
src/func_ov090_02133338.c
src/_ZN10CheepCheep16CleanupResourcesEv.cpp
src/_ZN10CheepCheep16OnPendingDestroyEv.cpp
src/_ZN10CheepCheep13InitResourcesEv.cpp
src/d_a_pukupuku.c
src/_ZN5SharkD1Ev.cpp
# RETIRED at SLICE1: body now in src/_ZN5SharkD1Ev.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/_ZN5SharkD0Ev.cpp
src/func_ov090_02133710.cpp
src/func_ov090_02133830.c
src/func_ov090_0213387c.c
src/func_ov090_02133904.c
src/_ZN5Shark16CleanupResourcesEv.cpp
src/_ZN5Shark16OnPendingDestroyEv.cpp
src/_ZN5Shark13InitResourcesEv.cpp
src/d_a_shark.c
src/__sinit_ov090_02133ce8.c
src/__sinit_ov090_02133ea8.c
src/__sinit_ov090_02133f4c.c
src/__sinit_ov090_02134020.c
# ---- the measured external closure: the one arm9 body this pack needs ----
src/func_0203558c.c
