# The ov095 data SEESAW_BOB names -- Bob-omb Battlefield's seesaw bridge (39).
#
# ov095 is an ACTOR overlay (base 0x02135700, its own, not shared with the
# ov078/079/080 set), one of the seven actor overlays level 6 loads
# (ov062/069/078/084/091/095/100). It carries several classes -- SeesawBob,
# SeesawUtm/Bdw/Bfs/Bs/Rr, the UpDownLift trio and a Flamethrower -- of which
# level 6's census names only SEESAW_BOB (39). Its id and its SpawnInfo's own
# +4 halfword were read from the arm9 ACTOR_SPAWN_TABLE (0x02090864): entry 39
# relocates to g_profile_BOMB_SEESAW at 0x02137484 and that record's +4 reads 39.
#
# This is the per-symbol mount (the gate-32/gate-77 ov085/ov080/ov079 shape):
# SEESAW_BOB reaches its SpawnInfo, its three parallel file-pointer tables
# (data_ov095_021374a0/a4/a8, columns of a 7-row 0xc-stride array indexed by the
# variant byte at +0x31e), and the SharedFilePtr statics its InitResources and
# CleanupResources Release, all BY NAME. --pack keeps the runs that are really
# one array contiguous against the ROM's own spacing.
#
# THE THREE VTABLES ARE LEFT OUT, the ov085/ov080/ov079 rule: _ZTV9SeesawBob
# (0x021374fc), _ZTV13UpDownLiftBbh (0x02137628) and _ZTV12Flamethrower
# (0x021376f0) each carry the vtable signature (the +4 word relocates to
# Actor::BeforeInitResources, arm9 0x02011268) and are HOST arrays the registry
# fills. All three are filled now, one file each:
# hal/actor_classes_bob_world.cpp (SeesawBob, gate 83),
# hal/actor_classes_updownlift.cpp (the UpDownLift trio, gate 173 + w5-A) and
# hal/actor_classes_flamethrower.cpp (Flamethrower, run linkw wave 6 lane
# w6-f). The line this replaced said only SeesawBob's was filled, which went
# stale at gate 173.
#
# The two sinits (__sinit_ov095_02136fe0 and _0213722c, run from
# hal/actor_overlays.cpp) construct the SharedFilePtrs the file tables point at;
# both their targets are in this mount. data_ov095_02137910 is sinit2's
# five-record copy destination -- pinned to 0x28 (5 * 8) so the whole struct is
# hosted rather than the 4 bytes the next-symbol delta would give (it is the
# last symbol, tail into bss).
#
# g_profile_BOMB_SEESAW is pinned to the record's real 0x1c so the +4 id halfword
# the registry cross-checks reads out of the right bytes (39).
# data_ov095_02136f58 is the 4-int table func_ov095_0213579c indexes by the
# rider's (p+8)&3 -- the seesaw's tilt-response coefficients. Plain ints, no
# relocs; it sits well before the SpawnInfo, which --pack spans with a gap.
data_ov095_02136f58
g_profile_BOMB_SEESAW:0x1c
data_ov095_021374a0 data_ov095_021374a4 data_ov095_021374a8
data_ov095_0213757c data_ov095_02137584 data_ov095_0213758c data_ov095_02137594
data_ov095_0213759c
data_ov095_02137780 data_ov095_02137788 data_ov095_02137790 data_ov095_02137798
data_ov095_021377a0 data_ov095_021377a8 data_ov095_021377b0 data_ov095_021377b8
data_ov095_021377c0 data_ov095_021377c8 data_ov095_021377d0 data_ov095_021377d8
data_ov095_021377e0 data_ov095_021377e8 data_ov095_021377f0 data_ov095_021377fc
data_ov095_02137808 data_ov095_02137814 data_ov095_02137820 data_ov095_0213782c
data_ov095_02137838 data_ov095_02137844 data_ov095_02137850 data_ov095_0213785c
data_ov095_02137868 data_ov095_02137874 data_ov095_02137880 data_ov095_0213788c
data_ov095_02137898 data_ov095_021378a0 data_ov095_021378a8 data_ov095_021378b0
data_ov095_021378b8 data_ov095_021378c0 data_ov095_021378c8 data_ov095_021378d4
data_ov095_021378e0 data_ov095_021378ec data_ov095_021378f8 data_ov095_02137904
data_ov095_02137910:0x28
# gate 173: UP_DOWN_LIFT_HMC (33). The id-33 factory record, pinned 0x1c (the
# record stride; the Bbh->Hmc and Hmc->Rr deltas are both 0x1c) so the +4 id
# halfword the registry cross-checks reads out of the right bytes; then the two
# variant-indexed SharedFilePtr-pointer tables InitResources reads (three words
# each, relocs f68/6c/70 and f74/78/7c -> the mounted SharedFilePtrs above) and
# the CLPS-block pointer table it hands MovingMeshCollider::SetFile (three
# words, relocs a4/a8/ac). The five state statics and the runtime table
# data_ov095_02137910 are already in the mount from gate 83; the vtable
# _ZTV13UpDownLiftBbh stays OUT, a host array (hal/actor_classes_updownlift.cpp).
g_profile_UDLIFT:0x1c
data_ov095_02136f68:0xc data_ov095_02136f74:0xc
data_ov095_021375a4:0xc
# run linkw wave 5 (lane w5-A): UP_DOWN_LIFT_BBH (32), the 0x20 variant of the
# same daUdlift_c trio, joins for Big Boo's Haunt. Its SpawnInfo is flagged
# `ambiguous` in config (the ov095 window is shared); resolved by the raw
# record in extracted/overlays/overlay_0095.bin: word[0] = 0x021367fc =
# daUdlift_c_classInit_UDLIFT_TERESA, +4 halfword = 32, +6 = 300. Everything else the
# variant reads (the f68/f74 file tables, the CLPS table, the state machine)
# is variant-indexed storage already mounted above; the class code and vtable
# are gate 173's, shared across all three ids.
g_profile_UDLIFT_TERESA:0x1c
# run linkw wave 6 (lane w6-f): FLAMETHROWER (318), the last ov095 class and
# the one that skips on FOUR mounted levels (13/14/15/37). Its record is
# `ambiguous` in config the same way every ov095 record is (ov006 spans this
# window: base 0x020bbb00 + code_size 0x7ebc0 covers 0x021376cc, and arm9
# relocs.txt spells the spawn-table entry `module:overlays(6,95)`). Settled by
# the RAW ov095 image, never the dsd export: overlay_0095.bin at file offset
# 0x021376cc - 0x02135700 reads
#     d4 6e 13 02  3e 01  3c 01  02 00 00 00  00 00 00 00
#     00 00 50 00  00 00 00 01  00 00 00 00
# = word[0] 0x02136ed4 = daObjFlamethrower_c_classInit, +4 halfword 0x013e = 318, +6
# halfword 0x013c = 316.
#
# WIDTH 0x1c, and here the default would be WRONG, not merely loose: the next
# symbol is _ZTV12Flamethrower at 0x021376f0, so a next-symbol delta would pin
# 0x24 and swallow the vtable's mwcc RTTI header word at 0x021376ec (a RELOC to
# the typeinfo record at 0x021376a8) into an actor record. 0x1c is the measured
# stride of every record in this overlay -- the seven Seesaws run
# 0x021373dc/f8/0x02137414/30/4c/68/84 and the three UpDownLifts run
# 0x021375cc/e8/0x02137604, all deltas exactly 0x1c -- and UpDownLiftRr shows
# the identical shape one section up: a 0x1c record followed by a 4-byte pad
# before the next table's RTTI word. Adjacency checked both ways: 0x021376cc +
# 0x1c = 0x021376e8, clear of the vtable, and clear of the UpDownLift section
# above (which ends at 0x02137604 + 0x1c) and of the mounted
# data_ov095_02137780 run below.
#
# The vtable itself stays OUT, the rule this file's header already states: it
# is the host array hal/actor_classes_flamethrower.cpp defines and the registry
# fills.
g_profile_OBJ_FLAMETHROWER:0x1c
# and the three constant tables the class indexes by segment. The matched
# InitResources reads two of them BY NAME already (data_ov095_02136fb0 the
# reach, data_ov095_02136f80 the collider radius/height scale, both declared in
# include/decl_common.h inside its extern "C" block, so no C++ data spelling is
# emitted and no alias is needed); data_ov095_02136f98 is the Behavior's second
# particle argument. Twelve entries each -- s32, s16, s16 -- and the
# next-symbol deltas already give exactly 0x30/0x18/0x18 (the run is contiguous:
# f80 + 0x18 = f98, f98 + 0x18 = fb0, fb0 + 0x30 = __sinit_ov095_02136fe0), so
# these need no pin. None of the three carries a relocation, so they add
# nothing to the pointer-rebase pass.
data_ov095_02136f80 data_ov095_02136f98 data_ov095_02136fb0

# ---- run linkw wave 9, lane w9-reg: three more SEESAW records ---------------
# SEESAW_BDW (133, x2 on level 35), SEESAW_BS_PLANK (149, x1 on level 39) and
# SEESAW_BS_ZIGZAG (150, x1 on level 39). All three share the table 0x021374fc
# with the already-registered SEESAW_BOB (39), so the host array
# _ZTV9SeesawBob[32] that hal/actor_classes_bob_world.cpp fills is already
# filled before any of them spawns; these three lines add only the records the
# registry rewrites and the ActorBase constructor reads its two priorities back
# out of. Both attribution routes for each, out of the RAW ndspy image:
#   0x02090a78 -> 0x021373f8  word[0]=0x02135f64 daObjSeesaw_c_classInit_KM1_SEESAW      +4 = 133
#   0x02090ab8 -> 0x02137430  word[0]=0x02135f04 daObjSeesaw_c_classInit_KM3_SEESAW  +4 = 149
#   0x02090abc -> 0x0213744c  word[0]=0x02135ed4 daObjSeesaw_c_classInit_KM3_YOKOSEESAW +4 = 150
# 0x1c each, the stride this file's SeesawBob block already measured for every
# record in the overlay -- the seven Seesaws at 0x021373dc/f8/0x02137414/30/4c/
# 68/84 are all exactly 0x1c apart. The natural next-symbol deltas here are 0x4,
# 0x1c and 0x8, so two of the three would be wrong and the 0x4 would truncate
# the record before the +4 id halfword the registry cross-checks.
g_profile_KM1_SEESAW:0x1c g_profile_KM3_SEESAW:0x1c
g_profile_KM3_YOKOSEESAW:0x1c

# ---- run linkw wave 11, lane w11: the last four ov095 records ---------------
# The widened sweep (all 512 spawn-table ids, not the census worklist) shows the
# SEVEN-id table 0x021374fc still carries three unregistered ids after wave 9 --
# SEESAW_UTM (28), SEESAW_RR (128) and SEESAW_BFS (143, x2 on level 37) -- and
# that the three-id table 0x02137628 still carries UP_DOWN_LIFT_RR (131). Both
# arrays are already filled by registered siblings (_ZTV9SeesawBob by id 39 and
# its wave-9 companions, _ZTV13UpDownLiftBbh by ids 32/33), so these four lines
# add only the records the registry rewrites and ActorBase reads its two
# priorities back out of. Both attribution routes for each, out of the RAW
# ndspy image (ov095 is compressed:true):
#   0x020908d4 -> 0x021373dc  word[0]=0x02135fc4 daObjSeesaw_c_classInit_SEESAW    +4 = 28,  +6 = 296
#   0x02090a64 -> 0x02137468  word[0]=0x02135ea4 daObjSeesaw_c_classInit_RC_SEESAW     +4 = 128, +6 = 258
#   0x02090aa0 -> 0x02137414  word[0]=0x02135f34 daObjSeesaw_c_classInit_KM2_YOKOSEESAW    +4 = 143, +6 = 214
#   0x02090a70 -> 0x02137604  word[0]=0x0213679c daUdlift_c_classInit_RC_RIFT02 +4 = 131, +6 = 261
# 0x1c each. For the three Seesaws the pin agrees with the natural next-symbol
# delta and is there for the reason the SeesawBob block above states: 0x1c is
# the measured stride of every record in this overlay, and the three sit inside
# the run 0x021373dc/f8/0x02137414/30/4c/68/84 that block already measured.
#
# UpDownLiftRr is the one where the default would be WRONG rather than loose,
# and this file's Flamethrower block already predicted it in those words: its
# next symbol is _ZTV13UpDownLiftBbh at 0x02137628, so a next-symbol delta would
# pin 0x24 and swallow the vtable's mwcc RTTI header word at 0x02137624 into an
# actor record. 0x1c lands at 0x02137620, clear of it, and 0x02137604 is exactly
# 0x1c past g_profile_UDLIFT_TERESA at 0x021375e8 -- the third of the three
# UpDownLift records this file's header already walked (0x021375cc/e8/0x02137604).
#
# The two vtables stay OUT, the rule this file's header states: both are host
# arrays the registry fills.
g_profile_SEESAW:0x1c g_profile_RC_SEESAW:0x1c
g_profile_KM2_YOKOSEESAW:0x1c g_profile_RC_RIFT02:0x1c
