# Game functions replaced by runtime hooks. Address = function entry.
# recomp.py ignores the text after '#'.
# Prefix @ for an instruction site inside a function.
# Write `same` after an entry when that whole-function replacement was checked against builds that compile it differently.

02ACD218  # frame allocator: wait for the ring at this+0x4A8 on nested grow
024D752C same  # draw queues: drop items whose model pointer at node+0x28 is null
@022A79C4  # DistantViewMgr::calcView_: scale the flicker before it is added to the projection
022A7760  # DistantViewMgr::calcView_: keep the distant-view projection on the chosen aspect
029A6170  # BgScrollMgr screen update: widen scalar and background X edges with the camera
029B85C8  # layer draw: fader layers cover the wide picture
02A06818  # sead::OrthoProjection::setTBLR: widen or heighten a 16:9 screen rect
02A061AC  # sead::PerspectiveProjection ctor: replace a baked 16:9 aspect
02A062EC  # sead::PerspectiveProjection::set: same replacement on the per-frame setter
02994164  # Scene::setNextScene: onSceneChange and scene src for mod API transitions
029CBBB4 same  # error viewer: this port does not draw it, so the call must not pause the game
024BD86C same  # course setup: skip while a story load is leaving the live course
024BE4FC  # course enter after setup: same skip; it calls InputMgr::setupCourseControllers_
024BFA50  # course enter follow-up: same skip; it reads InputMgr
@024B8324  # course out: seed the map pose once
0226FBC4  # map entry: seed that pose once, with the player
0252F900  # course HUD: AreaTask is null while a course change replaces the area
025CF020  # course HUD helper: AreaTask is null during course teardown
024E25F4  # light field copy: a null-page optional pointer is absent
024E29B8  # light teardown on course exit: return when the object is in the null page
024EFE58  # ModelFFL::drawOpa: skip while the Mii shader program is null
024F009C  # ModelFFL::drawXlu: skip while the Mii shader program is null
029C52CC  # ApplicationFramework::procCalc_: start a frame; an in-between pass skips the task-tree logic
024FBF6C  # RenderObjRenderMgr::calcView: bake the in-between camera projection for the draw
@0269110C  # course tiles: remember the projection before the shared vertex-uniform store
0268B70C  # Bg grass/flower TexQuad draw: in-between camera and blended deco arrays
029C4FE4  # ApplicationFramework::procDraw_: a 30 fps step draws no frame
029FD94C  # DualScreenMethodTreeMgr::drawBtm: skip the GamePad picture when that screen is hidden

024F30DC  # ModelG3d::calcGPU: record the pose only when pictures are above 60 fps

029D8304  # startWriteGame: copy the story record into the quick record when a map save asked for that
029D8478  # clear the opened file's quick record: keep that progress in the story record first
029D8C10  # startSaveGame: remember main vs quick before the live snapshot
@029D8C48  # startSaveGame: if that snapshot did not move, keep the quick record in main
@029D71A4  # file-select course flags: quick record when that slot path is the caller
@02631BE4  # file-select completion byte, quick path (slot builder 0x02631B50)
@0263ADD8  # file-select completion byte, quick path (slot builder 0x0263AD40)
@02641A4C  # file-select completion byte, quick path (slot builder 0x02641974)
@026730C4  # layout build: add a native Settings button to the world-map start menu
@02AB7040  # anim parse: give the Settings button the same open and close curves
@02682674  # cursor hit refresh: keep Settings in the right column
025A4218  # CourseSelectMenu destructor: drop the settings button
025A42CC  # CourseSelectMenu::create: move Quick Save and Main Menu into the left and middle columns
025A4B98  # CourseSelectMenu::execute: keep that grid and open settings from the new button
0250ECAC  # InputMgr::Controller::getTilt: the tilt bindings set the platform angle, and the center is level
