// Names of other modules' addresses the shared C uses (naming pass).
loadedMechas = 0x801E8670;
mechaPlayAnimation = 0x801E8330;
// JP addresses for names the shared C uses (hand-written in earlier rounds; kept
// above the generated section so share_symbols.py keeps them).
isControllerConnected = 0x800362B8;

// ---- Names shared with US (generated by tools/share_symbols.py) ----
checkSoftReboot = 0x80019D24;
randomInRange = 0x8001BBCC;
computeMenuBorder = 0x80026138;
initMenuTiles6Sub = 0x800261E4;
setupStringInPolyFT4 = 0x80026560;
setCurrentDirectory = 0x80028280;
getFileSizeAligned = 0x800286FC;
waitReadCompletion = 0x80028870;
readFile = 0x800293E8;
loadMenuImageBundle = 0x8002DB30;
allocateHeap = 0x800319EC;
freeHeap = 0x80031F0C;
mallocAndDecompress = 0x80032CAC;
doPointerRelocation = 0x80033250;
initFontPalettes = 0x800334BC;
getDialogParamPointer = 0x8003354C;
getGearAccessoryName = 0x80033850;
getGearWeaponName = 0x80033880;
decodeCharacterCodes = 0x80033958;
renderString = 0x80034CD0;
loadInputFromVSyncBuffer = 0x80035B88;
resetInputs = 0x80035C84;
loadSequence = 0x800382D0;
unloadSequence = 0x800383D4;
playSoundEffect = 0x80039C60;
stopSequence = 0x80039F3C;
createRotationMatrix = 0x8003F5E0;
bzero = 0x8003F790;
memmove = 0x8003F844;
rand = 0x8003F8B0;
GetTPage = 0x80043894;
GetClut = 0x800438D0;
AddPrim = 0x800439C0;
AddPrims = 0x800439FC;
SetSemiTrans = 0x80043A74;
SetShadeTex = 0x80043A9C;
SetPolyF4 = 0x80043B14;
SetPolyFT4 = 0x80043B28;
SetPolyG4 = 0x80043B3C;
SetLineF2 = 0x80043BF0;
SetLineF3 = 0x80043C18;
DrawSync = 0x80044448;
ClearImage = 0x800445DC;
LoadImage = 0x8004470C;
ClearOTagR = 0x80044950;
DrawOTag = 0x80044A48;
PutDrawEnv = 0x80044ABC;
PutDispEnv = 0x80044D14;
SetDrawMode = 0x80045354;
OpenTIM = 0x8004702C;
ReadTIM = 0x8004703C;
PushMatrix = 0x800494B4;
PopMatrix = 0x80049554;
TransMatrix = 0x80049C44;
SetRotMatrix = 0x80049DA4;
SetTransMatrix = 0x80049E34;
SetBackColor = 0x80049F94;
RotTransPers4 = 0x8004A5E4;
VSync = 0x8004B3F4;
gDepthDivider = 0x8004F7A4;
g_menuOpenArg = 0x80058811;
useDebugMenuList = 0x80058818;
pRunningOnDTL = 0x8005881C;
textSpriteMode1 = 0x80058AB0;
menuSharedResources = 0x80058AF8;
newPadButtonForDialogs = 0x80058B28;
newPadButtonForField = 0x80058B40;
textSpriteMode0 = 0x80058C70;
gearShopOrderingTables = 0x80059B3C;
D_8005A4B0 = 0x80059B40;
fieldSeq = 0x80061C2C;
gMenuContext = 0x80061C30;
gameState = 0x8006CCC4;
D_8006D940 = 0x8006CFD0;
D_8006DFAC = 0x8006D63C;
D_8006DFAE = 0x8006D63E;
D_8006DFAF = 0x8006D63F;
D_8006DFB0 = 0x8006D640;
D_8006DFB1 = 0x8006D641;
D_8006DFB2 = 0x8006D642;
D_8006DFB4 = 0x8006D644;
D_8006DFB5 = 0x8006D645;
D_8006DFB6 = 0x8006D646;
D_8006DFB8 = 0x8006D648;
D_8006DFE4 = 0x8006D674;
D_8006DFE6 = 0x8006D676;
D_8006E00C = 0x8006D69C;
D_8006E010 = 0x8006D6A0;
D_8006E014 = 0x8006D6A4;
D_8006EF58 = 0x8006E5E8;
D_8006F364 = 0x8006E9F4;
D_8006F366 = 0x8006E9F6;
D_8006F368 = 0x8006E9F8;
D_8006F6F0 = 0x8006ED80;
D_8006F754 = 0x8006EDE4;
D_8006F7B8 = 0x8006EE48;
D_8006F84E = 0x8006EEDE;
D_8006F8EA = 0x8006EF7A;
D_801C5000 = 0x801C5000;
jtbl_801C5010 = 0x801C5010;
jtbl_801C5038 = 0x801C5038;
jtbl_801C5050 = 0x801C5050;
jtbl_801C5068 = 0x801C5068;
jtbl_801C5080 = 0x801C5080;
jtbl_801C5098 = 0x801C5098;
jtbl_801C50B0 = 0x801C50B0;
jtbl_801C50C8 = 0x801C50C8;
jtbl_801C50F0 = 0x801C50F0;
randomU16InRange = 0x801C511C; // type:func
setupMenuPolyFT4 = 0x801C51B8; // type:func
menu2CheckBitmask = 0x801C5228; // type:func
getMenuBitMask = 0x801C5244; // type:func
getMenuBitMask32 = 0x801C5260; // type:func
menu2CheckBitmask32 = 0x801C527C; // type:func
fillStringDisplayBuffer = 0x801C5298; // type:func
initMenuContext32C = 0x801C5344; // type:func
initMenuContext33C = 0x801C53A8; // type:func
initMenuContext350MainMenu = 0x801C540C; // type:func
initMenuContext354 = 0x801C5470; // type:func
initMenuContext330 = 0x801C54D4; // type:func
initMenuContext348 = 0x801C5538; // type:func
initMenuContext1E20 = 0x801C559C; // type:func
initMenuContext450Shop = 0x801C5600; // type:func
initMenuContext454GearShop = 0x801C5664; // type:func
loadMenuSharedResources = 0x801C56C8; // type:func
initMenuGlobals = 0x801C5B08; // type:func
resetMenuOddOrEven = 0x801C5C98; // type:func
initMenuContext_1DE0 = 0x801C5CA8; // type:func
setupMenuContext4E0 = 0x801C5EE8; // type:func
loadBlankImage = 0x801C6098; // type:func
initMenuContext4E0 = 0x801C6114; // type:func
computeMenuBorders = 0x801C6170; // type:func
updateCursorPolysLocation = 0x801C6278; // type:func
resetCursorState = 0x801C665C; // type:func
setupPolyG4 = 0x801C668C; // type:func
initPrimitives_348_cursor = 0x801C6708; // type:func
loadGearShopData = 0x801C6A54; // type:func
setupGearShopStock = 0x801C6E74; // type:func
initMemoryCardPolyVerts = 0x801C7604; // type:func
initMenuTiles1Sub = 0x801C765C; // type:func
setupScrollBarThumb = 0x801C76A4; // type:func
freeScrollBarThumb = 0x801C782C; // type:func
allocMenuPointerGlyph = 0x801C7870; // type:func
updateMenuPointerGlyph = 0x801C78EC; // type:func
freeMenuPointerGlyph = 0x801C7A88; // type:func
setupMenuContext364 = 0x801C7AE4; // type:func
initMenuTiles6 = 0x801C7E00; // type:func
initMenuTiles1 = 0x801C7F64; // type:func
initMenuTilesTopFrame = 0x801C81AC; // type:func
initMenuTilesBottomFrame = 0x801C84F0; // type:func
initMenuTiles4 = 0x801C883C; // type:func
initMenuTiles5 = 0x801C8B84; // type:func
draw380 = 0x801C8ED0; // type:func
processLoadSaveMenuSub7Sub0 = 0x801C9054; // type:func
iniMenuContext364And380 = 0x801C90E0; // type:func
drawMenu_380 = 0x801C9264; // type:func
transformAndAddPrim = 0x801C93B0; // type:func
drawMultiPolys = 0x801C94CC; // type:func
drawScrollBarThumb = 0x801C9550; // type:func
drawMenu_348_cursor = 0x801C959C; // type:func
drawCharacterSwitchArrows = 0x801C96E0; // type:func
drawMenuBoxTopFrame = 0x801C9744; // type:func
drawMenuBoxBottomFrame = 0x801C9918; // type:func
drawMenuBoxLeftFrame = 0x801C9AEC; // type:func
drawMenuBoxRightFrame = 0x801C9CC0; // type:func
drawMenuBoxBackground = 0x801C9E94; // type:func
drawMenuBoxCorners = 0x801C9FD0; // type:func
drawMenuBoxInnerFrame = 0x801CA11C; // type:func
drawMenuBoxes = 0x801CA340; // type:func
drawMenu_428 = 0x801CA4B8; // type:func
drawMenu2_sub_sub0 = 0x801CA808; // type:func
drawMenu2_sub_sub1 = 0x801CA898; // type:func
drawMenu2_sub_sub2 = 0x801CA928; // type:func
drawMenu2_sub_sub3 = 0x801CAAA0; // type:func
drawMenu2_drawCheckingMemoryCard = 0x801CAB30; // type:func
drawMenuBackground = 0x801CAC8C; // type:func
drawMenu2_sub = 0x801CAC94; // type:func
drawMainMenu = 0x801CACD4; // type:func
drawMenuContext354 = 0x801CB39C; // type:func
drawMenuPointerGlyphs = 0x801CB410; // type:func
drawMenuSpecificElements = 0x801CB484; // type:func
playMenuSoundEffect = 0x801CB54C; // type:func
updateMenuInput = 0x801CB598; // type:func
initGearShopCameraTween = 0x801CB6CC; // type:func
updateGearShopCameraTween = 0x801CBA68; // type:func
updateMenuTransforms = 0x801CBDDC; // type:func
drawGearShopDebugValues = 0x801CBE9C; // type:func
menuDraw = 0x801CC200; // type:func
setupDraw428 = 0x801CC358; // type:func
disableDraw428 = 0x801CC518; // type:func
processLoadSaveMenuSub1 = 0x801CC55C; // type:func
processLoadSaveMenuSub1Alt2 = 0x801CC564; // type:func
processLoadSaveMenuSub5 = 0x801CC56C; // type:func
processLoadSaveMenuSub7 = 0x801CC9DC; // type:func
runYesNoPrompt = 0x801CCA7C; // type:func
askYesNoQuestion = 0x801CCC54; // type:func
shutdownGearShopMenu = 0x801CCD5C; // type:func
j_setupMenuContext4E0 = 0x801CCECC; // type:func
countField33C_C = 0x801CCEF8; // type:func
updateMenuSelection2 = 0x801CCF24; // type:func
setupMainMenuWithConfig = 0x801CD34C; // type:func
processLoadSaveMenuSub3 = 0x801CD5A0; // type:func
updateMenuSelection = 0x801CD874; // type:func
processLoadSaveMenuSub8 = 0x801CDA48; // type:func
gearShopExecuteMainMenuSelection = 0x801CDCA4; // type:func
gearShopMainMenuExecute = 0x801CDDB0; // type:func
gearShopMenuEntryPoint = 0x801CE060; // type:func
setupGearSwitchArrows = 0x801CE20C; // type:func
freeGearSwitchArrows = 0x801CE324; // type:func
drawShopMenu = 0x801CE368; // type:func
drawGearShopMechas = 0x801CE81C; // type:func
drawGearShopPolys = 0x801CE868; // type:func
updateGearShopSparkles = 0x801CEAA4; // type:func
updateGearShopSpark = 0x801CEEE4; // type:func
updateGearShopTwinkle = 0x801CF1C0; // type:func
updateGearShopEffects = 0x801CF378; // type:func
renderGearNameInVram = 0x801CF3C8; // type:func
setupGearShopStatsPanel = 0x801CF484; // type:func
loadGearModelFiles = 0x801CF9F8; // type:func
setupGearShopModel = 0x801CFAF4; // type:func
turnGearToSelectedPart = 0x801CFC9C; // type:func
resetGearShopCamera = 0x801CFF54; // type:func
setShopDigitsColor = 0x801D0090; // type:func
showShopPartyMembers = 0x801D025C; // type:func
countGearShopMembers = 0x801D0384; // type:func
cycleGearShopGear = 0x801D03D4; // type:func
setupGearShopTitle = 0x801D0524; // type:func
setupShopSellTitle = 0x801D0628; // type:func
setupGearShopPriceNumbers = 0x801D0714; // type:func
setupShopTotalNumber = 0x801D0C5C; // type:func
setupGearShopGoldNumber = 0x801D0D88; // type:func
clearShopScreen = 0x801D0F04; // type:func
getGearsEquippingPart = 0x801D10B4; // type:func
showGearShopSellItemInfo = 0x801D1340; // type:func
setupGearShopSellListRows = 0x801D1934; // type:func
completeShopSale = 0x801D1F5C; // type:func
runGearShopSellMenu = 0x801D2090; // type:func
runGearShopSellAccessories = 0x801D27C0; // type:func
runGearShopSellWeapons = 0x801D2800; // type:func
executeGearShopSellSelection = 0x801D2840; // type:func
setupGearShopOwnedPartLabel = 0x801D298C; // type:func
setupGearShopBuyListRows = 0x801D2BB0; // type:func
computeGearShopStatChange = 0x801D3594; // type:func
findInventoryCount = 0x801D3A78; // type:func
setupGearShopOwnedCount = 0x801D3ABC; // type:func
showGearShopBuyItemInfo = 0x801D3CB4; // type:func
completeGearShopPurchase = 0x801D4538; // type:func
isNewerGearPart = 0x801D48C4; // type:func
runGearShopBuyMenu = 0x801D49C8; // type:func
refuelGearShopGear = 0x801D53D4; // type:func
hideGearShopMainMenu = 0x801D5778; // type:func
executeGearShopPartsSelection = 0x801D57E4; // type:func
runGearShopSubmenu = 0x801D5864; // type:func
initGearShopView = 0x801D5D74; // type:func
freeGearShopView = 0x801D5EF4; // type:func
computeGearStatusStats = 0x801D5FD0; // type:func
applyAllGearPartStats = 0x801D618C; // type:func
applyGearFrameStats = 0x801D61F4; // type:func
applyGearArmorStats = 0x801D628C; // type:func
applyGearEngineStats = 0x801D62E0; // type:func
applyGearAccessoryBonuses = 0x801D6370; // type:func
applyGearWeaponStats = 0x801D6774; // type:func
computeGearAgilityPenalty = 0x801D6948; // type:func
gearShopDebugValuesEnabled = 0x801D69B8;
gearShopMainMenuConfig = 0x801D69BC;
gearShopSubMenuConfig = 0x801D69DC;
D_801D69A4 = 0x801D69E0;
gearShopMainLabelConfig = 0x801D6A5C;
gearShopSubMenuLabelConfig = 0x801D6A60;
gearShopBuyLabelConfig = 0x801D6A68;
gearShopMainLabelOffsetsX = 0x801D6A6C;
gearShopSubMenuLabelOffsetsX = 0x801D6A7C;
gearShopCardCursorStartX = 0x801D6A9C;
gearShopCardCursorStartY = 0x801D6AAC;
gearShopInitMenuLabelConfig = 0x801D6ABC;
gearShopSaveCursorToSlot = 0x801D6AC0;
gearShopMemoryCardTilesPositionX = 0x801D6B38;
gearShopMemoryCardTilesPositionY = 0x801D6BB8;
gearShopCursorPosXTable = 0x801D6C38;
gearShopCursorPosYTable = 0x801D6C5C;
gearShopMemberColumnX = 0x801D6C80;
gearShopMenu2Bitmask = 0x801D6CA4;
gearShopMenu2Bitmask32 = 0x801D6CC4;
gearShopTitleGlyphs = 0x801D6D44;
gearShopSellTitleGlyphs = 0x801D6D4C;
gearShopTitleX = 0x801D6D50;
gearShopSellTitleX = 0x801D6D70;
gearShopTitleY = 0x801D6D78;
gearShopSellTitleY = 0x801D6D98;
gearShopGoldNumberX = 0x801D6DA0;
gearShopGoldNumberY = 0x801D6DA4;
gearShopTotalNumberX = 0x801D6DA8;
gearShopTotalNumberY = 0x801D6DAC;
gearShopNewGoldNumberX = 0x801D6DB0;
gearShopNewGoldNumberY = 0x801D6DB4;
gearShopModelFiles = 0x801D6DB8;
gearShopModelAnimations = 0x801D6DDC;
gearShopModelGroundY = 0x801D6DF0;
gearShopModelScales = 0x801D6E14;
gearShopCameraDistances = 0x801D6E38;
gearShopCameraHeights = 0x801D6E54;
gearShopGearYaws = 0x801D6FEC;
gearShopSwitchArrowX = 0x801D700C;
gearShopAvailableCount = 0x801D7014;
gearShopSelectedIndex = 0x801D7018;
gearShopSparkleGlyphs = 0x801D701C;
gearShopSparkPositions = 0x801D706C;
gearShopSparkleX = 0x801D707C;
gearShopSparkleY = 0x801D7080;
gearShopSparkX = 0x801D7098;
gearShopSparkY = 0x801D70A4;
gearShopTwinkleX = 0x801D70B0;
gearShopTwinkleY = 0x801D70BC;
gearShopStatLabelGlyphs = 0x801D70C8;
gearShopStatLabelX = 0x801D70E4;
gearShopStatLabelY = 0x801D7100;
gearShopHpPositionX = 0x801D711C;
gearShopHpPositionY = 0x801D711E;
gearShopMaxHpPositionX = 0x801D7120;
gearShopMaxHpPositionY = 0x801D7122;
gearShopFuelPositionX = 0x801D7124;
gearShopFuelPositionY = 0x801D7126;
gearShopMaxFuelPositionX = 0x801D7128;
gearShopMaxFuelPositionY = 0x801D712A;
gearShopWeightPositionX = 0x801D712C;
gearShopWeightPositionY = 0x801D712E;
gearShopGearPilotIds = 0x801D7130;
D_801D70FD = 0x801D7139;
gearShopDebugPolys = 0x801D7144;
gearShopDebugPolyCount = 0x801D9084;
gearShopOwnedCount = 0x801D9088;
gearShopCameraTween = 0x801D908C;
D_801D9054 = 0x801D9090;
D_801D9058 = 0x801D9094;
D_801D905C = 0x801D9098;
D_801D9060 = 0x801D909C;
D_801D9064 = 0x801D90A0;
D_801D9068 = 0x801D90A4;
D_801D906C = 0x801D90A8;
D_801D9070 = 0x801D90AC;
D_801D9074 = 0x801D90B0;
D_801D9078 = 0x801D90B4;
D_801D907C = 0x801D90B8;
D_801D9080 = 0x801D90BC;
D_801D9081 = 0x801D90BD;
D_801D9082 = 0x801D90BE;
D_801D9083 = 0x801D90BF;
gearShopGearId = 0x801D90C0;
gearShopNameImage = 0x801D90C4;
gearShopStockCounts = 0x801D90C8;
D_801D9090 = 0x801D90CC;
D_801D9094 = 0x801D90D0;
D_801D9098 = 0x801D90D4;
D_801D909C = 0x801D90D8;
mechaInitOverlay = 0x801E738C;
mechaInitNewMecha = 0x801E742C;
renderMechas = 0x801E7D14;
freeMechaModule = 0x801E7FD4;
freeMecha = 0x801E8030;
mechaFinalizeVar0 = 0x801E8644;
D_801E8674 = 0x801E8674;
