# slice_w6a.txt -- lane-owned slice for the linkage campaign (run linkw,
# wave 6, lane w6-A: THE BOWSER FIGHT). One matched src TU per line, path
# relative to the repo root, comments with #. ONE OWNER (lane w6-A).
#
# Wave 5 (lane w5-e) mounted ov060 per symbol and registered ONE class, the
# arena floor (166). The other ~103 pack TUs were in the link and
# /OPT:REF-stripped, because nothing reached them. This slice plus the
# registry rows in hal/actor_classes_ov060.cpp are what reaches them.
#
# WHAT LANDS HERE, and why each body is where it is:
#
#  SPIKE BOMB (284, x8 placed in level 38) -- the whole class, under the
#  SHIFTED _ZN17BowserSkyPlatform* spellings (port/ov060_syms.txt's label-shift
#  note; daKirai_c_classInit stores the table dsd labelled _ZTV17BowserSkyPlatform,
#  and the class registers itself in the eight-slot global data_0209f3a4 the
#  level fills exactly eight of -- the shift's own confirmation).
#  Its Behavior decodes its state record BY HAND into a two-int struct and
#  calls a cdecl function pointer, so it is correct as matched src and stays
#  here; only the words it calls need the seat.
#  Its Render dispatches slot 5 through a six-virtual local shadow on a plain
#  Model at +0xd4 -- NOT the ModelAnim slot-5 collision: hal/cxxname_bridge.cpp
#  dual-fills _ZTV5Model slot 4 AND slot 5 with Render for exactly this case.
#
#  BOWSER (279) + BOWSER TAIL (278) + BOWSER FIRE (280) -- one landing, not
#  three. Bowser::InitResources spawns 0x118 (280) and 0x116 (278) and writes
#  through BOTH results with no null check (a1+0x2cc; a2+4 read, a2+0x108
#  written, func_02011d50(a2)), so a Bowser registered without either child
#  faults on his first init frame. Verified in src, not inherited.
#
#  BOWSER SKY PLATFORM (167, daKpa3Bg_c) -- the koopa3 arena's floor. Its
#  vtable is the UNNAMED _ZTV17BowserSkyPlatform (the other half of the label
#  shift) and all six own bodies are func_ov060_* already in slice_w5e.txt;
#  only its Spawn joins here.
#
# HELD OUT (host copies in port/unmatched/Ov060_StateDispatch.cpp, banner
# there carries the measured pointer-to-member sizes):
#   func_ov060_02112434, func_ov060_02115b84, _ZN17BowserSkyPlatform8BehaviorEv
#     (commented out of slice_w5e.txt in this lane's first commit)
#   _ZN10BowserFire13InitResourcesEv, _ZN10BowserFire8BehaviorEv
#     (never in a slice)
# HELD OUT (ModelAnim slot-5 collision, host copy in
# port/unmatched/Ov060_Renders.cpp):
#   _ZN6Bowser6RenderEv

# ---- the ov089 registry/fill/face host file (ov060's is in slice_w5e.txt) --
port/hal/actor_classes_ov089.cpp

# ---- the state seat + the five pointer-to-member host copies --------------
port/unmatched/Ov060_StateDispatch.cpp
# ---- the two ModelAnim slot-5 Renders --------------------------------------
# port/unmatched/Ov060_Renders.cpp  RETIRED (run link100, lane FOLD2);
#   the matched TU(s) it stood in for are on port/slice_fold2.txt.
# port/unmatched/Ov089_Renders.cpp  RETIRED (run link100, lane FOLD2);
#   the matched TU(s) it stood in for are on port/slice_fold2.txt.

# ---- SPIKE BOMB (284) -- the shifted spellings ----------------------------
# D1 is HELD OUT: src/_ZN9SpikeBombD1Ev.cpp is a real MSVC destructor
# over a shadow class, so it emits ??1BowserSkyPlatform@@UAE@XZ and auto-calls
# member destructors that exist nowhere in this build -- the BigBooIcon case.
# Host thunk (its matched D0's chain minus the Deallocate) in
# hal/actor_classes_ov060.cpp.
src/d_a_kirai.c
src/_ZN9SpikeBomb13InitResourcesEv.cpp
src/_ZN9SpikeBomb8BehaviorEv.cpp
src/_ZN9SpikeBomb6RenderEv.cpp
src/_ZN9SpikeBomb16CleanupResourcesEv.cpp
# RETIRED at SLICE1: body now in src/_ZN9SpikeBombD1Ev.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/_ZN9SpikeBombD0Ev.cpp

# ---- BOWSER (279) ----------------------------------------------------------
# D1 held out for the same reason as SpikeBomb's; Render held out as the
# ModelAnim slot-5 collision (Ov060_Renders.cpp).
src/d_a_kpa.c
src/_ZN6Bowser13InitResourcesEv.cpp
src/_ZN6Bowser16CleanupResourcesEv.cpp
# src/_ZN6Bowser8BehaviorEv.cpp -- HELD OUT: does not compile under MSVC
#   (C2761 x6, shadow members re-declared at namespace scope). Host copy in
#   port/unmatched/Ov060_StateDispatch.cpp.
src/_ZN6Bowser16OnPendingDestroyEv.cpp
# RETIRED at SLICE1: body now in src/_ZN6BowserD1Ev.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/_ZN6BowserD0Ev.cpp

# ---- BOWSER TAIL (278) -- Bowser's init spawns it unchecked ----------------
# D1 held out (real MSVC destructor), the same host thunk shape.
src/d_a_kpa_tail.c
src/_ZN10BowserTail13InitResourcesEv.cpp
src/_ZN10BowserTail16CleanupResourcesEv.cpp
src/_ZN10BowserTail8BehaviorEv.cpp
src/_ZN10BowserTail6RenderEv.cpp
# RETIRED at SLICE1: body now in src/_ZN10BowserTailD1Ev.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/_ZN10BowserTailD0Ev.cpp

# ---- BOWSER FIRE (280) -- Bowser's init spawns it unchecked ----------------
# InitResources and Behavior are host copies (pointer-to-member stride 4 and
# 16 against the ROM's 8); both D-bodies are .c and link.
src/d_a_kpa_fire.c
src/_ZN10BowserFire16CleanupResourcesEv.cpp
src/_ZN10BowserFire6RenderEv.cpp
src/_ZN10BowserFireD1Ev.cpp
# RETIRED at SLICE1: body now in src/_ZN10BowserFireD1Ev.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/_ZN10BowserFireD0Ev.cpp

# ---- BOWSER SKY PLATFORM (167) -- level 40's floor, all bodies already wired
src/d_a_kpa3_bg.c

# ---- KEY (282) + LAST_STAR (283), ov089 -- the boss reward ------------------
# Bowser's defeat path (func_ov060_021135fc) spawns 282 and writes through the
# result unchecked. One vtable serves both ids. Render is the ModelAnim slot-5
# collision (Ov089_Renders.cpp).
src/d_a_obj_key_obj_key.c
src/d_a_obj_key_last_star.c
src/_ZN3Key13InitResourcesEv.cpp
src/_ZN3Key16CleanupResourcesEv.cpp
# src/_ZN3Key8BehaviorEv.cpp -- HELD OUT: forms its pointer-to-member over a
#   complete single-inheritance class with a vtable, which MSVC represents in
#   FOUR bytes against the ROM record's eight. Host copy + the eight-record
#   seat in port/unmatched/Ov089_StateDispatch.cpp.
src/_ZN3KeyD1Ev.cpp
# RETIRED at SLICE1: body now in src/_ZN3KeyD1Ev.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/_ZN3KeyD0Ev.cpp
port/unmatched/Ov089_StateDispatch.cpp
# ov089's remaining bodies -- the whole overlay's code, ten TUs. Nothing here
# was ever linked: the gate-18 mount took ov089's DATA (the doors' key-model
# arrays) and left its code stripped.
src/func_ov089_02130fb4.c
src/func_ov089_0213115c.cpp
src/func_ov089_021311c0.c
src/func_ov089_0213162c.c
src/func_ov089_02131b18.c
src/func_ov089_02131dcc.c
src/func_ov089_02131df4.c
src/_ZN3Key13OnTurnIntoEggER6Player.cpp
src/_ZN3Key13OnYoshiTryEatEv.cpp
src/func_ov089_02131f54.cpp
src/LoadKeyModels.cpp
src/UnloadKeyModels.cpp
# the arm9 helper Bowser's init hands the tail actor to
src/func_02011d50.c
src/func_02048f24.c
