# Gate-25 slice: THE BOTTOM SCREEN. (Renumbered from 24 at merge.)
#
# Everything the sub engine draws is already matched; what this slice adds is
# the code that puts bytes in front of it.
#
# 1. The OAM lifecycle the port never ran. OAM::Reset rebuilds both shadows at
#    the top of the 2D frame, the RenderSub pair is what HUD and Minimap emit
#    through, and OAM::EnableSubOAM is the one that clears data_0209e660 so a
#    sub==true sprite stops landing in the top screen's buffer. OAM::Load
#    itself reads POWCNT textually, so it comes through hostgen (GATE6_GEN),
#    and the two upload primitives it calls come from here.
#    The ten-argument OAM::Render core is already in slice_gate10, and
#    GetObjWidth/GetObjHeight/LoadAffineParams with it.
#
# 2. Stage::LoadGraphics2D and its closure: the function that fills the bottom
#    screen's BG character data, tilemaps and both palettes, plus the sprite
#    tiles at 0x6600000. Without it the sub engine scans out an empty VRAM and
#    the panel is one flat backdrop colour.
#
# 3. Stage::CheckCameraInput, which hit-tests the on-screen camera buttons
#    against the touch record and turns them into the same rotate bits the
#    shoulder buttons produce.

src/_ZN3OAM5ResetEv.cpp
src/_ZN3OAM12EnableSubOAMEv.cpp
src/_ZN3OAM9RenderSubEP7OamAttrii.cpp
src/_ZN3OAM9RenderSubEP7OamAttriiii.cpp
src/func_020566dc.c
src/func_02056674.c

src/_ZN5Stage14LoadGraphics2DEbi.cpp
src/_ZN2G213GetBG2CharPtrEv.cpp
src/_ZN2G212GetBG2ScrPtrEv.cpp
src/_ZN3G2S13GetBG0CharPtrEv.cpp
src/_ZN3G2S12GetBG0ScrPtrEv.cpp
src/_ZN3G2S12GetBG2ScrPtrEv.cpp
src/LoadFont.cpp
src/LoadFileAt.c
src/LoadCompressedFileAt.c
src/func_02018ac4.c
src/_ZN2GX10LoadBGPlttEPKvjj.cpp
src/_ZN3GXS10LoadBGPlttEPKvjj.cpp
src/GetOwnerLanguage.c
src/SetBg0Offset.c
src/SetSubBg0Offset.c
src/SetSubBg2Offset.c

src/_ZN5Stage16CheckCameraInputEv.cpp

# Not here, on purpose. Each was reachable only from a LoadGraphics2D branch
# the port did not take, or dragged something the port had no seam for, and
# hal/sub_screen.cpp stubbed them by name. Every one has since become the
# matched body on another slice (hal/sub_screen.cpp says which, per leaf):
#
#   LoadFont3D             -> Message::LoadTextVS, the message-box text engine
#                             (slice_vs, run vs1)
#   LoadControllerModeText -> func_0201d590, the top-screen text rasteriser
#                             (slice_w31_s42d.txt, run linkfull lane S42D)
#   func_ov004_020adc4c    -> ov004's one BSS word, hal/oam2d_ov004_bss.cpp
#                             (run linkw lane cat-2d)

