# Gate 190: Cool Cool Mountain's own overlay (ov018, data/stage/snow_mt, base
# 0x021111a0), the CCM slice A per-symbol mount -- ICE_SHEET (295) and
# POWER_STAR_CREATE (355). ov018 is already mounted --whole in
# PORT_LEVEL_OVERLAYS (CMakeLists.txt gate 135); this is the SECOND mount, per
# symbol, the gate-17/gate-59/gate-188 treatment (ov009/ov015/ov016) applied to
# a fourth level overlay's own classes.
#
# SKI_LIFT (63) and MOTHER_PENGUIN (257) stay OUT of this mount: SkiLift's
# InitResources reaches window-shared ov036/ov056/ov022 statics (the
# #1308-#1310 trap family, disasm-confirmed aliases needed first) and
# MotherPenguin has only its factory decompiled. Neither class's own bss
# window is mounted here, so a future gate can add them without touching this
# file's rows.
#
# ==== GATE 191 additions: SKI_LIFT (63) + MOTHER_PENGUIN (257) ============
# The cross-overlay trap above is RESOLVED: main's c19c90882 (#1301) renamed
# _ZN10daPgMthr_c13InitResourcesEv.cpp's data_ov036/ov056/func_ov022 spellings to
# their own ov018 names (ov018/ov022/ov036/ov056 all share load window base
# 0x021111a0, never co-resident -- confirmed via tools/ovsweep.py E2, which
# no longer flags this file; delinks.txt already claims it for ov018). The
# file is carried into this worktree byte-identical from main HEAD.
#
# CLASS IDENTITY: the eight src/_ZN7SkiLift* files are MOTHER_PENGUIN's own
# bodies under a dsd-era mislabel -- daPgMthr_c_classInit.c installs
# _ZTV7SkiLift == _ZTV10daPgMthr_c at 0x021139bc (g_profile_PENGUIN_MOTHER
# 0x02113998 +0x24). The REAL SkiLift (daObjSm_Lift_c) is the unnamed chain
# _ZN7SkiLiftD1Ev..02111804 + daObjSm_Lift_c_classInit.c, own vtable
# _ZTV7SkiLift.
#
# ---- g_profile_SM_LIFT (0x021138a8) / g_profile_PENGUIN_MOTHER (0x02113998) --
g_profile_SM_LIFT:0x1c
g_profile_PENGUIN_MOTHER:0x1c
#
# ---- SkiLift's OWN vtable, _ZTV14daObjSm_Lift_c == _ZTV7SkiLift ----
# 32 words (0x021138cc..0x02113948 inclusive), the full 31-slot Actor shape
# PLUS Platform's Kill tail, read with relocations applied (every slot, not
# just the six the scope report named):
#   0  InitResources    0x021116b4  own (_ZN7SkiLift13InitResourcesEv)
#   3  CleanupResources 0x021112fc  own (_ZN7SkiLift16CleanupResourcesEv)
#   6  Behavior         0x02111368  own (_ZN7SkiLift8BehaviorEv) -- NOT in the
#                                    task's file list; found by reading the
#                                    reloc, essential (real 0x34c-byte body)
#   9  Render           0x02111340  own (_ZN7SkiLift6RenderEv)
#  12  OnPendingDestroy 0x02043ac0  ActorBase's base body (shared)
#  16  D1               0x021111a0  own (_ZN7SkiLiftD1Ev) -- HOST THUNK:
#                                    stores _ZTV14daObjSm_Lift_c then
#                                    OVERWRITES with _ZTV10dBgActor_c, the
#                                    196-speller SHARED PLACEHOLDER (the
#                                    ShipUp/RockPillar gate-188 shape) -- NOT
#                                    compiled, chain spelled in the fill.
#  17  D0               0x021111e4  own (_ZN7SkiLiftD0Ev) -- SAME shape:
#                                    stores VT0 then VT1 (decl_common.h's
#                                    generic placeholders, the G0/G1 disease
#                                    family) -- HOST THUNK, not compiled.
#  27  OnHitByMegaChar  0x0211123c  own (_ZN7SkiLift15OnHitByMegaCharER6Player)
#  31  Kill (Platform)  0x020ee55c  shared base body (already in the build,
#                                    the l7/ov064/jrb precedent)
# Every other slot is the shared Actor/ActorBase half.
#
# ---- SkiLift's bss window (the sinit-built SharedFilePtrs + the CLPS block) -
# __sinit_ov018_02112c14 is SELF-CONTAINED (only ov018 symbols; verified by
# reading its body) and constructs two SharedFilePtrs -- data_ov018_02113bc8
# (Model, InitResources' _ZN5Model8LoadFileER13SharedFilePtr arg) and
# data_ov018_02113bc0 (Clsn/KCL, InitResources' _ZN7dBgW_Kc8LoadFileER13SharedFilePtr
# arg) -- plus their two destruct-node cells at 02113bdc/02113bd0 (void*[3],
# the func_020731dc shape, 12 bytes each by next-symbol delta). data_ov018_02112f48
# is the CLPS_Block MovingMeshCollider::SetFile consumes. It holds TWO rows
# (43 4c 50 53 08 00 02 00, then c5 0f 00 00 ff.. and c5 0f 00 01 ff.., then 8
# bytes of 0xff fill), so it is pinned to its ROM span 0x20, up to the next real
# symbol data_ov018_02112f68. The next-symbol delta stopped at 0x10 because dsd
# names 0x02112f58 (row 1) as an ambiguous symbol that nothing in ov018
# references; the pack then padded row 1 with a zeroed gap and the ski lift's
# row-1 triangles read an all-zero surface in place of the ROM's.
data_ov018_02113bc8 data_ov018_02113bdc
data_ov018_02113bc0 data_ov018_02113bd0
data_ov018_02112f48:0x20
#
# ---- MotherPenguin's OWN vtable, _ZTV7SkiLift == _ZTV10daPgMthr_c at
# 0x021139bc -- 31 words (0x021139bc..02113a34 inclusive), a PLAIN Actor
# shape (no Kill, the next word 02113a38 is unreferenced / RTTI-adjacent),
# read with relocations applied (every slot):
#   0  InitResources    0x021124d0  own -- HOST COPY
#                                    (port/unmatched/MotherPenguin_InitResources.cpp):
#                                    the SAME TextureSequence::Prepare
#                                    SHORT-1 hole OneUpLogo's gate-190
#                                    follow-up fixes, a second independent
#                                    caller. Matched src stays byte-locked,
#                                    dropped from this slice.
#   3  CleanupResources 0x021123ec  own (_ZN10daPgMthr_c16CleanupResourcesEv.cpp)
#   6  Behavior         0x02112480  own (_ZN10daPgMthr_c8BehaviorEv.cpp)
#   9  Render           0x02112454  own (_ZN10daPgMthr_c6RenderEv.cpp)
#  12  OnPendingDestroy 0x02112450  own (_ZN10daPgMthr_c16OnPendingDestroyEv.c,
#                                    empty body -- NOT the shared default,
#                                    confirmed by reloc target address)
#  16  D1               0x02111848  own (_ZN10daPgMthr_cD1Ev.cpp) -- a real
#                                    MSVC-synthesised destructor with NO
#                                    vtable store at all (the OneUpLogo D1
#                                    shape) -- NOT compiled, chain spelled
#                                    directly in the fill.
#  17  D0               0x02111898  own (_ZN10daPgMthr_cD0Ev.c) -- stores
#                                    _ZTV10daPgMthr_c, ITS OWN table under
#                                    the correct RTTI name (not a shared
#                                    placeholder) -- STAYS in slice, the
#                                    IceSheet D0 treatment.
# Every other slot (1/2/4/5/7/8/10/11/13/14/15/18-30) is the shared
# Actor/ActorBase half -- confirmed by reloc target address, MotherPenguin
# overrides no combat/tail slots (unlike SkiLift's own OnHitByMegaChar).
#
# ---- MotherPenguin's bss window: five SharedFilePtr pairs (Model, two
# Animation, two TextureSequence) + their destruct-node cells, built by
# __sinit_ov018_02112c80 (self-contained, only ov018 symbols, verified by
# reading its body), plus the two 2-pointer arrays InitResources indexes
# and a 0x30-byte static-to-instance data copy (0211394c..02113974 -> the
# 02113c4c destination, six S2{int[2]} cells, natural symbol-table spacing --
# NOT a --pack case, no gaps between the six source cells or the dest cells).
data_ov018_02113c00 data_ov018_02113c28
data_ov018_02113bf0 data_ov018_02113c10
data_ov018_02113c08 data_ov018_02113c1c
data_ov018_02113bf8 data_ov018_02113c34
data_ov018_02113be8 data_ov018_02113c40
# EXPLICIT SIZE: next-symbol delta undersizes both to 4 bytes (one pointer)
# -- InitResources indexes each as a TWO-element array (data_ov018_02112c04[i]
# for i=0,1), so both need the full 8 bytes or index [1] reads the next
# symbol's bytes instead of its own second element (the undersized-globals
# trap).
data_ov018_02112c04:0x8 data_ov018_02112c0c:0x8
data_ov018_0211394c data_ov018_02113954 data_ov018_0211395c data_ov018_02113964 data_ov018_0211396c data_ov018_02113974
data_ov018_02113c4c
#
# THE VTABLES STAY OUT, the ov080/ov095/ov064/ov016 rule: _ZTV15daObjIceBoard_c
# (0x02113b34, 32 words -- the full 31-slot Actor shape, own overrides at
# 0/3/6/9/16/17/21/27/31) and PowerStarCreate's unnamed table
# _ZTV8daSCre_c (18 words -- the ActorBase-only shape, own overrides at
# 6/16/17 only, no OnYoshiTryEat/combat tail) each carry the vtable signature
# (+4 relocates to Actor::BeforeInitResources, arm9 0x02011268) and are HOST
# arrays hal/actor_classes_ccm.cpp fills.
#
# ---- IDs cross-checked from relocs.txt (the ov016 recipe: SpawnInfo's +4
# halfword is the id the registry cross-checks) ----
# g_profile_STAR_CREATE (0x02113a50, +4 -> 0x02113a54 = 0x163 = 355) --
# +0 is the factory word (0x0211278c = daSCre_c_classInit).
# g_profile_ICE_BOARD (0x02113b10, +4 -> 0x02113b14 = 0x127 = 295) -- +0 is
# 0x02112a44 = daObjIceBoard_c_classInit.
g_profile_STAR_CREATE:0x1c
g_profile_ICE_BOARD:0x1c
#
# ---- IceSheet's bss window (the four cells __sinit_ov018_02112e00 builds) --
# __sinit_ov018_02112e00 is SELF-CONTAINED (only ov018 symbols; verified by
# reading its body) and constructs two SharedFilePtrs -- the Model file at
# data_ov018_02113c84 (== IceSheet_ModelFile, aliased in config by #1083) and
# the Clsn file at data_ov018_02113c7c (== IceSheet_ClsnFile) -- plus their two
# destruct-node cells at 02113c98/02113c8c (void*[3], the func_020731dc shape).
# IceSheet::InitResources reads the SharedFilePtrs by the raw data_ov018_*
# names; IceSheet::CleanupResources (post #1083) reads them by the
# IceSheet_ModelFile/ClsnFile aliases. Mount the raw names (the ov018_syms.txt
# convention everywhere else in this file) and alias the alternate spelling in
# the fill, the _ZTV14daObj1UpLogo_c/_ZTV9OneUpLogo treatment.
data_ov018_02113c7c data_ov018_02113c84 data_ov018_02113c8c data_ov018_02113c98
