From be7b29d63636f6ef3f4434f63743de3678cb02be Mon Sep 17 00:00:00 2001 From: coah <100182500+coah80@users.noreply.github.com> Date: Sat, 3 Oct 2026 07:01:11 +0000 Subject: [PATCH] match(tiCellPhone 84/86) (ult22b) (worker 96a80226) --- src/keyboard/tiCellPhone.cpp | 34 +-- tools/decomp-assist/ult22b.attempts.md | 308 +++++++++++++++++++++++++ 2 files changed, 327 insertions(+), 15 deletions(-) create mode 100644 tools/decomp-assist/ult22b.attempts.md diff --git a/src/keyboard/tiCellPhone.cpp b/src/keyboard/tiCellPhone.cpp index 96278bcd..5b19a0bc 100644 --- a/src/keyboard/tiCellPhone.cpp +++ b/src/keyboard/tiCellPhone.cpp @@ -651,6 +651,24 @@ namespace textinput { setLanguage(getLanguage()); } + static inline void initializeTogglePane(nw4rmanager::Layout& layout, void* const& inputModeTable, + int inputMode, const char* paneName) { + char textPaneName[17]; + memset(textPaneName, 0, sizeof(textPaneName)); + strncpy(textPaneName, paneName, strlen(paneName)); + textPaneName[0] = 'T'; + + nw4r::lyt::TextBox* textPane = static_cast(layout.getPane(textPaneName)); + nw4r::lyt::Pane* buttonPane = layout.getPane(paneName); + const KeySet* keySet = static_cast(inputModeTable)->keySets[inputMode]; + if (keySet == NULL) { + buttonPane->SetVisible(false); + } else { + buttonPane->SetVisible(true); + textPane->SetString(static_cast(inputModeTable)->keySets[inputMode]->szKeySetName, 0); + } + } + void LayoutByNW4R::init() { Base::init(); @@ -670,21 +688,7 @@ namespace textinput { setVisible("W_ChngTag_03", true); for (int i = 0; i < 4; ++i) { - const char* paneName = csPaneNameToggleAnimationKey[i].name; - char textPaneName[17]; - memset(textPaneName, 0, sizeof(textPaneName)); - strncpy(textPaneName, paneName, strlen(paneName)); - textPaneName[0] = 'T'; - - nw4r::lyt::TextBox* textPane = static_cast(getPane(textPaneName)); - nw4r::lyt::Pane* buttonPane = getPane(paneName); - const KeySet* keySet = static_cast(mpInputModeTable)->keySets[i]; - if (keySet == NULL) { - buttonPane->SetVisible(false); - } else { - buttonPane->SetVisible(true); - textPane->SetString(static_cast(mpInputModeTable)->keySets[i]->szKeySetName, 0); - } + initializeTogglePane(*this, mpInputModeTable, i, csPaneNameToggleAnimationKey[i].name); } if (getLanguage() == JP) { diff --git a/tools/decomp-assist/ult22b.attempts.md b/tools/decomp-assist/ult22b.attempts.md new file mode 100644 index 00000000..ce0c151d --- /dev/null +++ b/tools/decomp-assist/ult22b.attempts.md @@ -0,0 +1,308 @@ +# ult22b round 2 attempts + +Worktree data-d4, branch agent/w1003/sol-ult22b-ultra. Read full ult22 prompt, AGENTS, round1 logs, effort policy, and prior owned-unit trials. Skip accepted update_file_array/setLanguage and excluded icon/banner/cursor bodies. Round2 tries type and repeated-expression/helper boundaries before register search. + +BASELINE src/scene/memoryCard/iplMemoryCardManager | {'fuzzy_match_percent': 97.90215, 'total_code': '5396', 'matched_code': '2932', 'matched_code_percent': 54.336548, 'matched_data_percent': 100.0, 'total_functions': 26, 'matched_functions': 19, 'matched_functions_percent': 73.07692, 'complete_data_percent': 100.0, 'total_units': 1} | instruction counts {'compareMemoryCardSortEntries': (30, 30, 0), 'calc__Q33ipl5scene17MemoryCardManagerFv': (19, 19, 0), 'isSlotReady__Q33ipl5scene17MemoryCardManagerFUc': (17, 17, 0), 'isSlotNoCard__Q33ipl5scene17MemoryCardManagerFUc': (16, 16, 0), 'isSlotWrongDevice__Q33ipl5scene17MemoryCardManagerFUc': (50, 50, 0), 'sort_file_array__Q33ipl5scene17MemoryCardManagerFUc': (51, 51, 0), 'sendCardCmdMove__Q33ipl5scene17MemoryCardManagerFUcs': (38, 38, 0), 'sendCardCmdCopy__Q33ipl5scene17MemoryCardManagerFUcs': (34, 34, 0), 'sendCardCmdDelete__Q33ipl5scene17MemoryCardManagerFUcs': (23, 23, 0), 'sendCardCmdFormat__Q33ipl5scene17MemoryCardManagerFUc': (17, 17, 0), 'isDistSlot__Q33ipl5scene17MemoryCardManagerFUcPl': (28, 28, 0), 'isMoveEnable__Q33ipl5scene17MemoryCardManagerFUcUlPl': (118, 118, 2), 'isCopyEnable__Q33ipl5scene17MemoryCardManagerFUcUlPl': (118, 118, 2), 'isIconValidate__Q33ipl5scene17MemoryCardManagerFUcs': (38, 38, 0), 'isBannerEnable__Q33ipl5scene17MemoryCardManagerFUcs': (26, 26, 8), 'update_icon_anm__Q33ipl5scene17MemoryCardManagerFv': (84, 84, 0), 'update_file_array__Q33ipl5scene17MemoryCardManagerFUc': (90, 90, 0), 'onMemEvent__Q33ipl5scene19MemCardEventHandlerFlUc': (1, 1, 0), 'update_change_cardstate__Q33ipl5scene17MemoryCardManagerFUc': (107, 107, 0), 'create_icon__Q33ipl5scene17MemoryCardManagerFUcs': (51, 51, 0), 'create_icon__Q33ipl5scene17MemoryCardManagerFUcsl': (25, 25, 0), '_create_icon__Q33ipl5scene17MemoryCardManagerFUcsl': (100, 100, 37), 'getComment__Q33ipl5scene17MemoryCardManagerFUcsi': (123, 123, 20), 'create_banner__Q33ipl5scene17MemoryCardManagerFUcs': (106, 106, 70), 'getBlocks__Q33ipl5scene17MemoryCardManagerFUcs': (25, 25, 9), 'getFreeBlocks__Q33ipl5scene17MemoryCardManagerFUc': (14, 14, 0)} +POOL src/scene/memoryCard/iplMemoryCardManager | POOL IDENTICAL up to 0 (mine=0 base=0) +BASELINE src/keyboard/tiInputForm | {'fuzzy_match_percent': 99.71999, 'total_code': '50656', 'matched_code': '47928', 'matched_code_percent': 94.614655, 'total_data': '3772', 'matched_data': '3772', 'matched_data_percent': 100.0, 'total_functions': 221, 'matched_functions': 219, 'matched_functions_percent': 99.095024, 'total_units': 1} | instruction counts {'__dt__Q39textinput9inputform10EditBufferFv': (61, 61, 0), '__dt__Q39textinput8tistring9DecolatedFv': (22, 22, 0), '__dt__Q39textinput8tistring8WithAtokFv': (23, 23, 0), 'create__Q39textinput9inputform10EditBufferFP12MEMAllocator': (133, 133, 0), 'ToCombineClass__Q39textinput9inputform13DeadKeyStreamFQ29textinput8Languagew': (69, 69, 0), 'ToIndependentClass__Q39textinput9inputform13DeadKeyStreamFw': (30, 30, 0), 'init__Q49textinput9inputform4Base14RowInfoManagerFv': (39, 39, 0), 'setCursorPos__Q39textinput9inputform4BaseFPQ39textinput8tistring9DecolatedUl': (6, 6, 0), '__ct__Q39textinput9inputform4BaseFPQ29textinput7Manager': (132, 132, 0), '__dt__Q29textinput4BaseFv': (16, 16, 0), '__dt__Q29textinput15CommandReceiverFv': (16, 16, 0), '__dt__Q39textinput9inputform4BaseFv': (29, 29, 0), 'init__Q39textinput9inputform4BaseFv': (81, 81, 0), 'init__Q29textinput4BaseFv': (1, 1, 0), 'enableSpaceByRight__Q39textinput9inputform4BaseFb': (2, 2, 0), 'dirtyDrawCache__Q39textinput10textdrawer4BaseFv': (3, 3, 0), 'dirtyCursorCache__Q39textinput10textdrawer4BaseFv': (3, 3, 0), 'isEditMode__Q39textinput9inputform4BaseFv': (22, 22, 0), 'checkHeadOfSentence__Q39textinput9inputform4BaseFb': (71, 71, 0), 'getCursorPos__Q39textinput8tistring9DecolatedCFv': (2, 2, 0), 'setDestination__Q39textinput9inputform4BaseFQ29textinput11Destination': (2, 2, 0), 'setLanguage__Q39textinput9inputform4BaseFQ29textinput8Language': (76, 76, 0), 'setPredictMode__Q39textinput9inputform4BaseFQ49textinput9inputform4Base11PredictMode': (68, 68, 0), 'getPredictMode__Q39textinput9inputform4BaseFv': (14, 14, 0), 'onCommand__Q39textinput9inputform4BaseFQ39textinput15CommandReceiver13INPUT_COMMANDPv': (2053, 2053, 0), 'onSE__Q39textinput9inputform4BaseFQ39textinput5sound2SE': (1, 1, 0), 'getCellPhoneKeyboard__Q29textinput7ManagerFv': (2, 2, 0), 'isConverting__Q39textinput8tistring8WithAtokFv': (2, 2, 0), 'backSpace__Q39textinput8tistring8WithAtokFv': (1, 1, 0), 'isKanaFix__Q39textinput8tistring9DecolatedCFv': (19, 19, 0), 'getLine__Q39textinput10textdrawer4BaseFv': (3, 3, 0), 'getSelectedConverting__Q39textinput8tistring8WithAtokFv': (2, 2, 0), 'commitPredicted__Q39textinput8tistring8WithAtokFi': (1, 1, 0), 'isOnSustain__Q39textinput8tistring9DecolatedFv': (2, 2, 0), 'confirm__Q39textinput8tistring8WithAtokFPCw': (1, 1, 0), 'getPredicted__Q39textinput8tistring8WithAtokFiPw': (1, 1, 0), 'changeKanaMode__Q39textinput8tistring8WithAtokFb': (1, 1, 0), 'setFixMode__Q39textinput8tistring8WithAtokFb': (1, 1, 0), 'setSelectedCandidate__Q39textinput8tistring8WithAtokFl': (1, 1, 0), 'setSelectedCandidate__Q39textinput8tistring6WithZiFl': (2, 2, 0), 'isDictionaryOpened__Q39textinput8tistring8WithAtokFv': (2, 2, 0), 'getConfirmedWCString__Q39textinput8tistring8WithAtokCFv': (2, 2, 0), 'enableConfirmedString__Q39textinput8tistring8WithAtokFb': (1, 1, 0), 'setPredictLaunguage__Q39textinput8tistring6WithZiFQ49textinput8tistring6WithZi15PredictLanguage': (2, 2, 0), 'updateCandidateState___Q39textinput9inputform4BaseFv': (121, 121, 0), 'hasConfirmedString__Q39textinput8tistring8WithAtokFv': (2, 2, 0), 'getCurrentNumPredicted__Q39textinput8tistring8WithAtokFv': (2, 2, 0), 'getCurrentNumPredicted__Q39textinput8tistring6WithZiFv': (2, 2, 0), 'create__Q39textinput9inputform4BaseFP12MEMAllocatorPQ39textinput9inputform10EditBuffer': (72, 72, 0), 'draw__Q39textinput9inputform4BaseFv': (86, 86, 0), 'getScale__Q39textinput9inputform4BaseCFv': (8, 8, 0), 'makeUpCursorPos__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPosUlll': (17, 17, 0), 'getDrawModifyEndLine__Q39textinput10textdrawer4BaseCFv': (2, 2, 0), 'getEndPos__Q39textinput10textdrawer4BaseCFv': (2, 2, 0), 'drawFixString__Q39textinput9inputform4BaseFUl': (55, 55, 0), 'getLength__Q39textinput8tistring10StringBaseCFv': (2, 2, 0), 'calc__Q39textinput9inputform4BaseFv': (165, 165, 0), 'isActive__Q39textinput4util9AnimationFv': (2, 2, 0), 'getValue__Q39textinput4util9AnimationFv': (8, 8, 0), 'calc__Q39textinput4util9AnimationFv': (33, 33, 2), 'calcCursorTimer__Q39textinput9inputform4BaseFv': (4, 4, 0), 'setFont__Q39textinput9inputform4BaseFRCQ34nw4r2ut4Font': (2, 2, 0), 'setString__Q39textinput9inputform4BaseFPCw': (5, 5, 0), 'set__Q39textinput8tistring9DecolatedFPCw': (19, 19, 0), 'clear__Q39textinput9inputform4BaseFv': (19, 19, 0), 'clear__Q39textinput8tistring9DecolatedFv': (20, 20, 0), 'preDraw__Q39textinput9inputform4BaseFUl': (4, 4, 0), 'findURL__Q39textinput9inputform4BaseFPUlPUlPCwUlUl': (111, 111, 0), 'doWordWrap__Q39textinput9inputform4BaseFPCwUlf': (205, 205, 0), 'getDrawCacheStartPos__Q39textinput10textdrawer4BaseCFv': (8, 8, 0), 'isOverLine__Q39textinput9inputform4BaseFRCQ49textinput10textdrawer4Base8DrawInfo': (51, 51, 0), 'doBeforeDrawProcess__Q39textinput9inputform4BaseFPCwUlRCQ49textinput10textdrawer4Base8DrawInfo': (115, 115, 0), 'doLineFeed__Q39textinput9inputform4BaseFv': (38, 38, 0), 'onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos': (473, 473, 0), 'getKanaBuffer__Q39textinput8tistring9DecolatedFv': (2, 2, 0), 'getCandidate__Q39textinput8tistring10StringBaseCFv': (2, 2, 0), 'getInputStringLength__Q39textinput8tistring6WithZiFv': (2, 2, 0), 'getCursorPos__Q39textinput9inputform4BaseFv': (27, 27, 0), 'getCursorPos__Q39textinput8tistring8WithAtokFPUlPUl': (1, 1, 0), 'drawCursor__Q39textinput9inputform4BaseFff': (70, 70, 0), 'calcCursorPos__Q39textinput9inputform4BaseFff': (326, 326, 43), 'getGlobalLeftTopPos__Q39textinput9inputform4BaseCFv': (24, 24, 0), 'doScroll__Q39textinput9inputform4BaseFPQ39textinput15CommandReceiver6Scroll': (50, 50, 0), 'startAnm__Q39textinput4util9AnimationFfffPQ39textinput4util12AnimObserverPv': (20, 20, 0), 'autoScroll__Q39textinput9inputform4BaseFv': (150, 150, 0), 'setAtokDictionary__Q39textinput9inputform4BaseFPviPviPvi': (5, 5, 0), 'openDictionary__Q39textinput8tistring8WithAtokFPviPviPvi': (1, 1, 0), 'closeAtokDictionary__Q39textinput9inputform4BaseFv': (5, 5, 0), 'closeDictionary__Q39textinput8tistring8WithAtokFv': (1, 1, 0), 'confirmInput___Q39textinput9inputform4BaseFv': (141, 141, 0), 'isCandidateSelected__Q39textinput8tistring8WithAtokFv': (2, 2, 0), 'getSelectedCandidate__Q39textinput8tistring8WithAtokFv': (2, 2, 0), 'initZiString__Q39textinput9inputform4BaseFv': (14, 14, 0), 'inputInputting___Q39textinput9inputform4BaseFw': (161, 161, 0), 'setInputting__Q39textinput8tistring8WithAtokFw': (1, 1, 0), 'isInvalid__Q39textinput12candidatebox4BaseCFv': (2, 2, 0), 'hasCandidate__Q39textinput8tistring10StringBaseCFv': (5, 5, 0), 'setCandidate__Q39textinput8tistring10StringBaseFw': (2, 2, 0), 'confirmInputting___Q39textinput9inputform4BaseFwbUsbPv': (346, 346, 2), 'changeLetterMode__Q39textinput8tistring6WithZiFQ49textinput8tistring6WithZi10LetterMode': (2, 2, 0), 'setCellPhoneHoldingkey__Q39textinput8tistring6WithZiFPv': (2, 2, 0), 'inputCharZi___Q39textinput9inputform4BaseFwUl': (166, 166, 0), 'inputCharDefault___Q39textinput9inputform4BaseFwUl': (135, 135, 0), 'onClose__Q39textinput9inputform4BaseFv': (28, 28, 0), 'getCurrentString__Q39textinput9inputform4BaseFb': (112, 112, 0), 'isFix__Q39textinput8tistring8WithAtokFv': (2, 2, 0), 'getCandidateBox__Q29textinput7ManagerCFv': (2, 2, 0), 'isAtokActive__Q39textinput9inputform4BaseCFv': (10, 10, 0), 'onHKBCtrlCode__Q39textinput9inputform4BaseFQ29textinput7HVKCodeUl': (375, 375, 0), 'moveCursorUp__Q39textinput9inputform4BaseFv': (88, 88, 0), 'moveCursorDown__Q39textinput9inputform4BaseFv': (96, 96, 0), 'onPressUp__Q39textinput9inputform4BaseFv': (246, 246, 0), 'isInScroll__Q39textinput12candidatebox12LayoutByNW4RFv': (2, 2, 0), 'onPressDown__Q39textinput9inputform4BaseFv': (246, 246, 0), 'onPressLeft__Q39textinput9inputform4BaseFv': (154, 154, 0), 'onPressRight__Q39textinput9inputform4BaseFv': (185, 185, 0), 'onPressDownHWKB__Q39textinput9inputform4BaseFv': (270, 270, 0), 'onPressLeftHWKB__Q39textinput9inputform4BaseFv': (264, 264, 0), 'onPressRightHWKB__Q39textinput9inputform4BaseFv': (275, 275, 0), 'moveCandidateToIdx__Q39textinput9inputform4BaseFl': (104, 104, 0), 'getFixedPredictionNum__Q39textinput8tistring8WithAtokFv': (2, 2, 0), 'getInputStringLength__Q39textinput8tistring8WithAtokFv': (2, 2, 0), 'startConverting__Q39textinput8tistring8WithAtokFv': (1, 1, 0), 'toggleAtokMode___Q39textinput9inputform4BaseFUc': (154, 154, 0), 'isVacancy__Q39textinput9inputform4BaseCFv': (96, 96, 0), 'dirtyCacheAll__Q39textinput9inputform4BaseFv': (20, 20, 0), 'notifyChangeMode__Q39textinput9inputform4BaseFv': (108, 108, 0), 'resetContextPredict___Q39textinput9inputform4BaseFv': (27, 27, 0), 'onSpaceKeyHWKB__Q39textinput9inputform4BaseFUl': (603, 603, 0), 'deselectCandidate__Q39textinput9inputform4BaseFv': (13, 13, 0), 'resetRelation__Q39textinput9inputform4BaseFv': (23, 23, 0), 'getHWKeyboard__Q29textinput7ManagerFv': (2, 2, 0), 'resetRelation__Q39textinput8tistring8WithAtokFv': (1, 1, 0), '__ct__Q39textinput9inputform12LayoutByNW4RFPQ29textinput7ManagerPQ34nw4r3lyt24MultiArcResourceAccessorPCcPQ29textinput13EventObserverPCc': (46, 46, 0), '__dt__Q39textinput9inputform12LayoutByNW4RFv': (77, 77, 0), '__dt__Q39textinput9inputform12EventHandlerFv': (16, 16, 0), 'create__Q39textinput9inputform12LayoutByNW4RFP12MEMAllocatorPQ39textinput9inputform10EditBuffer': (356, 356, 153), '__dt__Q39textinput9inputform7AnmPaneFv': (22, 22, 0), 'init__Q39textinput9inputform12LayoutByNW4RFv': (151, 151, 0), 'visibleSeparator__Q39textinput9inputform12LayoutByNW4RFb': (2, 2, 0), 'draw__Q39textinput9inputform12LayoutByNW4RFv': (114, 114, 0), 'calc__Q39textinput9inputform12LayoutByNW4RFv': (137, 137, 0), 'init__Q39textinput3gui12GUIComponentFv': (54, 54, 0), 'setLanguage__Q39textinput9inputform12LayoutByNW4RFQ29textinput8Language': (237, 237, 0), 'updateInputCommon__Q39textinput9inputform12LayoutByNW4RFiUlUlUlPv': (23, 23, 0), 'updateInput__Q39textinput9inputform12LayoutByNW4RFiffUlUlUlPv': (154, 154, 0), 'updateInput__Q39textinput9inputform12LayoutByNW4RFRQ39textinput5input10HKBManager': (2, 2, 0), 'updateRepeatInput__Q39textinput9inputform12LayoutByNW4RFUlUl': (71, 71, 0), 'getScale__Q39textinput9inputform12LayoutByNW4RCFv': (18, 18, 0), 'onCommand__Q39textinput9inputform12LayoutByNW4RFQ39textinput15CommandReceiver13INPUT_COMMANDPv': (251, 251, 0), 'isOverRowLimit__Q39textinput9inputform4BaseFUlPCw': (238, 238, 0), 'onSE__Q39textinput9inputform12LayoutByNW4RFQ39textinput5sound2SE': (5, 5, 0), 'setRootPaneScaleFor16x9__Q39textinput9inputform12LayoutByNW4RFv': (15, 15, 0), 'setRootPaneScaleFor4x3__Q39textinput9inputform12LayoutByNW4RFv': (15, 15, 0), 'onTiEvent__Q39textinput9inputform12EventHandlerFPQ39textinput3gui13PaneComponentUlPQ49textinput11nw4rmanager14TiEventHandler5Input': (419, 419, 0), 'isInScroll__Q39textinput9inputform4BaseFv': (4, 4, 0), 'isAbleToUp__Q39textinput9inputform12LayoutByNW4RFv': (2, 2, 0), 'isAbleToDown__Q39textinput9inputform12LayoutByNW4RFv': (2, 2, 0), 'getState__Q39textinput9inputform7AnmPaneFv': (2, 2, 0), 'onAnmEvent__Q39textinput9inputform19NormalButtonAnmPaneFQ49textinput11nw4rmanager7AnmPane12AnmPaneEvent': (147, 147, 0), 'changeAnimation__Q39textinput9inputform7AnmPaneFUl': (2, 2, 0), 'create__Q39textinput9inputform4BaseFP12MEMAllocator': (1, 1, 0), 'doAfterDrawProcess__Q39textinput9inputform4BaseFPCwUlRCQ49textinput10textdrawer4Base8DrawInfo': (1, 1, 0), 'finishDraw__Q39textinput9inputform4BaseFUl': (1, 1, 0), 'addSender__Q29textinput15CommandReceiverFPQ29textinput13CommandSender': (2, 2, 0), 'getDrawModifyStartLine__Q39textinput10textdrawer4BaseCFv': (2, 2, 0), 'isEnableCursorCache__Q39textinput10textdrawer4BaseCFv': (2, 2, 0), 'getStartPos__Q39textinput10textdrawer4BaseCFv': (2, 2, 0), 'setVIWidth__Q39textinput10textdrawer4BaseFf': (2, 2, 0), 'setCandidateBox__Q39textinput12candidatebox18CandidateBoxCallerFPQ39textinput12candidatebox4Base': (2, 2, 0), 'isAtokDictionaryOpened__Q39textinput9inputform4BaseFv': (5, 5, 0), 'setLineDrawInfo__Q39textinput9inputform4BaseFbUl': (3, 3, 0), 'doWordWrap__Q39textinput9inputform4BaseFb': (2, 2, 0), 'limitRowNum__Q39textinput9inputform4BaseFUl': (9, 9, 0), 'limitStringLength__Q39textinput9inputform4BaseFUl': (2, 2, 0), 'getCandidate__Q39textinput9inputform4BaseCFv': (5, 5, 0), 'getAtokString__Q39textinput9inputform4BaseFv': (2, 2, 0), 'getWCString__Q39textinput9inputform4BaseCFv': (5, 5, 0), 'getKeyType__Q39textinput9inputform7AnmPaneCFv': (2, 2, 0), 'init__Q39textinput9inputform7AnmPaneFv': (3, 3, 0), '__dt__Q39textinput9inputform19NormalButtonAnmPaneFv': (23, 23, 0), 'EnableKSXFilter__Q39textinput8tistring9DecolatedFb': (1, 1, 0), 'deleteChar__Q39textinput8tistring9DecolatedFv': (1, 1, 0), 'setDefaultPrediction__Q39textinput8tistring8WithAtokFiPPCc': (1, 1, 0), 'setFixPrediction__Q39textinput8tistring8WithAtokFiPPCc': (1, 1, 0), 'getDrawString__Q39textinput8tistring8WithAtokFRQ49textinput8tistring8WithAtok8DrawInfo': (1, 1, 0), 'init__Q39textinput8tistring8WithAtokFv': (1, 1, 0), 'moveCursorLeft__Q39textinput8tistring8WithAtokFv': (2, 2, 0), 'moveCursorRight__Q39textinput8tistring8WithAtokFv': (2, 2, 0), 'inputChar__Q39textinput8tistring8WithAtokFw': (1, 1, 0), 'popBack__Q39textinput8tistring8WithAtokFv': (1, 1, 0), 'pushBack__Q39textinput8tistring8WithAtokFw': (1, 1, 0), 'initConverting__Q39textinput8tistring8WithAtokFv': (1, 1, 0), 'setFix__Q39textinput8tistring8WithAtokFb': (1, 1, 0), 'create__Q29textinput4BaseFP12MEMAllocator': (1, 1, 0), 'stop__Q39textinput4util9AnimationFv': (3, 3, 0), 'isSEFlag__Q39textinput4util9AnimationFv': (2, 2, 0), 'setSEFlag__Q39textinput4util9AnimationFb': (2, 2, 0), '__sinit_\\tiInputForm_cpp': (87, 87, 0), '@16@getScale__Q39textinput9inputform4BaseCFv': (2, 2, 0), '@16@draw__Q39textinput9inputform4BaseFv': (2, 2, 0), '@536@__dt__Q39textinput9inputform12LayoutByNW4RFv': (2, 2, 0), '@16@drawCursor__Q39textinput9inputform4BaseFff': (2, 2, 0), '@16@makeUpCursorPos__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPosUlll': (2, 2, 0), '@16@onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos': (2, 2, 0), '@16@doLineFeed__Q39textinput9inputform4BaseFv': (2, 2, 0), '@16@finishDraw__Q39textinput9inputform4BaseFUl': (2, 2, 0), '@16@preDraw__Q39textinput9inputform4BaseFUl': (2, 2, 0), '@16@doAfterDrawProcess__Q39textinput9inputform4BaseFPCwUlRCQ49textinput10textdrawer4Base8DrawInfo': (2, 2, 0), '@16@doBeforeDrawProcess__Q39textinput9inputform4BaseFPCwUlRCQ49textinput10textdrawer4Base8DrawInfo': (2, 2, 0), '@16@getScale__Q39textinput9inputform12LayoutByNW4RCFv': (2, 2, 0), '@16@setFont__Q39textinput9inputform4BaseFRCQ34nw4r2ut4Font': (2, 2, 0), '@16@draw__Q39textinput9inputform12LayoutByNW4RFv': (2, 2, 0), '@16@create__Q39textinput9inputform4BaseFP12MEMAllocator': (2, 2, 0), '@536@setRootPaneScaleFor4x3__Q39textinput9inputform12LayoutByNW4RFv': (2, 2, 0), '@536@setRootPaneScaleFor16x9__Q39textinput9inputform12LayoutByNW4RFv': (2, 2, 0), '@536@updateInput__Q39textinput9inputform12LayoutByNW4RFiffUlUlUlPv': (2, 2, 0), '@536@updateInput__Q39textinput9inputform12LayoutByNW4RFRQ39textinput5input10HKBManager': (2, 2, 0), '@536@calc__Q39textinput9inputform12LayoutByNW4RFv': (2, 2, 0), '@536@draw__Q39textinput9inputform12LayoutByNW4RFv': (2, 2, 0), '@536@init__Q39textinput9inputform12LayoutByNW4RFv': (2, 2, 0)} +POOL src/keyboard/tiInputForm | POOL IDENTICAL up to 20 (mine=20 base=20) +BASELINE src/keyboard/tiCellPhone | {'fuzzy_match_percent': 99.779274, 'total_code': '19028', 'matched_code': '12824', 'matched_code_percent': 67.39542, 'total_data': '3860', 'matched_data': '3860', 'matched_data_percent': 100.0, 'total_functions': 86, 'matched_functions': 83, 'matched_functions_percent': 96.51163, 'total_units': 1} | instruction counts {'create__Q49textinput8keyboard13cellphonetype4BaseFP12MEMAllocator': (43, 43, 0), 'init__Q49textinput8keyboard13cellphonetype4BaseFv': (42, 42, 0), 'calc__Q49textinput8keyboard13cellphonetype4BaseFv': (1, 1, 0), 'onKey__Q49textinput8keyboard13cellphonetype4BaseFUlPv': (682, 682, 37), 'getInputMode__Q49textinput8keyboard13cellphonetype4BaseCFv': (2, 2, 0), 'onCtrlKey___Q49textinput8keyboard13cellphonetype4BaseFQ39textinput8keyboard8VKeyCode': (101, 101, 0), 'goSignInputMode__Q49textinput8keyboard13cellphonetype4BaseFv': (1, 1, 0), 'changePredictLanguage__Q49textinput8keyboard13cellphonetype4BaseFv': (1, 1, 0), 'updateFromReceiver__Q49textinput8keyboard13cellphonetype4BaseFUlPv': (43, 43, 0), 'onActive__Q49textinput8keyboard13cellphonetype4BaseFv': (63, 63, 0), 'onClose__Q49textinput8keyboard13cellphonetype4BaseFv': (1, 1, 0), 'changeInputMode__Q49textinput8keyboard13cellphonetype4BaseFQ59textinput8keyboard13cellphonetype4Base9InputMode': (70, 70, 0), 'isZiActive__Q49textinput8keyboard13cellphonetype4BaseFv': (26, 26, 0), 'isAtokActive__Q49textinput8keyboard13cellphonetype4BaseFv': (25, 25, 0), 'setAbcMode__Q49textinput8keyboard13cellphonetype4BaseFb': (6, 6, 0), 'doNumericMode__Q49textinput8keyboard13cellphonetype4BaseFb': (46, 46, 0), 'updateFixMode__Q49textinput8keyboard13cellphonetype4BaseFv': (54, 54, 0), 'convertToZiCellphoneInput___Q49textinput8keyboard13cellphonetype4BaseFw': (41, 41, 0), 'getInputType__Q49textinput8keyboard13cellphonetype4BaseCFv': (60, 60, 0), 'setLangKeyActive__Q49textinput8keyboard13cellphonetype4BaseFb': (49, 49, 0), 'setInputMode__Q49textinput8keyboard13cellphonetype4BaseFQ59textinput8keyboard13cellphonetype4Base9InputMode': (1, 1, 0), '__dt__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFv': (56, 56, 0), '__dt__Q49textinput8keyboard13cellphonetype4BaseFv': (16, 16, 0), '__dt__Q49textinput8keyboard13cellphonetype12EventHandlerFv': (16, 16, 0), 'create__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFP12MEMAllocator': (333, 333, 7), 'init__Q49textinput8keyboard13cellphonetype16CellPhoneAnmPaneFv': (3, 3, 0), '__dt__Q49textinput8keyboard13cellphonetype16CellPhoneAnmPaneFv': (22, 22, 0), 'init__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFv': (536, 536, 155), 'draw__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFv': (2, 2, 0), 'calc__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFv': (62, 62, 0), 'update__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFv': (1, 1, 0), 'onKey__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFUlPv': (107, 107, 0), 'onActive__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFv': (65, 65, 0), 'onClose__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFv': (20, 20, 0), 'updateFromReceiver__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFUlPv': (52, 52, 0), 'changeInputMode__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFQ59textinput8keyboard13cellphonetype4Base9InputMode': (207, 207, 0), 'changeKeyTop__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFPCQ49textinput8keyboard13cellphonetype18PaneNameToCharCode': (68, 68, 0), 'changeSpaceKeyTop__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFPCQ49textinput8keyboard13cellphonetype18PaneNameToCharCode': (52, 52, 0), 'getAnmPane__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFQ59textinput8keyboard13cellphonetype4Base9InputMode': (39, 39, 0), 'throwReleaseForAll__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFv': (36, 36, 0), 'getKeyType__Q49textinput8keyboard13cellphonetype16CellPhoneAnmPaneCFv': (2, 2, 0), 'changeAnimationAllToNormal__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFv': (36, 36, 0), 'setLanguage__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFQ29textinput8Language': (76, 76, 0), 'setLanguage__Q39textinput8keyboard12KeyboardBaseFQ29textinput8Language': (2, 2, 0), 'changePredictLanguage__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFv': (31, 31, 0), 'updatePredictLanguage__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFPQ39textinput15CommandReceiver17ChangePredictMode': (85, 85, 0), 'setAbcMode__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFb': (65, 65, 0), 'goSignInputMode__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFv': (26, 26, 0), 'doNumericMode__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFb': (169, 169, 0), 'doNumericWithDotMode__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFb': (35, 35, 0), 'setLineFeedButton__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFb': (9, 9, 0), 'setPredictLanguageButton__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFb': (7, 7, 0), 'setSignWindowButton__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFb': (70, 70, 0), 'setInputMode__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFQ59textinput8keyboard13cellphonetype4Base9InputMode': (90, 90, 0), 'setUpperCaseJP__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFb': (20, 20, 0), 'updateInput__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFRQ39textinput5input10HKBManager': (212, 212, 0), 'isEnableKeytopChange__Q39textinput7toolbar12LayoutByNW4RCFv': (2, 2, 0), 'getPCKeyboard__Q29textinput7ManagerFv': (2, 2, 0), 'setLangKeyActive__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFb': (79, 79, 0), 'resetHoldingButton__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFv': (4, 4, 0), 'changeAnimation__Q49textinput8keyboard13cellphonetype16CellPhoneAnmPaneFUl': (7, 7, 0), 'onAnmEvent__Q49textinput8keyboard13cellphonetype16CellPhoneAnmPaneFQ49textinput11nw4rmanager7AnmPane12AnmPaneEvent': (149, 149, 0), 'onAnmEvent__Q49textinput8keyboard13cellphonetype23CellPhoneControlAnmPaneFQ49textinput11nw4rmanager7AnmPane12AnmPaneEvent': (139, 139, 0), 'onTiEvent__Q49textinput8keyboard13cellphonetype12EventHandlerFPQ39textinput3gui13PaneComponentUlPQ49textinput11nw4rmanager14TiEventHandler5Input': (284, 284, 0), 'setFlightDuration__Q39textinput3gui12GUIComponentFiUs': (4, 4, 0), 'updateInput__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFiffUlUlUlPv': (2, 2, 0), 'doInput__Q49textinput8keyboard13cellphonetype4BaseFv': (1, 1, 0), 'isUpperCase__Q49textinput8keyboard13cellphonetype4BaseFv': (2, 2, 0), 'isHoldingButton__Q49textinput8keyboard13cellphonetype4BaseCFv': (5, 5, 0), 'isNumericWithDot__Q49textinput8keyboard13cellphonetype4BaseCFv': (2, 2, 0), 'isNumeric__Q49textinput8keyboard13cellphonetype4BaseCFv': (2, 2, 0), 'isLocked__Q49textinput8keyboard13cellphonetype4BaseCFv': (2, 2, 0), 'getType__Q49textinput8keyboard13cellphonetype4BaseFv': (2, 2, 0), 'setSignWindow__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFPQ49textinput8keyboard10signwindow12LayoutByNW4R': (2, 2, 0), 'setPredictLanguageDialog__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFPQ39textinput11predictlang12LayoutByNW4R': (2, 2, 0), 'setCommandReceiver__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFPQ29textinput15CommandReceiver': (16, 16, 0), 'setUpperCaseJP__Q49textinput8keyboard13cellphonetype4BaseFb': (1, 1, 0), 'draw__Q49textinput8keyboard13cellphonetype4BaseFv': (1, 1, 0), '__dt__Q49textinput8keyboard13cellphonetype23CellPhoneControlAnmPaneFv': (23, 23, 0), '__sinit_\\tiCellPhone_cpp': (26, 26, 0), '@56@__dt__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFv': (2, 2, 0), '@56@updateInput__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFiffUlUlUlPv': (2, 2, 0), '@56@updateInput__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFRQ39textinput5input10HKBManager': (2, 2, 0), '@56@calc__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFv': (2, 2, 0), '@56@draw__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFv': (2, 2, 0), '@56@init__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFv': (2, 2, 0)} +POOL src/keyboard/tiCellPhone | POOL IDENTICAL up to 76 (mine=76 base=76) +BEGIN bool MemoryCardManager::isMoveEnable( | origin/main a4d145c010bc8a8d3198e68baff458a161899c96 | unchanged remote function=True +DIAGNOSIS isMoveEnable__Q33ipl5scene17MemoryCardManagerFUcUlPl | target/source 118/118; identical branches and calls, sole difference is commuted directory+file additions at28/78. cmplw key/freeBlocks and signed state comparisons already agree. Target file loads word; no truncation or volatile evidence. +ATTEMPT isMoveEnable__Q33ipl5scene17MemoryCardManagerFUcUlPl | file number is signed enumeration at directory indexing | source 75a67b36529c | objdiff 99.830505% | insns 118/118 | forms 0 diffs 2 | POOL IDENTICAL up to 0 (mine=0 base=0) | regressions [] | restored +ATTEMPT isMoveEnable__Q33ipl5scene17MemoryCardManagerFUcUlPl | directory selection receives actual pointer and index locals by const reference | source b6bdc95a37ca | objdiff 99.830505% | insns 118/118 | forms 0 diffs 2 | POOL IDENTICAL up to 0 (mine=0 base=0) | regressions [] | restored +ATTEMPT isMoveEnable__Q33ipl5scene17MemoryCardManagerFUcUlPl | shared permission helper selects and checks the directory at each guard | source bde34f658047 | objdiff 86.99152% | insns 124/118 | forms 105 diffs 109 | POOL IDENTICAL up to 0 (mine=0 base=0) | regressions [] | restored +ATTEMPT isMoveEnable__Q33ipl5scene17MemoryCardManagerFUcUlPl | transfer error local retains real signed enumeration | source 2136285e086d | objdiff 99.830505% | insns 118/118 | forms 0 diffs 2 | POOL IDENTICAL up to 0 (mine=0 base=0) | regressions [] | restored +BEGIN bool MemoryCardManager::isCopyEnable( | origin/main a4d145c010bc8a8d3198e68baff458a161899c96 | unchanged remote function=True +DIAGNOSIS isCopyEnable__Q33ipl5scene17MemoryCardManagerFUcUlPl | target/source 118/118; identical branches and calls, sole difference is commuted directory+file additions at28/78. cmplw key/freeBlocks and signed state comparisons already agree. Target file loads word; no truncation or volatile evidence. +ATTEMPT isCopyEnable__Q33ipl5scene17MemoryCardManagerFUcUlPl | file number is signed enumeration at directory indexing | source 1128a3c7a3d5 | objdiff 99.830505% | insns 118/118 | forms 0 diffs 2 | POOL IDENTICAL up to 0 (mine=0 base=0) | regressions [] | restored +ATTEMPT isCopyEnable__Q33ipl5scene17MemoryCardManagerFUcUlPl | directory selection receives actual pointer and index locals by const reference | source b3134b84abcb | objdiff 99.830505% | insns 118/118 | forms 0 diffs 2 | POOL IDENTICAL up to 0 (mine=0 base=0) | regressions [] | restored +ATTEMPT isCopyEnable__Q33ipl5scene17MemoryCardManagerFUcUlPl | shared permission helper selects and checks the directory at each guard | source c80e8a176924 | objdiff 86.99152% | insns 124/118 | forms 105 diffs 109 | POOL IDENTICAL up to 0 (mine=0 base=0) | regressions [] | restored +ATTEMPT isCopyEnable__Q33ipl5scene17MemoryCardManagerFUcUlPl | transfer error local retains real signed enumeration | source 86646a52b23b | objdiff 99.830505% | insns 118/118 | forms 0 diffs 2 | POOL IDENTICAL up to 0 (mine=0 base=0) | regressions [] | restored +BEGIN bool MemoryCardManager::isBannerEnable( | origin/main a4d145c010bc8a8d3198e68baff458a161899c96 | unchanged remote function=True +DIAGNOSIS isBannerEnable__Q33ipl5scene17MemoryCardManagerFUcs | one metadata query then unsigned field load, no branches or volatile stores. Only r11 restore address moves across the dependent lookup chain. Prior u32 return experiment excluded; test native int return and new lookup boundaries. +ATTEMPT isBannerEnable__Q33ipl5scene17MemoryCardManagerFUcs | accessor returns native int-width count or predicate with guarded declaration | source 927a40dc3678 | objdiff 92.30769% | insns 26/26 | forms 7 diffs 8 | POOL IDENTICAL up to 0 (mine=0 base=0) | regressions [] | restored +ATTEMPT isBannerEnable__Q33ipl5scene17MemoryCardManagerFUcs | metadata value helper takes actual file field and slot by reference | source 33891783bfb1 | objdiff 92.30769% | insns 26/26 | forms 7 diffs 8 | POOL IDENTICAL up to 0 (mine=0 base=0) | regressions [] | restored +ATTEMPT isBannerEnable__Q33ipl5scene17MemoryCardManagerFUcs | metadata field accessor receives the real displayed-file record | source 087504b25d2b | objdiff 92.30769% | insns 26/26 | forms 7 diffs 8 | POOL IDENTICAL up to 0 (mine=0 base=0) | regressions [] | restored +ATTEMPT isBannerEnable__Q33ipl5scene17MemoryCardManagerFUcs | file-number member is retained through its readonly pointer boundary | source 3194ac80c647 | objdiff 92.30769% | insns 26/26 | forms 7 diffs 8 | POOL IDENTICAL up to 0 (mine=0 base=0) | regressions [] | restored +BEGIN u16 MemoryCardManager::getBlocks( | origin/main a4d145c010bc8a8d3198e68baff458a161899c96 | unchanged remote function=True +DIAGNOSIS getBlocks__Q33ipl5scene17MemoryCardManagerFUcs | one metadata query then unsigned field load, no branches or volatile stores. Only r11 restore address moves across the dependent lookup chain. Prior u32 return experiment excluded; test native int return and new lookup boundaries. +ATTEMPT getBlocks__Q33ipl5scene17MemoryCardManagerFUcs | accessor returns native int-width count or predicate with guarded declaration | source f719d9aab2a7 | objdiff 92.0% | insns 25/25 | forms 6 diffs 9 | POOL IDENTICAL up to 0 (mine=0 base=0) | regressions [] | restored +ATTEMPT getBlocks__Q33ipl5scene17MemoryCardManagerFUcs | metadata value helper takes actual file field and slot by reference | source bbde1c736bc7 | objdiff 92.0% | insns 25/25 | forms 6 diffs 9 | POOL IDENTICAL up to 0 (mine=0 base=0) | regressions [] | restored +ATTEMPT getBlocks__Q33ipl5scene17MemoryCardManagerFUcs | metadata field accessor receives the real displayed-file record | source 83d90da30a51 | objdiff 91.0% | insns 25/25 | forms 6 diffs 9 | POOL IDENTICAL up to 0 (mine=0 base=0) | regressions [] | restored +ATTEMPT getBlocks__Q33ipl5scene17MemoryCardManagerFUcs | file-number member is retained through its readonly pointer boundary | source ea428410b3be | objdiff 92.0% | insns 25/25 | forms 6 diffs 9 | POOL IDENTICAL up to 0 (mine=0 base=0) | regressions [] | restored +BEGIN const wchar_t* MemoryCardManager::getComment( | origin/main a4d145c010bc8a8d3198e68baff458a161899c96 | unchanged remote function=True +DIAGNOSIS getComment__Q33ipl5scene17MemoryCardManagerFUcsi | target/source123/123 frame0x60, same calls and branches. Target reads trim byte signed extsb and uses word file then extsh at SDK boundary; wide count is signed.20 differences are register webs including read cursor/zero. New enum selector and standalone trimming/accessor scopes preserve these facts. +ATTEMPT getComment__Q33ipl5scene17MemoryCardManagerFUcsi | two comment entries are selected by their real enumeration | source 1659c42a1fab | objdiff 98.94309% | insns 123/123 | forms 0 diffs 20 | POOL IDENTICAL up to 0 (mine=0 base=0) | regressions [] | restored +ATTEMPT getComment__Q33ipl5scene17MemoryCardManagerFUcsi | file index keeps signed SDK integer view without narrowing the stored word | source d4438667dcfc | objdiff 98.94309% | insns 123/123 | forms 0 diffs 20 | POOL IDENTICAL up to 0 (mine=0 base=0) | regressions [] | restored +ATTEMPT getComment__Q33ipl5scene17MemoryCardManagerFUcsi | narrow trim helper uses char (&text)[33] at the real buffer boundary | source 1c763fecdf73 | objdiff 98.73984% | insns 123/123 | forms 0 diffs 22 | POOL IDENTICAL up to 0 (mine=0 base=0) | regressions [] | restored +ATTEMPT getComment__Q33ipl5scene17MemoryCardManagerFUcsi | narrow trim helper uses char* text at the real buffer boundary | source d248c423e333 | objdiff 98.73984% | insns 123/123 | forms 0 diffs 22 | POOL IDENTICAL up to 0 (mine=0 base=0) | regressions [] | restored +ATTEMPT getComment__Q33ipl5scene17MemoryCardManagerFUcsi | narrow trim helper uses char* const& text at the real buffer boundary | source 96ca6efe2b6f | objdiff 98.73984% | insns 123/123 | forms 0 diffs 22 | POOL IDENTICAL up to 0 (mine=0 base=0) | regressions [] | restored +ATTEMPT getComment__Q33ipl5scene17MemoryCardManagerFUcsi | all clear conversion trim and return sites share a typed comment accessor | source d325fcff42e1 | objdiff 93.243904% | insns 123/123 | forms 5 diffs 36 | POOL IDENTICAL up to 0 (mine=0 base=0) | regressions [] | restored +BEGIN void LayoutByNW4R::create(MEMAllocator* allocator, EditBuffer* editBuffer) | origin/main a4d145c010bc8a8d3198e68baff458a161899c96 | unchanged remote function=True +DIAGNOSIS create__Q39textinput9inputform12LayoutByNW4RFP12MEMAllocatorPQ39textinput9inputform10EditBuffer |356/356 frame0x60; calls and CFG agree except fallback name/receiver loads. Target row pointerr5/arrayr6 and actual inline detach+append self-compare, unsigned16 list IDs. Target animation count is word cmplw, outer index word. Round1 helper-only and declaration permutations excluded. New trials change actual row-width and helper ownership. +ATTEMPT create__Q39textinput9inputform12LayoutByNW4RFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | detached row identifier is a word after the unsigned-halfword field load | source 79cf974acddc | objdiff 96.40169% | insns 356/356 | forms 8 diffs 153 | POOL IDENTICAL up to 20 (mine=20 base=20) | regressions [] | restored +ATTEMPT create__Q39textinput9inputform12LayoutByNW4RFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | neighbour identifiers retain word width while stored links remain u16 | source 5311e9308871 | objdiff 96.40169% | insns 356/356 | forms 8 diffs 153 | POOL IDENTICAL up to 20 (mine=20 base=20) | regressions [] | restored +ATTEMPT create__Q39textinput9inputform12LayoutByNW4RFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | animation descriptor is pointer value rather than readonly reference to table slot | source 6e0b66ca0d5d | objdiff 95.80618% | insns 354/356 | forms 35 diffs 178 | POOL IDENTICAL up to 20 (mine=20 base=20) | regressions [] | restored +ATTEMPT create__Q39textinput9inputform12LayoutByNW4RFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | row-manager member owns detach append and cursor initialization with shared language helper | source efca33546297 | objdiff 97.6264% | insns 356/356 | forms 0 diffs 142 | POOL IDENTICAL up to 20 (mine=20 base=20) | regressions [] | restored +BUILD FAIL create__Q39textinput9inputform12LayoutByNW4RFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | whole row allocation helper preserves actual Info_* const& member reference | source 16bcad829683 +orm.o +build/tools/wibo build/tools/sjiswrap.exe build/compilers/GC/3.0a5.2/mwcceppc.exe -nodefaults -proc gekko -align powerpc -enum int -fp hardware -Cpp_exceptions off -O4,p -inline auto -pragma "cats off" -pragma "warn_notinlined off" -maxerrors 1 -nosyspath -RTTI off -fp_contract on -str reuse -DSDK_IPL -D_REVOLUTION -DMEM_MANAGER_DIRECT -i include -i include/global -i libs/MetroTRK/include -i libs/Runtime/include -i libs/MSL/include -i libs/RVL_SDK/include -i libs/RevoEX/include -i libs/NW4R/include -i libs/RVLMiddleware/eZiText/include -i libs/RVLMiddleware/TMC_JPEG/include -i libs/RVLFaceLib/include -i libs/EGG/include -i libs/OperaWWW/include -ir libs/RVL_SDK/include/private/bte -i build/43U/include -DBUILD_VERSION=0 -DVERSION_43U -i libs/RVL_SDK/include/private/bte -DNDEBUG=1 -DTARGET_RVL -W nomissingreturn -ipa file -gccinc -fp_contract off -O4,s -enc SJIS -lang=c++ -O4,p -MMD -c src/keyboard/tiInputForm.cpp -o build/43U/src/src/keyboard && "/usr/bin/python3" tools/transform_dep.py build/43U/src/src/keyboard/tiInputForm.d build/43U/src/src/keyboard/tiInputForm.d +### mwcceppc.exe Compiler: +# File: src\keyboard\tiInputForm.cpp +# ------------------------------------- +# 1120: static inline Base::Info_* acquireInputRow(Info_* const& info, const u16& maxLength) { +# Error: ^ +# (10313) illegal use of 'inline' +# Too many errors printed, aborting program + +User break, cancelled... +ninja: build stopped: subcommand failed. + +BUILD FAIL create__Q39textinput9inputform12LayoutByNW4RFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | whole row allocation helper preserves actual Info_*& member reference | source b86427ecfb06 +InputForm.o +build/tools/wibo build/tools/sjiswrap.exe build/compilers/GC/3.0a5.2/mwcceppc.exe -nodefaults -proc gekko -align powerpc -enum int -fp hardware -Cpp_exceptions off -O4,p -inline auto -pragma "cats off" -pragma "warn_notinlined off" -maxerrors 1 -nosyspath -RTTI off -fp_contract on -str reuse -DSDK_IPL -D_REVOLUTION -DMEM_MANAGER_DIRECT -i include -i include/global -i libs/MetroTRK/include -i libs/Runtime/include -i libs/MSL/include -i libs/RVL_SDK/include -i libs/RevoEX/include -i libs/NW4R/include -i libs/RVLMiddleware/eZiText/include -i libs/RVLMiddleware/TMC_JPEG/include -i libs/RVLFaceLib/include -i libs/EGG/include -i libs/OperaWWW/include -ir libs/RVL_SDK/include/private/bte -i build/43U/include -DBUILD_VERSION=0 -DVERSION_43U -i libs/RVL_SDK/include/private/bte -DNDEBUG=1 -DTARGET_RVL -W nomissingreturn -ipa file -gccinc -fp_contract off -O4,s -enc SJIS -lang=c++ -O4,p -MMD -c src/keyboard/tiInputForm.cpp -o build/43U/src/src/keyboard && "/usr/bin/python3" tools/transform_dep.py build/43U/src/src/keyboard/tiInputForm.d build/43U/src/src/keyboard/tiInputForm.d +### mwcceppc.exe Compiler: +# File: src\keyboard\tiInputForm.cpp +# ------------------------------------- +# 1120: static inline Base::Info_* acquireInputRow(Info_*& info, const u16& maxLength) { +# Error: ^ +# (10313) illegal use of 'inline' +# Too many errors printed, aborting program + +User break, cancelled... +ninja: build stopped: subcommand failed. + +BEGIN void Base::onKey(u32 event, void* data) | origin/main 43375de179df96a020cb40c42123a857219f5869 | unchanged remote function=True +DIAGNOSIS onKey__Q49textinput8keyboard13cellphonetype4BaseFUlPv |682/682 frame0x80,37 register-only differences across key name/state and3 key-table searches. Target mPreviousInputMode negative test is cmpwi and current mode compare is signed; real previous index is a signed cyclic character position. Existing inline finder and enum locals did not resolve register webs; trial field definition and fresh lookup ownership. +ATTEMPT onKey__Q49textinput8keyboard13cellphonetype4BaseFUlPv | cyclic character index is signed at its actual field declaration | source 1b38b96a17e9 | objdiff 99.67009% | insns 682/682 | forms 0 diffs 37 | POOL IDENTICAL up to 76 (mine=76 base=76) | regressions [] | restored +ATTEMPT onKey__Q49textinput8keyboard13cellphonetype4BaseFUlPv | current input mode retains InputMode enumeration at field definition | source daea4d06dd80 | objdiff 99.67009% | insns 682/682 | forms 0 diffs 37 | POOL IDENTICAL up to 76 (mine=76 base=76) | regressions [] | restored +ATTEMPT onKey__Q49textinput8keyboard13cellphonetype4BaseFUlPv | three actual mode-table retrievals and searches share readonly member-reference helper | source 31cc816ecb78 | objdiff 99.89003% | insns 682/682 | forms 0 diffs 14 | POOL IDENTICAL up to 76 (mine=76 base=76) | regressions [] | restored +ATTEMPT onKey__Q49textinput8keyboard13cellphonetype4BaseFUlPv | inlined key search owns actual entry reference and const char* const& name boundary | source 70b8d84f3363 | objdiff 97.587975% | insns 682/682 | forms 12 diffs 207 | POOL IDENTICAL up to 76 (mine=76 base=76) | regressions [] | restored +ATTEMPT onKey__Q49textinput8keyboard13cellphonetype4BaseFUlPv | inlined key search owns actual entry reference and const char* name boundary | source 011dcd7737e0 | objdiff 97.587975% | insns 682/682 | forms 12 diffs 207 | POOL IDENTICAL up to 76 (mine=76 base=76) | regressions [] | restored +BEGIN void LayoutByNW4R::init() | origin/main 43375de179df96a020cb40c42123a857219f5869 | unchanged remote function=True +DIAGNOSIS init__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFv |536/536 frame0x50,155 register-only differences. Target zero/T registerr26 and thisr27, loop-indexr28,keyset-strider29,nameptrr30. Mutable getPane0x2c proves readonly receiver would be wrong; use mutable receiver and actual table member references. Prior enum-loop,buffer-lifetime,keyset-cache and declaration orders excluded. +ATTEMPT init__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFv | text-name buffer and visibility update share helper with void* const& table member | source 70ea9bb6d053 | objdiff 100.0% | insns 536/536 | forms 0 diffs 0 | POOL IDENTICAL up to 76 (mine=76 base=76) | regressions [] | restored +EXACT CANDIDATE init__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFv | text-name buffer and visibility update share helper with void* const& table member | /tmp/ult22b-data-d4/candidate-70ea9bb6d053.cpp +ATTEMPT init__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFv | text-name buffer and visibility update share helper with const void* const& table member | source a4e0c035102b | objdiff 100.0% | insns 536/536 | forms 0 diffs 0 | POOL IDENTICAL up to 76 (mine=76 base=76) | regressions [] | restored +EXACT CANDIDATE init__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFv | text-name buffer and visibility update share helper with const void* const& table member | /tmp/ult22b-data-d4/candidate-a4e0c035102b.cpp +ATTEMPT init__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFv | text-name buffer and visibility update share helper with void*& table member | source d4358b7ca573 | objdiff 100.0% | insns 536/536 | forms 0 diffs 0 | POOL IDENTICAL up to 76 (mine=76 base=76) | regressions [] | restored +EXACT CANDIDATE init__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFv | text-name buffer and visibility update share helper with void*& table member | /tmp/ult22b-data-d4/candidate-d4358b7ca573.cpp +ATTEMPT init__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFv | repeated pane-name construction has its own actual char-array helper | source 3ba5816d660d | objdiff 98.52612% | insns 536/536 | forms 0 diffs 155 | POOL IDENTICAL up to 76 (mine=76 base=76) | regressions [] | restored +ATTEMPT init__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFv | pane-name binding uses a readonly pointer temporary reference | source 7b5719857351 | objdiff 98.52612% | insns 536/536 | forms 0 diffs 155 | POOL IDENTICAL up to 76 (mine=76 base=76) | regressions [] | restored +CANDIDATE init | mutable Layout receiver plus readonly reference to actual mode-table pointer keeps post-virtual-call reload. Helper owns real17-byte text name and visibility operations, no extra data or alias tricks. Renamed helper index inputMode and cleaned indentation before fresh full validation. + +ACCEPT init__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFv | objdiff100%,536/536,ctxdiff0,own data3860/3860,pool identical; full clean43U gate PASS,regressions0,forbidden/readability0,DOL26116613f624061ba99c8d1a299aaa6efa85670d. Instruction-exact83->84; parent verification still required. + +``` +full build: ok +main.dol sha1: 26116613f624061ba99c8d1a299aaa6efa85670d +[src/scene/memoryCard/iplMemoryCardManager] pool: IDENTICAL +[src/scene/memoryCard/iplMemoryCardManager] objdiff: code 2932/5396 data None/None functions 19/26 fuzzy 97.9022 linked code 0 +[src/scene/memoryCard/iplMemoryCardManager] instruction-exact functions: 19/26 +[src/scene/memoryCard/iplMemoryCardManager] section .text size 5396 match 97.90215 +[src/scene/memoryCard/iplMemoryCardManager] below 100: isMoveEnable__Q33ipl5scene17MemoryCardManagerFUcUlPl 99.830505 +[src/scene/memoryCard/iplMemoryCardManager] below 100: isCopyEnable__Q33ipl5scene17MemoryCardManagerFUcUlPl 99.830505 +[src/scene/memoryCard/iplMemoryCardManager] below 100: isBannerEnable__Q33ipl5scene17MemoryCardManagerFUcs 92.30769 +[src/scene/memoryCard/iplMemoryCardManager] below 100: _create_icon__Q33ipl5scene17MemoryCardManagerFUcsl 87.55 +[src/scene/memoryCard/iplMemoryCardManager] below 100: getComment__Q33ipl5scene17MemoryCardManagerFUcsi 98.94309 +[src/scene/memoryCard/iplMemoryCardManager] below 100: create_banner__Q33ipl5scene17MemoryCardManagerFUcs 90.42453 +[src/scene/memoryCard/iplMemoryCardManager] below 100: getBlocks__Q33ipl5scene17MemoryCardManagerFUcs 92.0 +[src/scene/memoryCard/iplMemoryCardManager] baseline: code 2932/5396 data None functions 19 fuzzy 97.9022 +[src/keyboard/tiInputForm] pool: IDENTICAL +[src/keyboard/tiInputForm] objdiff: code 47928/50656 data 3772/3772 functions 219/221 fuzzy 99.7200 linked code 0 +[src/keyboard/tiInputForm] instruction-exact functions: 217/221 +[src/keyboard/tiInputForm] section .bss size 96 match 100.0 +[src/keyboard/tiInputForm] section .ctors size 4 match 100.0 +[src/keyboard/tiInputForm] section .data size 2736 match 100.0 +[src/keyboard/tiInputForm] section .rodata size 760 match 100.0 +[src/keyboard/tiInputForm] section .sbss size 32 match 100.0 +[src/keyboard/tiInputForm] section .sdata size 40 match 100.0 +[src/keyboard/tiInputForm] section .sdata2 size 104 match 100.0 +[src/keyboard/tiInputForm] section .text size 50656 match 99.71999 +[src/keyboard/tiInputForm] below 100: calcCursorPos__Q39textinput9inputform4BaseFff 93.05215 +[src/keyboard/tiInputForm] below 100: create__Q39textinput9inputform12LayoutByNW4RFP12MEMAllocatorPQ39textinput9inputform10EditBuffer 96.40169 +[src/keyboard/tiInputForm] baseline: code 47928/50656 data 3772 functions 219 fuzzy 99.7200 +[src/keyboard/tiCellPhone] pool: IDENTICAL +[src/keyboard/tiCellPhone] objdiff: code 14968/19028 data 3860/3860 functions 84/86 fuzzy 99.9453 linked code 0 +[src/keyboard/tiCellPhone] instruction-exact functions: 84/86 +[src/keyboard/tiCellPhone] section .ctors size 4 match 100.0 +[src/keyboard/tiCellPhone] section .data size 2416 match 100.0 +[src/keyboard/tiCellPhone] section .rodata size 1320 match 100.0 +[src/keyboard/tiCellPhone] section .sdata size 112 match 100.0 +[src/keyboard/tiCellPhone] section .sdata2 size 8 match 100.0 +[src/keyboard/tiCellPhone] section .text size 19028 match 99.94534 +[src/keyboard/tiCellPhone] below 100: onKey__Q49textinput8keyboard13cellphonetype4BaseFUlPv 99.67009 +[src/keyboard/tiCellPhone] below 100: create__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFP12MEMAllocator 99.8949 +[src/keyboard/tiCellPhone] baseline: code 12824/19028 data 3860 functions 83 fuzzy 99.7793 +regressions vs baseline: 0 +global matched_code_percent: 92.02758 -> 92.09916 +global fuzzy_match_percent: 99.72150 -> 99.72257 +global complete_code_percent: 74.84181 -> 74.84181 +global matched_data_percent: 99.77803 -> 99.77803 +forbidden patterns added (net, per file): 0 +readability warnings (net, per file; must be 0 in the final result): 0 +GATE PASS +``` + +BEGIN void LayoutByNW4R::create(MEMAllocator* allocator) | origin/main 43375de179df96a020cb40c42123a857219f5869 | unchanged remote function=True +DIAGNOSIS create__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFP12MEMAllocator |333/333 frame0x60,calls/CFG equal;7 differences only toggle rowr16/r18 and descriptor displacementr18/r16. Prior loop/pointer/ref/readonly/declaration trials excluded. Follow exact init lever: actual resource+transform access shared by both animation loops, mutable Layout receiver and accessor pointer reference. +ATTEMPT create__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFP12MEMAllocator | normal and toggle loops share resource/transform helper with actual accessor reference | source e94b9db02efb | objdiff 97.05706% | insns 333/333 | forms 0 diffs 158 | POOL IDENTICAL up to 76 (mine=76 base=76) | regressions [] | restored +ATTEMPT create__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFP12MEMAllocator | animation helper retains mutable reference to actual accessor pointer | source bdf3c91276af | objdiff 97.05706% | insns 333/333 | forms 0 diffs 158 | POOL IDENTICAL up to 76 (mine=76 base=76) | regressions [] | restored +ATTEMPT create__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFP12MEMAllocator | shared animation helper receives descriptor through readonly pointer reference | source 952c1da211a0 | objdiff 97.05706% | insns 333/333 | forms 0 diffs 158 | POOL IDENTICAL up to 76 (mine=76 base=76) | regressions [] | restored +ATTEMPT create__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFP12MEMAllocator | shared resource/transform helper owns accessor pointer value | source d2f8193de49b | objdiff 96.05105% | insns 335/333 | forms 189 diffs 276 | POOL IDENTICAL up to 76 (mine=76 base=76) | regressions [] | restored +ATTEMPT create__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFP12MEMAllocator | toggle descriptor counter is signed int word before table subscript | source 509778cac536 | objdiff 92.84685% | insns 333/333 | forms 79 diffs 193 | POOL IDENTICAL up to 76 (mine=76 base=76) | regressions [] | restored +ATTEMPT create__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFP12MEMAllocator | toggle descriptor counter is signed s32 word before table subscript | source dffbd2bd15e3 | objdiff 92.84685% | insns 333/333 | forms 79 diffs 193 | POOL IDENTICAL up to 76 (mine=76 base=76) | regressions [] | restored +FOLLOWUP onKey | shared readonly mode-table helper removes23/37 register differences at all3 finder sites;14 remain name/state and numeric-table pane lifetimes. Next test actual event accessors and numeric-table ownership on that candidate. Init exact protected. +ATTEMPT onKey__Q49textinput8keyboard13cellphonetype4BaseFUlPv | mode finder uses void* const& actual table parameter | source ccbe06408ed4 | objdiff 99.89003% | insns 682/682 | forms 0 diffs 14 | POOL IDENTICAL up to 76 (mine=76 base=76) | regressions [] | restored +ATTEMPT onKey__Q49textinput8keyboard13cellphonetype4BaseFUlPv | mode finder uses void*& actual table parameter | source b4b0b92882cc | objdiff 99.89003% | insns 682/682 | forms 0 diffs 14 | POOL IDENTICAL up to 76 (mine=76 base=76) | regressions [] | restored +ATTEMPT onKey__Q49textinput8keyboard13cellphonetype4BaseFUlPv | mode finder uses const void* actual table parameter | source e7b0fa9a9727 | objdiff 99.89003% | insns 682/682 | forms 0 diffs 14 | POOL IDENTICAL up to 76 (mine=76 base=76) | regressions [] | restored +ATTEMPT onKey__Q49textinput8keyboard13cellphonetype4BaseFUlPv | key payload uses actual inline name accessors on shared mode-helper candidate | source dfa473b9db00 | objdiff 99.89003% | insns 682/682 | forms 0 diffs 14 | POOL IDENTICAL up to 76 (mine=76 base=76) | regressions [] | restored +ATTEMPT onKey__Q49textinput8keyboard13cellphonetype4BaseFUlPv | key payload uses actual inline state accessors on shared mode-helper candidate | source e5e5af9a219e | objdiff 99.89003% | insns 682/682 | forms 0 diffs 14 | POOL IDENTICAL up to 76 (mine=76 base=76) | regressions [] | restored +ATTEMPT onKey__Q49textinput8keyboard13cellphonetype4BaseFUlPv | key payload uses actual inline both accessors on shared mode-helper candidate | source 61c4e40dd7b1 | objdiff 99.89003% | insns 682/682 | forms 0 diffs 14 | POOL IDENTICAL up to 76 (mine=76 base=76) | regressions [] | restored +ATTEMPT onKey__Q49textinput8keyboard13cellphonetype4BaseFUlPv | event reverse-cycle state is Boolean at member and local definition | source 98d7d6dfe684 | objdiff 99.89003% | insns 682/682 | forms 0 diffs 14 | POOL IDENTICAL up to 76 (mine=76 base=76) | regressions [] | restored +ATTEMPT onKey__Q49textinput8keyboard13cellphonetype4BaseFUlPv | numeric table pointer loads through its real KeySet accessor | source 37b2807edc7b | objdiff 99.89003% | insns 682/682 | forms 0 diffs 14 | POOL IDENTICAL up to 76 (mine=76 base=76) | regressions [] | restored +ATTEMPT onKey__Q49textinput8keyboard13cellphonetype4BaseFUlPv | numeric pane accessor retains actual halfword index and const PaneNameToCharCode* const& table boundary | source 8afd5e9717ef | objdiff 99.90469% | insns 682/682 | forms 0 diffs 13 | POOL IDENTICAL up to 76 (mine=76 base=76) | regressions [] | restored +ATTEMPT onKey__Q49textinput8keyboard13cellphonetype4BaseFUlPv | numeric pane accessor retains actual halfword index and const PaneNameToCharCode* table boundary | source b242a8e6ee6d | objdiff 99.90469% | insns 682/682 | forms 0 diffs 13 | POOL IDENTICAL up to 76 (mine=76 base=76) | regressions [] | restored +FOLLOWUP onKey | real numeric-pane accessor on mode-helper candidate reaches13 register differences. All3 mode searches now exact; remaining webs are name27vs26,state28vs27,numeric table26vs27. No fuzzy-only source retained. +ATTEMPT onKey__Q49textinput8keyboard13cellphonetype4BaseFUlPv | pane name is const pointer local | source fc4af80a5386 | objdiff 99.90469% | insns 682/682 | forms 0 diffs 13 | POOL IDENTICAL up to 76 (mine=76 base=76) | regressions [] | restored +ATTEMPT onKey__Q49textinput8keyboard13cellphonetype4BaseFUlPv | event is typed const record reference and pane name const pointer | source 86cc3b0a1889 | objdiff 99.90469% | insns 682/682 | forms 0 diffs 13 | POOL IDENTICAL up to 76 (mine=76 base=76) | regressions [] | restored +ATTEMPT onKey__Q49textinput8keyboard13cellphonetype4BaseFUlPv | input payload uses actual mutable record reference at field reads | source bdf97c93aa7b | objdiff 99.90469% | insns 682/682 | forms 0 diffs 13 | POOL IDENTICAL up to 76 (mine=76 base=76) | regressions [] | restored +BUILD FAIL onKey__Q49textinput8keyboard13cellphonetype4BaseFUlPv | real event snapshot groups name and lazily loaded reverse-cycle state | source 9051e98ab01b +d/tools/sjiswrap.exe build/compilers/GC/3.0a5.2/mwcceppc.exe -nodefaults -proc gekko -align powerpc -enum int -fp hardware -Cpp_exceptions off -O4,p -inline auto -pragma "cats off" -pragma "warn_notinlined off" -maxerrors 1 -nosyspath -RTTI off -fp_contract on -str reuse -DSDK_IPL -D_REVOLUTION -DMEM_MANAGER_DIRECT -i include -i include/global -i libs/MetroTRK/include -i libs/Runtime/include -i libs/MSL/include -i libs/RVL_SDK/include -i libs/RevoEX/include -i libs/NW4R/include -i libs/RVLMiddleware/eZiText/include -i libs/RVLMiddleware/TMC_JPEG/include -i libs/RVLFaceLib/include -i libs/EGG/include -i libs/OperaWWW/include -ir libs/RVL_SDK/include/private/bte -i build/43U/include -DBUILD_VERSION=0 -DVERSION_43U -i libs/RVL_SDK/include/private/bte -DNDEBUG=1 -DTARGET_RVL -W nomissingreturn -ipa file -gccinc -fp_contract off -O4,s -enc SJIS -lang=c++ -O4,p -MMD -c src/keyboard/tiCellPhone.cpp -o build/43U/src/src/keyboard && "/usr/bin/python3" tools/transform_dep.py build/43U/src/src/keyboard/tiCellPhone.d build/43U/src/src/keyboard/tiCellPhone.d +### mwcceppc.exe Compiler: +# File: src\keyboard\tiCellPhone.cpp +# ------------------------------------- +# 231: KeyEvent input = {static_cast(data)->input.paneName, 0}; +# Error: ^^^^^ +# (10140) undefined identifier 'input' +# Too many errors printed, aborting program + +User break, cancelled... +ninja: build stopped: subcommand failed. + +ATTEMPT onKey__Q49textinput8keyboard13cellphonetype4BaseFUlPv | control-key classifier takes const char* const& actual name local | source d2ba7591e747 | objdiff 99.90469% | insns 682/682 | forms 0 diffs 13 | POOL IDENTICAL up to 76 (mine=76 base=76) | regressions [] | restored +ATTEMPT onKey__Q49textinput8keyboard13cellphonetype4BaseFUlPv | control-key classifier takes const char*& actual name local | source 81c89d1b1526 | objdiff 99.90469% | insns 682/682 | forms 0 diffs 13 | POOL IDENTICAL up to 76 (mine=76 base=76) | regressions [] | restored +ATTEMPT onKey__Q49textinput8keyboard13cellphonetype4BaseFUlPv | control helper return and local both keep VKeyCode enumeration | source 647eb0953676 | objdiff 99.90469% | insns 682/682 | forms 0 diffs 13 | POOL IDENTICAL up to 76 (mine=76 base=76) | regressions [] | restored +ATTEMPT onKey__Q49textinput8keyboard13cellphonetype4BaseFUlPv | actual numeric locals lead their semantic scope on improved helper base | source ea8cfaf3a00a | objdiff 99.90469% | insns 682/682 | forms 0 diffs 13 | POOL IDENTICAL up to 76 (mine=76 base=76) | regressions [] | restored +ATTEMPT onKey__Q49textinput8keyboard13cellphonetype4BaseFUlPv | actual whole locals lead their semantic scope on improved helper base | source 196112f4a153 | objdiff 99.90469% | insns 682/682 | forms 0 diffs 13 | POOL IDENTICAL up to 76 (mine=76 base=76) | regressions [] | restored +ATTEMPT create__Q39textinput9inputform12LayoutByNW4RFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | qualified row helper takes Base::Info_* const& actual array member | source fa16e37005c5 | objdiff 97.6264% | insns 356/356 | forms 0 diffs 142 | POOL IDENTICAL up to 20 (mine=20 base=20) | regressions [] | restored +ATTEMPT create__Q39textinput9inputform12LayoutByNW4RFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | qualified row helper takes Base::Info_*& actual array member | source aa7354c282df | objdiff 97.6264% | insns 356/356 | forms 0 diffs 142 | POOL IDENTICAL up to 20 (mine=20 base=20) | regressions [] | restored +ATTEMPT create__Q39textinput9inputform12LayoutByNW4RFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | resource and transform accesses share readonly actual descriptor/member helper | source fcf36638820c | objdiff 97.57022% | insns 356/356 | forms 0 diffs 146 | POOL IDENTICAL up to 20 (mine=20 base=20) | regressions [] | restored +ATTEMPT create__Q39textinput9inputform12LayoutByNW4RFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | resource helper receives descriptor pointer value with actual accessor reference | source 6b51419766ef | objdiff 97.57022% | insns 356/356 | forms 0 diffs 146 | POOL IDENTICAL up to 20 (mine=20 base=20) | regressions [] | restored +ATTEMPT create__Q39textinput9inputform12LayoutByNW4RFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | conditional animation binding helper retains actual descriptor reference | source 1012874ba435 | objdiff 97.57022% | insns 356/356 | forms 0 diffs 146 | POOL IDENTICAL up to 20 (mine=20 base=20) | regressions [] | restored +ATTEMPT create__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFP12MEMAllocator | toggle bind helper owns const PaneNameToAnimationKey& key row and cached condition name | source 73940b9fd960 | objdiff 99.8949% | insns 333/333 | forms 0 diffs 7 | POOL IDENTICAL up to 76 (mine=76 base=76) | regressions [] | restored +ATTEMPT create__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFP12MEMAllocator | toggle bind helper owns const PaneNameToAnimationKey* const& key row and cached condition name | source 193ece50584a | objdiff 99.8949% | insns 333/333 | forms 0 diffs 7 | POOL IDENTICAL up to 76 (mine=76 base=76) | regressions [] | restored +ATTEMPT create__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFP12MEMAllocator | only normal descriptor resource access shares typed helper boundary | source 157f2ea4a39c | objdiff 99.72973% | insns 333/333 | forms 0 diffs 17 | POOL IDENTICAL up to 76 (mine=76 base=76) | regressions [] | restored +ATTEMPT create__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFP12MEMAllocator | only toggle descriptor resource access shares typed helper boundary | source c6907d4eccfa | objdiff 97.05706% | insns 333/333 | forms 0 diffs 158 | POOL IDENTICAL up to 76 (mine=76 base=76) | regressions [] | restored +BUILD FAIL onKey__Q49textinput8keyboard13cellphonetype4BaseFUlPv | corrected initialized event snapshot groups real name and lazy reverse state | source c24e496c63c9 +uild/tools/sjiswrap.exe build/compilers/GC/3.0a5.2/mwcceppc.exe -nodefaults -proc gekko -align powerpc -enum int -fp hardware -Cpp_exceptions off -O4,p -inline auto -pragma "cats off" -pragma "warn_notinlined off" -maxerrors 1 -nosyspath -RTTI off -fp_contract on -str reuse -DSDK_IPL -D_REVOLUTION -DMEM_MANAGER_DIRECT -i include -i include/global -i libs/MetroTRK/include -i libs/Runtime/include -i libs/MSL/include -i libs/RVL_SDK/include -i libs/RevoEX/include -i libs/NW4R/include -i libs/RVLMiddleware/eZiText/include -i libs/RVLMiddleware/TMC_JPEG/include -i libs/RVLFaceLib/include -i libs/EGG/include -i libs/OperaWWW/include -ir libs/RVL_SDK/include/private/bte -i build/43U/include -DBUILD_VERSION=0 -DVERSION_43U -i libs/RVL_SDK/include/private/bte -DNDEBUG=1 -DTARGET_RVL -W nomissingreturn -ipa file -gccinc -fp_contract off -O4,s -enc SJIS -lang=c++ -O4,p -MMD -c src/keyboard/tiCellPhone.cpp -o build/43U/src/src/keyboard && "/usr/bin/python3" tools/transform_dep.py build/43U/src/src/keyboard/tiCellPhone.d build/43U/src/src/keyboard/tiCellPhone.d +### mwcceppc.exe Compiler: +# File: src\keyboard\tiCellPhone.cpp +# ------------------------------------- +# 285: if (util::strcmp(pane->szPaneName, paneName)) { +# Error: ^^^^^^^^ +# (10140) undefined identifier 'paneName' +# Too many errors printed, aborting program + +User break, cancelled... +ninja: build stopped: subcommand failed. + +BUILD FAIL onKey__Q49textinput8keyboard13cellphonetype4BaseFUlPv | initialized key snapshot declares actual reverse state before name | source ae2732a96c4f +uild/tools/sjiswrap.exe build/compilers/GC/3.0a5.2/mwcceppc.exe -nodefaults -proc gekko -align powerpc -enum int -fp hardware -Cpp_exceptions off -O4,p -inline auto -pragma "cats off" -pragma "warn_notinlined off" -maxerrors 1 -nosyspath -RTTI off -fp_contract on -str reuse -DSDK_IPL -D_REVOLUTION -DMEM_MANAGER_DIRECT -i include -i include/global -i libs/MetroTRK/include -i libs/Runtime/include -i libs/MSL/include -i libs/RVL_SDK/include -i libs/RevoEX/include -i libs/NW4R/include -i libs/RVLMiddleware/eZiText/include -i libs/RVLMiddleware/TMC_JPEG/include -i libs/RVLFaceLib/include -i libs/EGG/include -i libs/OperaWWW/include -ir libs/RVL_SDK/include/private/bte -i build/43U/include -DBUILD_VERSION=0 -DVERSION_43U -i libs/RVL_SDK/include/private/bte -DNDEBUG=1 -DTARGET_RVL -W nomissingreturn -ipa file -gccinc -fp_contract off -O4,s -enc SJIS -lang=c++ -O4,p -MMD -c src/keyboard/tiCellPhone.cpp -o build/43U/src/src/keyboard && "/usr/bin/python3" tools/transform_dep.py build/43U/src/src/keyboard/tiCellPhone.d build/43U/src/src/keyboard/tiCellPhone.d +### mwcceppc.exe Compiler: +# File: src\keyboard\tiCellPhone.cpp +# ------------------------------------- +# 286: if (util::strcmp(pane->szPaneName, paneName)) { +# Error: ^^^^^^^^ +# (10140) undefined identifier 'paneName' +# Too many errors printed, aborting program + +User break, cancelled... +ninja: build stopped: subcommand failed. + +ATTEMPT onKey__Q49textinput8keyboard13cellphonetype4BaseFUlPv | new combined-helper declaration order name,state,control | source 196112f4a153 | objdiff 99.90469% | insns 682/682 | forms 0 diffs 13 | POOL IDENTICAL up to 76 (mine=76 base=76) | regressions [] | restored +ATTEMPT onKey__Q49textinput8keyboard13cellphonetype4BaseFUlPv | new combined-helper declaration order name,control,state | source b8118dfe1724 | objdiff 99.90469% | insns 682/682 | forms 0 diffs 13 | POOL IDENTICAL up to 76 (mine=76 base=76) | regressions [] | restored +ATTEMPT onKey__Q49textinput8keyboard13cellphonetype4BaseFUlPv | new combined-helper declaration order state,name,control | source b3e34dea175d | objdiff 99.90469% | insns 682/682 | forms 0 diffs 13 | POOL IDENTICAL up to 76 (mine=76 base=76) | regressions [] | restored +ATTEMPT onKey__Q49textinput8keyboard13cellphonetype4BaseFUlPv | new combined-helper declaration order state,control,name | source 350c4cd267cc | objdiff 99.90469% | insns 682/682 | forms 0 diffs 13 | POOL IDENTICAL up to 76 (mine=76 base=76) | regressions [] | restored +ATTEMPT onKey__Q49textinput8keyboard13cellphonetype4BaseFUlPv | new combined-helper declaration order control,name,state | source e881227c6783 | objdiff 99.90469% | insns 682/682 | forms 0 diffs 13 | POOL IDENTICAL up to 76 (mine=76 base=76) | regressions [] | restored +ATTEMPT onKey__Q49textinput8keyboard13cellphonetype4BaseFUlPv | new combined-helper declaration order control,state,name | source 2d913d1b77a2 | objdiff 99.90469% | insns 682/682 | forms 0 diffs 13 | POOL IDENTICAL up to 76 (mine=76 base=76) | regressions [] | restored +ATTEMPT isMoveEnable__Q33ipl5scene17MemoryCardManagerFUcUlPl | permission predicates use readonly directory records at pointer definitions | source f78e71f3994b | objdiff 99.830505% | insns 118/118 | forms 0 diffs 2 | POOL IDENTICAL up to 0 (mine=0 base=0) | regressions [] | restored +ATTEMPT isCopyEnable__Q33ipl5scene17MemoryCardManagerFUcUlPl | permission predicates use readonly directory records at pointer definitions | source 03416b19f6d5 | objdiff 99.830505% | insns 118/118 | forms 0 diffs 2 | POOL IDENTICAL up to 0 (mine=0 base=0) | regressions [] | restored +ATTEMPT onKey__Q49textinput8keyboard13cellphonetype4BaseFUlPv | fully corrected initialized event snapshot retains both name and lazy state | source 9e623f1ed9e8 | objdiff 96.41936% | insns 688/682 | forms 630 diffs 678 | POOL IDENTICAL up to 76 (mine=76 base=76) | regressions ['main/src/keyboard/tiCellPhone'] | restored +ATTEMPT onKey__Q49textinput8keyboard13cellphonetype4BaseFUlPv | fully corrected key snapshot uses reverse-state then pane-name declaration order | source 6da729074769 | objdiff 96.605576% | insns 691/682 | forms 609 diffs 671 | POOL IDENTICAL up to 76 (mine=76 base=76) | regressions ['main/src/keyboard/tiCellPhone'] | restored + +## Final open-function audit + +OPEN isMoveEnable__Q33ipl5scene17MemoryCardManagerFUcUlPl | 5 distinct valid round2 builds; below100% candidates restored +OPEN isCopyEnable__Q33ipl5scene17MemoryCardManagerFUcUlPl | 5 distinct valid round2 builds; below100% candidates restored +OPEN isBannerEnable__Q33ipl5scene17MemoryCardManagerFUcs | 4 distinct valid round2 builds; below100% candidates restored +OPEN getBlocks__Q33ipl5scene17MemoryCardManagerFUcs | 4 distinct valid round2 builds; below100% candidates restored +OPEN getComment__Q33ipl5scene17MemoryCardManagerFUcsi | 6 distinct valid round2 builds; below100% candidates restored +OPEN create__Q39textinput9inputform12LayoutByNW4RFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | 9 distinct valid round2 builds; below100% candidates restored +OPEN onKey__Q49textinput8keyboard13cellphonetype4BaseFUlPv | 31 distinct valid round2 builds; below100% candidates restored +OPEN create__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFP12MEMAllocator | 10 distinct valid round2 builds; below100% candidates restored + +ONKEY FOLLOWUP: readonly mode-table retrieval+finder helper resolves23/37 positional differences. Numeric pane accessor resolves another difference. Best99.90469%,682/682,13 register differences remain in name/state and numeric-table live ranges; snapshot variants introduce instructions/data regression, restored. Six declaration orders on this new helper package give no gain. Temporary candidate b242a8e6ee6d contains the best source, never staged or committed. + +No data rename or extent edit is justified: all3 owned units already100% data. No compiler knobs, new volatile definitions, assembly, uninitialized values, address-pinning, shared-header changes, linking changes, pushes, PRs, merges or rebases retained. Full final clean gate follows. Exact init source commit586dbefa. + +## Final full clean gate over all three owned units + +``` +full build: ok +main.dol sha1: 26116613f624061ba99c8d1a299aaa6efa85670d +[src/scene/memoryCard/iplMemoryCardManager] pool: IDENTICAL +[src/scene/memoryCard/iplMemoryCardManager] objdiff: code 2932/5396 data None/None functions 19/26 fuzzy 97.9022 linked code 0 +[src/scene/memoryCard/iplMemoryCardManager] instruction-exact functions: 19/26 +[src/scene/memoryCard/iplMemoryCardManager] section .text size 5396 match 97.90215 +[src/scene/memoryCard/iplMemoryCardManager] below 100: isMoveEnable__Q33ipl5scene17MemoryCardManagerFUcUlPl 99.830505 +[src/scene/memoryCard/iplMemoryCardManager] below 100: isCopyEnable__Q33ipl5scene17MemoryCardManagerFUcUlPl 99.830505 +[src/scene/memoryCard/iplMemoryCardManager] below 100: isBannerEnable__Q33ipl5scene17MemoryCardManagerFUcs 92.30769 +[src/scene/memoryCard/iplMemoryCardManager] below 100: _create_icon__Q33ipl5scene17MemoryCardManagerFUcsl 87.55 +[src/scene/memoryCard/iplMemoryCardManager] below 100: getComment__Q33ipl5scene17MemoryCardManagerFUcsi 98.94309 +[src/scene/memoryCard/iplMemoryCardManager] below 100: create_banner__Q33ipl5scene17MemoryCardManagerFUcs 90.42453 +[src/scene/memoryCard/iplMemoryCardManager] below 100: getBlocks__Q33ipl5scene17MemoryCardManagerFUcs 92.0 +[src/scene/memoryCard/iplMemoryCardManager] baseline: code 2932/5396 data None functions 19 fuzzy 97.9022 +[src/keyboard/tiInputForm] pool: IDENTICAL +[src/keyboard/tiInputForm] objdiff: code 47928/50656 data 3772/3772 functions 219/221 fuzzy 99.7200 linked code 0 +[src/keyboard/tiInputForm] instruction-exact functions: 217/221 +[src/keyboard/tiInputForm] section .bss size 96 match 100.0 +[src/keyboard/tiInputForm] section .ctors size 4 match 100.0 +[src/keyboard/tiInputForm] section .data size 2736 match 100.0 +[src/keyboard/tiInputForm] section .rodata size 760 match 100.0 +[src/keyboard/tiInputForm] section .sbss size 32 match 100.0 +[src/keyboard/tiInputForm] section .sdata size 40 match 100.0 +[src/keyboard/tiInputForm] section .sdata2 size 104 match 100.0 +[src/keyboard/tiInputForm] section .text size 50656 match 99.71999 +[src/keyboard/tiInputForm] below 100: calcCursorPos__Q39textinput9inputform4BaseFff 93.05215 +[src/keyboard/tiInputForm] below 100: create__Q39textinput9inputform12LayoutByNW4RFP12MEMAllocatorPQ39textinput9inputform10EditBuffer 96.40169 +[src/keyboard/tiInputForm] baseline: code 47928/50656 data 3772 functions 219 fuzzy 99.7200 +[src/keyboard/tiCellPhone] pool: IDENTICAL +[src/keyboard/tiCellPhone] objdiff: code 14968/19028 data 3860/3860 functions 84/86 fuzzy 99.9453 linked code 0 +[src/keyboard/tiCellPhone] instruction-exact functions: 84/86 +[src/keyboard/tiCellPhone] section .ctors size 4 match 100.0 +[src/keyboard/tiCellPhone] section .data size 2416 match 100.0 +[src/keyboard/tiCellPhone] section .rodata size 1320 match 100.0 +[src/keyboard/tiCellPhone] section .sdata size 112 match 100.0 +[src/keyboard/tiCellPhone] section .sdata2 size 8 match 100.0 +[src/keyboard/tiCellPhone] section .text size 19028 match 99.94534 +[src/keyboard/tiCellPhone] below 100: onKey__Q49textinput8keyboard13cellphonetype4BaseFUlPv 99.67009 +[src/keyboard/tiCellPhone] below 100: create__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFP12MEMAllocator 99.8949 +[src/keyboard/tiCellPhone] baseline: code 12824/19028 data 3860 functions 83 fuzzy 99.7793 +regressions vs baseline: 0 +global matched_code_percent: 92.02758 -> 92.09916 +global fuzzy_match_percent: 99.72150 -> 99.72257 +global complete_code_percent: 74.84181 -> 74.84181 +global matched_data_percent: 99.77803 -> 99.77803 +forbidden patterns added (net, per file): 0 +readability warnings (net, per file; must be 0 in the final result): 0 +GATE PASS +``` + +FINAL src/scene/memoryCard/iplMemoryCardManager | instruction exact 19/26 | {'fuzzy_match_percent': 97.90215, 'total_code': '5396', 'matched_code': '2932', 'matched_code_percent': 54.336548, 'matched_data_percent': 100.0, 'total_functions': 26, 'matched_functions': 19, 'matched_functions_percent': 73.07692, 'complete_data_percent': 100.0, 'total_units': 1} +FINAL src/keyboard/tiInputForm | instruction exact 217/221 | {'fuzzy_match_percent': 99.71999, 'total_code': '50656', 'matched_code': '47928', 'matched_code_percent': 94.614655, 'total_data': '3772', 'matched_data': '3772', 'matched_data_percent': 100.0, 'total_functions': 221, 'matched_functions': 219, 'matched_functions_percent': 99.095024, 'total_units': 1} +FINAL src/keyboard/tiCellPhone | instruction exact 84/86 | {'fuzzy_match_percent': 99.94534, 'total_code': '19028', 'matched_code': '14968', 'matched_code_percent': 78.663025, 'total_data': '3860', 'matched_data': '3860', 'matched_data_percent': 100.0, 'total_functions': 86, 'matched_functions': 84, 'matched_functions_percent': 97.674416, 'total_units': 1} +Final direct checks: focused ctxdiff init536/536,diffs0; all3 pool_diff identical; Ninja progress/report/build43Uok exit0; fresh DOL SHA1 target. Remaining owned code below100% unchanged, excluded functions untouched. Parent integration verification required; worker awaits parent. +Final declsearch score-only retried with NINJA=/home/cole/projects/tests/.venv/bin/ninja: structural0 exact0. Initial invocation could not find Ninja in PATH; no source edits occurred. -- 2.49.1