# Gate-4b slice: the Model pipeline -- load, rebase, VRAM upload, bone walk,
# material bind, display-list submit -- on top of slices 2/3a/3b and the
# gate-4a pump. MMIO-touching files build via hostgen (see CMakeLists);
# everything here compiles as-is.

# Model
src/_ZN5ModelC1Ev.cpp
# RETIRED at SLICE1: body now in src/_ZN5ModelC1Ev.cpp. MSVC folds the ROM constructor variants into one symbol, so only one of a class two per-function constructor TUs can be compiled.
#src/_ZN5ModelC2Ev.cpp
src/_ZN5Model8LoadFileER13SharedFilePtr.cpp
src/_ZN5Model9DoSetFileEPcii.cpp
src/_ZN5Model17UpdateFileOffsetsER8BMD_File.cpp
src/_ZN5Model23AddToCommonModelDataArrER8BMD_File.cpp
src/_ZN5Model13LoadTexAndPalER8BMD_File.cpp
src/_ZN5Model17LoadTextureToVramEPcj.cpp
src/_ZN5Model27LoadCompressedTextureToVramEPcjS0_.cpp
src/_ZN5Model13GetVramOffsetEj.cpp
src/_ZN5Model12SetPolygonIDEi.cpp
src/_ZN5Model6RenderEPK7Vector3.cpp
# ModelComponents::Render: HOST copy in port/unmatched -- the matched TU
# passes the material index by leaving it in r1 (see the file header there).
port/unmatched/ModelComponents_Render.cpp
src/_ZN15ModelComponents21UpdateVertsUsingBonesEv.cpp

# GX upload path (no textual MMIO; VRAM windows come from HAL globals)
src/_ZN2GX7LoadTexEPKvjj.cpp
src/_ZN2GX11LoadTexPlttEPKvjj.cpp

# render walk + math. func_02044534/func_0204488c/NormalizeVec3 are in the
# HOSTGEN list instead: they touch MMIO textually (geometry ports, the
# hardware divider) and an untransformed build latches those writes
# silently -- the exact failure hostgen exists to prevent.
src/func_020462d0.c
src/func_02046564.c
src/MulMat4x3Mat4x3.c
src/func_020458a8.c
src/func_02016b24.c
src/func_02045074.c
src/func_02045178.c
src/func_02048234.c
src/func_02046008.c
src/MulMat3x3Mat3x3.c
src/_ZN9ModelBaseC2Ev.cpp
src/DMASyncWordTransfer.c
src/func_02059fd0.c
src/func_0203cc0c.c
src/func_0204605c.c

# gate 4c additions: the animation path (UpdateBones recursion)
src/_ZN15ModelComponents11UpdateBonesEP8BCA_Filei.cpp
src/func_020453c0.c
src/func_0204547c.c
src/func_020457f0.c
src/func_020456a0.c
src/_ZN4cstd3absEi.cpp
src/_ZN9Animation8LoadFileER13SharedFilePtr.cpp
src/_ZN9Animation17UpdateFileOffsetsER8BCA_File.cpp
