# Gate 192: ov081 trio -- ICE_BLOCK (18), MR_BLIZZARD (223), SPINDRIFT (312).
# Fresh per-symbol ov081 mount (port/ov081_syms.txt), the ov079/ov080
# convention: whole data span minus the three classes' own vtables minus
# dsd's five .p__sinit_* pointer entries. Fill is
# hal/actor_classes_ov081.cpp. Full slot derivation, the class-identity
# cross-checks and the MrBlizzard PMF seat are documented in
# port/ov081_syms.txt's own header.
#
# SNOWBALL and MONEYBAG stay UNREGISTERED: disjoint ranges from the three
# hosted classes (confirmed both directions -- neither hosted class's own
# closure calls into Snowball's or Moneybag's own functions), and their
# sinits (__sinit_ov081_021284b4, __sinit_ov081_021284f0) are NOT run --
# only the three own-class sinits below execute.
#
# ---- shared arm9 dependency: Enemy::~Enemy (Spindrift and MrBlizzard's
# D1/D0 both call it as their own base-class D2). Self-contained (already-
# hosted _ZN8dActor_cD2Ev + the already-hosted data_ov002_021081e4 vtable
# array). Not previously mounted anywhere in the port. ----
src/_ZN12dEnemyBase_cD1Ev.cpp
#
# ---- func_ov081_02123910's (Spindrift's player-bump helper) own callee
# closure: func_ov004_020ada40 and its
# two ov004 (Bob-omb Battlefield) helpers -- all null-guard
# data_ov004_020beb68 first and return doing nothing when it reads zero
# (hal/actor_classes_ov081.cpp hosts it as a zero-initialized global for
# exactly this). _ZN6Player10SpinBounceE5Fix12IiE and func_ov002_020e10a8
# are two more previously-unmounted leaves of the same helper's closure. ----
src/func_ov004_020ada40.c
src/func_ov004_020adc1c.c
src/func_ov004_020adc00.c
src/_ZN6Player10SpinBounceE5Fix12IiE.cpp
src/func_ov002_020e10a8.cpp
#
# ---- SPINDRIFT (daHuwa_c), an Enemy, 32 slots (own Kill) -------------------
# D1/D0 stay in the slice: both store _ZTV9Spindrift directly, their own
# table, no shared-placeholder overwrite (the Unagi/IceSheet/RotatingFirebar
# treatment).
src/_ZN9SpindriftD1Ev.cpp
# RETIRED at SLICE1: body now in src/_ZN9SpindriftD1Ev.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/_ZN9SpindriftD0Ev.cpp
src/_ZN9Spindrift16OnAimedAtWithEggEv.cpp
src/func_ov081_021237ec.cpp
src/func_ov081_02123910.cpp
src/func_ov081_02123b20.cpp
src/_ZN9Spindrift16CleanupResourcesEv.cpp
# _ZN9Spindrift6RenderEv.cpp is NOT in this list -- the ModelAnim slot-5
# collision (the Whomp/Butterfly/Fish/BabyPenguin case). The matched TU
# dispatches `((Obj*)&mModelAnim)->m5(0)` through a local six-virtual
# ROM-order shadow off mModelAnim (+0x110), so its "slot 5" is the ROM's
# ModelAnim::Render; the host _ZTV9ModelAnim's slot 5 is Virtual18, a
# two-arg method called with the shadow's one arg -- it reads a scale off
# the stack and hands Model::Virtual10 a null matrix (measured: c0000005
# in Model::Virtual10, module +0x31fbc, L10 SPINDRIFT quarantine). Latent
# since this gate mounted ov081; 7c3e71d86's .text-layout shift flipped it
# from survivable to faulting. HOST COPY:
# port/unmatched/ModelAnim_Renders.cpp. The matched src stays byte-locked
# in src/ as proof.
src/_ZN9Spindrift8BehaviorEv.cpp
src/_ZN9Spindrift13InitResourcesEv.cpp
src/_ZN9Spindrift13OnTurnIntoEggER6Player.cpp
src/_ZN9Spindrift13OnYoshiTryEatEv.cpp
src/d_a_huwa.c
#
# ---- MR_BLIZZARD (daYuki_c), an Enemy, 32 slots (own Kill, own
# OnPendingDestroy -- NOT the shared default) -------------------------------
# D1/D0 stay in the slice: both store _ZTV10MrBlizzard directly (D0's own
# RTTI alias spelling is _ZTV11daSnowman_c, a one-speller confirmed against
# src -- not the ov016 shared-placeholder shape).
#
# func_ov081_02125488.cpp (installs a cell pointer and dispatches its
# "enter" half via a REAL C++ PMF on a deliberately incomplete class) and
# _ZN10MrBlizzard8BehaviorEv.cpp (dispatches the "tick" half the same way)
# are BOTH NOT in this list -- MSVC's PMF representation for an incomplete
# class does not reproduce the ROM's {function, delta} ABI on the host
# (the SoundObject/Cap disease, confirmed by crash: id 0xdf faults on its
# first tick with the matched src compiled directly). HOST COPIES instead:
# port/unmatched/MrBlizzard_StateDispatch.cpp (installer) and
# port/unmatched/MrBlizzard_Behavior.cpp (Behavior, PMF call replaced with
# a plain function-pointer call, everything else translated field for
# field). The ten cells __sinit_ov081_02128154 copies as DS code addresses
# are seated at runtime by hal/actor_classes_ov081.cpp (verify-then-abort).
# Both matched files stay byte-locked in src/ as proof, dropped from
# CMakeLists' gate-192 source list.
src/_ZN10MrBlizzardD1Ev.cpp
# RETIRED at SLICE1: body now in src/_ZN10MrBlizzardD1Ev.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/_ZN10MrBlizzardD0Ev.cpp
src/func_ov081_02124134.c
src/func_ov081_0212423c.c
src/func_ov081_021243cc.cpp
src/func_ov081_021245e8.c
src/func_ov081_021246a0.c
src/func_ov081_0212479c.cpp
src/func_ov081_02124894.c
src/func_ov081_0212498c.c
src/func_ov081_021249f4.c
src/func_ov081_02124b08.c
src/func_ov081_02124b98.cpp
src/func_ov081_02124d14.cpp
src/func_ov081_02124d50.cpp
src/func_ov081_02124dfc.c
src/func_ov081_02124e64.c
src/func_ov081_02124ec0.c
src/func_ov081_02124f20.cpp
src/func_ov081_02124f7c.c
src/func_ov081_02125038.cpp
src/func_ov081_02125068.cpp
src/func_ov081_021250c8.c
src/func_ov081_02125200.c
src/func_ov081_02125208.c
src/func_ov081_0212538c.c
src/func_ov081_021254d8.cpp
src/_ZN10MrBlizzard16CleanupResourcesEv.cpp
src/_ZN10MrBlizzard16OnPendingDestroyEv.cpp
src/_ZN10MrBlizzard6RenderEv.cpp
src/_ZN10MrBlizzard13InitResourcesEv.cpp
src/_ZN10MrBlizzard16OnAimedAtWithEggEv.cpp
src/d_a_snowman.c
# func_ov081_021261b8 (MrBlizzard's own Kill, slot 31 -- confirmed by reloc)
# sits inside delinks.txt's Snowball-labelled range (dsd's own file-discovery
# order interleaves the two classes' bodies; address, not file grouping, is
# ground truth here). Self-contained (no external calls at all), no
# Snowball dependency risk.
src/func_ov081_021261b8.c
#
# ---- ICE_BLOCK (daObjIceBlock_c), a Platform, 32 slots (own Kill) ----------
# _ZN8IceBlockD1Ev.c and _ZN8IceBlockD0Ev.c ride from src (lane DTOR-PAIRS-C):
# the "_ZTV10dBgActor_c placeholder" their second store spells is ov002 0x0210ae38
# by relocation, the one Platform base table the port hosts, so the fill's
# slots 16/17 take the matched pair behind adapters. func_ov081_02127be0 is a
# DIFFERENT function (a Behavior helper, address-confirmed -- sits right
# after D0 ends, 0x02127be0..02127ccc), not D1; it stays in the slice.
src/_ZN8IceBlockD1Ev.cpp
# RETIRED at SLICE1: body now in src/_ZN8IceBlockD1Ev.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/_ZN8IceBlockD0Ev.cpp
src/func_ov081_02127be0.cpp
src/_ZN8IceBlock15OnHitByMegaCharER6Player.cpp
src/_ZN8IceBlock4KillEv.cpp
src/_ZN8IceBlock16CleanupResourcesEv.cpp
src/_ZN8IceBlock6RenderEv.cpp
src/_ZN8IceBlock8BehaviorEv.cpp
src/_ZN8IceBlock13InitResourcesEv.cpp
src/d_a_obj_ice_block.c
#
# ---- the three own-class sinits (self-contained; RUN) ----------------------
# __sinit_ov081_021284b4 (Snowball) and __sinit_ov081_021284f0 (Moneybag)
# stay OFF -- neither class is hosted.
# NOTE (review round): __sinit_ov081_02128154 (MrBlizzard's own, including
# its ten-cell PMF table build) RUNS even though MR_BLIZZARD (223) is
# unregistered -- INERT: every write lands in MrBlizzard's own mounted
# statics/bss, and with the class out of the registry nothing ever reads
# them (no spawn -> no InitResources -> no dispatch through the cells).
src/__sinit_ov081_021280e8.c
src/__sinit_ov081_02128154.c
src/__sinit_ov081_021287b8.c
#
# (The D1/D0 pair used to sit out of this slice behind host thunks; lane
# DTOR-PAIRS-C seated the matched bodies, see the ICE_BLOCK block above.)
#
# ==== RECORD CORRECTION (review round) ====
# The gate-192 commit message described func_02044b30's SHORT-arg seam as
# "independently re-derived" during the MrBlizzard crash chase, which
# overstates it: that fix landed at GATE 4B (port/unmatched/
# ModelComponents_Render.cpp, wired via slice_gate4b.txt) long before this
# gate, and the gate-192 investigation merely CONFIRMED via the .map that
# the host copy (not the matched TU) is what links. This lane's own second
# SHORT-arg find was the func_02046d50/TextureSequence::Prepare caller
# family (MotherPenguin gate 191, daBgSnwmn_c gate 193, OneUpLogo gate 190
# fix round), plus func_ov072_02121d50's two callers (gate 193).
