# RETIRED at SYNC6: the class translation unit main folded these bodies into
# is back on its slice rows (today's #2660/#2663/#2666 un-quarantine) and it
# DEFINES the names below itself, so the mount was the second definition.
# Measured as LNK2005 rows against this file's generated object in
# build_s2.log. Removed from the generator's INPUT, per the rule: never
# edit the generated output. Retired here: g_profile_BIG_SNOWMAN_BODY, g_profile_BIG_SNOWMAN
# Gate 193, EXTENDED by lane w3-d: ov072, a 100% matched ACTOR overlay
# carrying FOUR classes -- BABY_PENGUIN (256), the actual SNOWMAN (272, the
# UNNAMED daBgSnwmn_c block -- see below), SNOWMAN_HEAD (273) and
# SNOWMAN_BODY (274). ALL FOUR ARE HOSTED NOW. The original gate seated the
# first two only, and everything this header used to say about 273/274 being
# unhosted with their sinits off is superseded below. Fresh per-symbol mount,
# the ov079/ov080/ov081 convention: WHOLE data span MINUS all FOUR hosted
# classes' own vtables (host arrays hal/actor_classes_ov072.cpp fills) MINUS
# dsd's four .p__sinit_* pointer entries (not C identifiers; the port calls
# the four sinits it runs by name directly) MINUS the two __sinit_* FUNCTION
# symbols themselves (code, not data -- called directly, never mounted).
# ovdata.py's --pack mode pads the resulting address gaps automatically.
#
# CLASS-IDENTITY CORRECTION (main-brain verified against arm9 relocs.txt --
# spawn-table entry at 0x02090ca4 -> SpawnInfo 0x02122954 -> vtable
# 0x02122978 -> vtable slot 0 0x02120a44 = _ZN11daBgSnwmn_c13InitResourcesEv,
# daBgSnwmn_c::InitResources): id 272 (the task's "SNOWMAN") is NOT
# SnowmanBody or SnowmanHead -- dsd never assigned daBgSnwmn_c a clean C++
# name (no _ZTV11Snowman* spelling exists for it at all; its own D0 file
# even carries a stray "OnYoshiTryEat" name-decoy from a slot-identity
# mis-scan). The real class is the NINE-FILE unnamed chain
# _ZN11daBgSnwmn_cD1Ev (D1) .. daBgSnwmn_c_classInit (Spawn/ctor), address
# range 0x02120824..0x02120c58, sitting BETWEEN SnowmanHead's block
# (0x0211ff34..0x02120824) and BabyPenguin's block (0x02120c58..
# 0x02121ffc). SnowmanBody (274) and SnowmanHead (273) keep their dsd-clean
# _ZN11SnowmanBody*/_ZN11SnowmanHead* names but are NOT what this gate
# hosts under ids 272/273.
#
# VTABLE SLOT COUNT CORRECTION: daBgSnwmn_c's own vtable (_ZTV11daBgSnwmn_c)
# is 31 WORDS (0x02122978..0x021229f0), not 32 with an own Kill at slot 31 --
# the word at 0x021229f4 that looked like a plausible slot-31 entry is
# ACTUALLY BabyPenguin's own data (data_ov072_021229f4, an entry
# __sinit_ov072_02122414 copies into BabyPenguin's data_ov072_02122d6c[5].a
# state-cell table), confirmed by delinks.txt: the function that word
# targets (func_ov072_02121368, address-confirmed 0x02121368..0x021214dc)
# sits INSIDE BabyPenguin's own file range, not daBgSnwmn_c's. daBgSnwmn_c
# has no own-Kill file among its nine; it uses whatever slot 30
# (0x021229f0 -> 0x020100dc, a shared arm9 helper) already provides and
# has no slot-31 override at all -- own slots:
#   0 Init 0x02120a44, 3 Cleanup 0x02120980, 6 Behavior 0x02120a08,
#   9 Render 0x021209c0, 12 OnPendingDestroy 0x021209bc (own, empty body),
#   16 D1 0x02120824, 17 D0 0x02120874.
#
# BABY_PENGUIN (daPgBby_c), a plain Actor, 31-slot vtable _ZTV11BabyPenguin
# == _ZTV9daPgBby_c (0x02122a90). D1 (0x02120c58) is a pure synthesized
# C++ destructor (empty body, real member dtor chain via a local shadow
# struct -- no vtable-store at all, nothing to seat). D0 (0x02120ca0)
# stores _ZTV9daPgBby_c and never overwrites -- both stay in the slice,
# matched src, no host-thunk disease. Render (0x02121db4) is a raw
# shadow-vtable slot-5 call into the embedded Model/ModelAnim members
# (rides the shared fill, same shape as gate-192's IceBlock/Spindrift).
#
# BABY_PENGUIN'S OWN PMF DISEASE: func_ov072_02121d18 (0x02121d18)
# dispatches through a REAL C++ pointer-to-member on a deliberately
# incomplete `struct C { char pad[0x35c]; PMF *pp; }` -- the SAME
# SoundObject/Cap/MrBlizzard-state shape gate 192 already fixed twice.
# func_ov072_02121d50 installs a cell pointer (data_ov072_02122d6c + i*0x10)
# at self+0x35c; six wide call sites across BabyPenguin's own state-machine
# body install/transition through it. MSVC's PMF for that incomplete class
# does not reproduce the ROM's {function,delta} ABI -- needs host copies
# translating the PMF call to a plain function-pointer call, mirroring
# port/unmatched/MrBlizzard_StateDispatch.cpp's own fix shape.
#
# daBgSnwmn_c'S OWN PREPARE SHORT-1 BUG (a 6th, previously-unscreened
# caller of the argsweep FINAL_TABLE.csv row
# __ZN15TextureSequence7PrepareER8BMD_FileR8BTP_File): _ZN11daBgSnwmn_c13InitResourcesEv
# (daBgSnwmn_c::InitResources) calls Prepare with the same two-argument
# shape MotherPenguin's fix (gate 191) diagnosed -- self=model,
# bmd=animFile, btp=animFile (data_ov072_02122c48[1] as model,
# data_ov072_02122c50[1] as animFile). Needs the same host-copy treatment;
# see hal/actor_classes_ov072.cpp / port/unmatched. BABY_PENGUIN DOES NOT
# HAVE THIS BUG -- its own InitResources (_ZN11BabyPenguin13InitResourcesEv.cpp)
# has no TextureSequence member and never calls Prepare at all; it stays
# matched src in the slice, unaffected.
#
# SNOWMAN_HEAD (273) COUPLING: daBgSnwmn_c::InitResources spawns
# SnowmanHead (Actor::Spawn(0x111, ...)) ONLY when
# IsStarCollectedInLevel(0xa, 5) == 0 (star 5 not yet collected), then
# IMMEDIATELY calls ActorBase::MarkForDestruction on itself the same frame
# -- a real, unconditional spawn call, not a null-guarded soft reference.
# That was measurable, and lane w3-d measured it: level 10's baseline census
# on cons cc10acd4e reads "[spawn] actor 0x111 not registered, skipped" -- so
# every Cool Cool Mountain boot the port has ever done declined this class.
# SNOWMAN_HEAD IS REGISTERED NOW and that skip is gone.
#
# SNOWMAN_BODY (274) is registered too, and its honest status is different:
# nothing in src/ spawns 0x112, no level in the lane's proof set places it,
# and it is on no census. Its seat is ROM-derived and complete (identity by
# both routes, 31-slot table read out of the image) but it is UNEXERCISED by
# any run this lane made. It is linkage and correctness, not a demonstrated
# behaviour change -- said plainly here so nobody reads the two seats as
# equally proved.
#
# SINIT SPLIT IS RETIRED: ALL FOUR sinits now run, in ROM address order --
# __sinit_ov072_02122018 (SnowmanBody: 12 PMF source pairs -> the six cells
# at data_ov072_02122b64, plus two Vector3 literals), __sinit_ov072_021221f8
# (SnowmanHead: three SharedFilePtr/TexSeq loads + 8 PMF source pairs -> the
# four cells at data_ov072_02122c00), __sinit_ov072_02122350 (daBgSnwmn_c's
# own three SharedFilePtr loads, data_ov072_02122c40/c48/c50) and
# __sinit_ov072_02122414 (BabyPenguin's own five SharedFilePtr loads + the
# six-cell PMF state table data_ov072_02122d6c + four Vector3 literals).
#
# THE TWO NEW SINITS COPY CODE ADDRESSES, which is why each new class also
# gets a host state seat. The pair tables they read (0x02122720..0x02122780
# for SnowmanBody, 0x0212283c..0x0212287c for SnowmanHead) are mounted ROM
# data holding {DS function address, 0} pairs -- the pointer-to-member SOURCE
# shape, every other word zero. Copied raw into bss and dispatched through,
# they jump into unmapped host memory. port_snowman_body_states_seat() and
# port_snowman_head_states_seat() verify the sinit copied the ROM's own
# addresses and then overwrite each with the host body's, the MrBlizzard/
# BabyPenguin treatment.
#
# IDs cross-checked BOTH ROUTES (arm9 spawn table base 0x02090864 + id*4, and
# each SpawnInfo's own word[1] low halfword):
#   256 BabyPenguin  0x02090c64 -> SpawnInfo 0x02122a6c word[1] 0x00720100
#   272 daBgSnwmn_c  0x02090ca4 -> SpawnInfo 0x02122954 word[1] 0x00830110
#   273 SnowmanHead  0x02090ca8 -> SpawnInfo 0x02122898 word[1] 0x00840111
#   274 SnowmanBody  0x02090cac -> SpawnInfo 0x0212279c word[1] 0x00850112
# and each vtable's own [-1] typeinfo resolves to the matching name string:
#   0x021227c0 [-1] -> 0x02122780 -> "12daBgSnmBdy_c"  (SnowmanBody)
#   0x021228bc [-1] -> 0x0212287c -> "12daBgSnmHed_c"  (SnowmanHead)
#   0x02122978 [-1] -> 0x02122938 -> "11daBgSnwmn_c"   (the actual SNOWMAN)
# Vtables: BabyPenguin 0x02122a90, daBgSnwmn_c 0x02122978, SnowmanHead
# 0x021228bc, SnowmanBody 0x021227c0 -- the last two are 0x7c bytes each
# (31 words, 0x021227c0..0x0212283c and 0x021228bc..0x02122938), read out of
# extracted/overlays/overlay_0072.bin, and every one of their shared slots is
# byte-identical to the two tables ov72_fill_shared already served.
data_ov072_02121ffc data_ov072_02122004 data_ov072_02122720 data_ov072_02122728 data_ov072_02122730 data_ov072_02122738 data_ov072_02122740 data_ov072_02122748 data_ov072_02122750 data_ov072_02122758 data_ov072_02122760 data_ov072_02122768 data_ov072_02122770 data_ov072_02122778 _ZTI12daBgSnmBdy_c _ZTS12daBgSnmBdy_c data_ov072_0212283c data_ov072_02122844 data_ov072_0212284c data_ov072_02122854 data_ov072_0212285c data_ov072_02122864 data_ov072_0212286c data_ov072_02122874 _ZTI12daBgSnmHed_c _ZTS12daBgSnmHed_c g_profile_BIG_SNOWMAN_HEAD _ZTI11daBgSnwmn_c _ZTS11daBgSnwmn_c data_ov072_021229f4 data_ov072_021229fc data_ov072_02122a04 data_ov072_02122a0c data_ov072_02122a14 data_ov072_02122a1c data_ov072_02122a24 data_ov072_02122a2c data_ov072_02122a34 data_ov072_02122a3c data_ov072_02122a44 data_ov072_02122a4c _ZTS9daPgBby_c _ZTI9daPgBby_c g_profile_PENGUIN_BABY data_ov072_02122b20 data_ov072_02122b28 data_ov072_02122b34 data_ov072_02122b40 data_ov072_02122b4c data_ov072_02122b58 data_ov072_02122b64 data_ov072_02122bc4 data_ov072_02122bcc data_ov072_02122bd4 data_ov072_02122bdc data_ov072_02122be8 data_ov072_02122bf4 data_ov072_02122c00 data_ov072_02122c08 data_ov072_02122c40 data_ov072_02122c48 data_ov072_02122c50 data_ov072_02122c58 data_ov072_02122c64 data_ov072_02122c70 data_ov072_02122c7c data_ov072_02122c88 data_ov072_02122c94 data_ov072_02122c9c data_ov072_02122ca4 data_ov072_02122cac data_ov072_02122cb4 data_ov072_02122cbc data_ov072_02122cc4 data_ov072_02122cd0 data_ov072_02122cdc data_ov072_02122ce8 data_ov072_02122cf0 data_ov072_02122cf4 data_ov072_02122d00 data_ov072_02122d0c data_ov072_02122d18 data_ov072_02122d24 data_ov072_02122d30 data_ov072_02122d3c data_ov072_02122d48 data_ov072_02122d54 data_ov072_02122d60 data_ov072_02122d6c data_ov072_02122dc4
