From 46627022b3961e0630f959ca1beb6d16a86cca17 Mon Sep 17 00:00:00 2001 From: coah <100182500+coah80@users.noreply.github.com> Date: Sat, 3 Oct 2026 20:16:53 +0000 Subject: [PATCH] decomp(tiCellPhone): match onKey via key lookup helpers (a23m astra max) (worker eaae1b60) --- src/keyboard/tiCellPhone.cpp | 42 ++- tools/decomp-assist/a23m.attempts.md | 444 +++++++++++++++++++++++++++ 2 files changed, 477 insertions(+), 9 deletions(-) create mode 100644 tools/decomp-assist/a23m.attempts.md diff --git a/src/keyboard/tiCellPhone.cpp b/src/keyboard/tiCellPhone.cpp index 5b19a0bc..a16434fb 100644 --- a/src/keyboard/tiCellPhone.cpp +++ b/src/keyboard/tiCellPhone.cpp @@ -206,6 +206,33 @@ namespace textinput { return 0x1B; } + static inline const PaneNameToCharCode* inputKeys(const LanguageDependencyData* table, u32 mode) { + return table->keySets[mode]->pPaneNameToCharCode; + } + + struct NumericKeyView { + const PaneNameToCharCode& key; + NumericKeyView(const KeySet& set, u16 index) : key(set.pPaneNameToCharCode[index]) {} + bool matches(const char* paneName) const { return util::strcmp(key.szPaneName, paneName); } + wchar_t character() const { return key.wc[0]; } + }; + + static inline const PaneNameToCharCode* findLowerCaseKey(const LanguageDependencyData* table, const char* paneName) { + u16 index = 0; + const PaneNameToCharCode* keys = table->keySets[Base::IM_01]->pPaneNameToCharCode; + for (; index < 12; ++index) { + if (util::strcmp(keys[index].szPaneName, paneName)) { return &keys[index]; } + } + return NULL; + } + + static inline const PaneNameToCharCode* findKeyInSet(const KeySet& set, const char* paneName) { + const PaneNameToCharCode* keys = set.pPaneNameToCharCode; + for (u16 index = 0; index < 12; ++index) { + if (util::strcmp(keys[index].szPaneName, paneName)) { return &keys[index]; } + } + return NULL; + } void Base::onKey(u32 event, void* data) { struct KeyEvent { const char* paneName; u8 state; }; @@ -234,8 +261,7 @@ namespace textinput { } else if (static_cast(mpInputModeTable)->keySets[inputMode]->uType == KEY_TYPE_ABC_UPPER && !mbUpperCaseMode) { inputMode = IM_01; } - const PaneNameToCharCode* keys = static_cast(mpInputModeTable)->keySets[inputMode]->pPaneNameToCharCode; - mHoldingButton = findKeyForPane(keys, paneName); + mHoldingButton = findKeyInSet(*static_cast(mpInputModeTable)->keySets[inputMode], paneName); if (state) { mPreviousInputMode = 15; while (mHoldingButton->wc[mPreviousInputMode] == 0) { mPreviousInputMode--; } @@ -271,11 +297,10 @@ namespace textinput { } } } else { - const PaneNameToCharCode* keys = csKeySetNumber.pPaneNameToCharCode; for (u16 index = 0; index < 12; index++) { - const PaneNameToCharCode* pane = &keys[index]; - if (util::strcmp(pane->szPaneName, paneName)) { - wchar_t character = pane->wc[0]; + const NumericKeyView key(csKeySetNumber, index); + if (key.matches(paneName)) { + wchar_t character = key.character(); ConfirmInput commandData = {0}; commandData.character = character; commandData.letterMode = mCurrentInputMode; @@ -291,12 +316,11 @@ namespace textinput { mPreviousInputMode = 0; mHoldingButton = NULL; } else { - const PaneNameToCharCode* currentKeys = static_cast(mpInputModeTable)->keySets[mCurrentInputMode]->pPaneNameToCharCode; + const PaneNameToCharCode* currentKeys = inputKeys(static_cast(mpInputModeTable), mCurrentInputMode); commandData.holdingKey = findKeyForPane(currentKeys, paneName); if (static_cast(mpInputModeTable)->keySets[mCurrentInputMode]->uType == KEY_TYPE_ABC_UPPER && !mbAbcMode) { commandData.letterMode = IM_01; - currentKeys = static_cast(mpInputModeTable)->keySets[IM_01]->pPaneNameToCharCode; - commandData.holdingKey = findKeyForPane(currentKeys, paneName); + commandData.holdingKey = findLowerCaseKey(static_cast(mpInputModeTable), paneName); } commandData.character = convertToZiCellphoneInput_(commandData.character); sendCommand(5, &commandData); diff --git a/tools/decomp-assist/a23m.attempts.md b/tools/decomp-assist/a23m.attempts.md new file mode 100644 index 00000000..15f6ba4e --- /dev/null +++ b/tools/decomp-assist/a23m.attempts.md @@ -0,0 +1,444 @@ +# a23m max round + + + +Base 5473a84f21b7777ae6eecd3207913d60bf3716a0. Fresh origin fetch checked. Latest user scope selects 2-3 closest functions; focus on CellPhone onKey, CellPhone create and SignWindow create. Prior u2, a23h2 and a23x logs stay untracked. Read-only references: local AGENTS, a23h prompt, all ten levers, effort policy, a23h/u2/a23h2/a23x and historical target-specific logs. No tiPcKeyboard or BS2 volatility changes. + + + +Baseline follows. + +src/keyboard/tiCandidateBox: POOL IDENTICAL up to 57 (mine=57 base=57); instruction-exact 109/112; {"fuzzy_match_percent": 99.71067, "total_code": "24000", "matched_code": "21728", "matched_code_percent": 90.53333, "total_data": "4652", "matched_data": "4652", "matched_data_percent": 100.0, "total_functions": 112, "matched_functions": 110, "matched_functions_percent": 98.21429, "total_units": 1} + +OPEN create__Q39textinput12candidatebox12LayoutByNW4RFP12MEMAllocator 95.99148 + +OPEN createAnmPane___Q39textinput12candidatebox12LayoutByNW4RFP12MEMAllocator 98.49537 + +src/keyboard/tiInputForm: POOL IDENTICAL up to 20 (mine=20 base=20); 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} + +OPEN calcCursorPos__Q39textinput9inputform4BaseFff 93.05215 + +OPEN create__Q39textinput9inputform12LayoutByNW4RFP12MEMAllocatorPQ39textinput9inputform10EditBuffer 96.40169 + +src/keyboard/tiCellPhone: POOL IDENTICAL up to 76 (mine=76 base=76); 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} + +OPEN onKey__Q49textinput8keyboard13cellphonetype4BaseFUlPv 99.67009 + +OPEN create__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFP12MEMAllocator 99.8949 + +src/keyboard/tiZiString: POOL IDENTICAL up to 0 (mine=0 base=0); instruction-exact 26/29; {"fuzzy_match_percent": 98.32413, "total_code": "5504", "matched_code": "3136", "matched_code_percent": 56.97674, "total_data": "7680", "matched_data": "7680", "matched_data_percent": 100.0, "total_functions": 29, "matched_functions": 26, "matched_functions_percent": 89.655174, "total_units": 1} + +OPEN clearCandidates__Q39textinput8tistring6WithZiFv 93.28395 + +OPEN update__Q39textinput8tistring6WithZiFv 97.4574 + +OPEN setElementBuffer__Q39textinput8tistring6WithZiFv 90.33846 + +src/keyboard/tiString: POOL IDENTICAL up to 0 (mine=0 base=0); instruction-exact 41/42; {"fuzzy_match_percent": 99.028595, "total_code": "5176", "matched_code": "4632", "matched_code_percent": 89.48995, "total_data": "288", "matched_data": "288", "matched_data_percent": 100.0, "total_functions": 42, "matched_functions": 41, "matched_functions_percent": 97.61904, "total_units": 1} + +OPEN inputChar__Q39textinput8tistring9DecolatedFw 90.757355 + +src/keyboard/tiSignWindow: POOL IDENTICAL up to 30 (mine=30 base=30); instruction-exact 55/56; {"fuzzy_match_percent": 99.9833, "total_code": "7184", "matched_code": "6300", "matched_code_percent": 87.69488, "total_data": "3468", "matched_data": "3468", "matched_data_percent": 100.0, "total_functions": 56, "matched_functions": 55, "matched_functions_percent": 98.21429, "total_units": 1} + +OPEN create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator 99.86425 + +src/scene/address/iplAddress: POOL IDENTICAL up to 81 (mine=81 base=81); instruction-exact 98/101; {"fuzzy_match_percent": 99.923294, "total_code": "23988", "matched_code": "22016", "matched_code_percent": 91.77922, "total_data": "1964", "matched_data": "1964", "matched_data_percent": 100.0, "total_functions": 101, "matched_functions": 99, "matched_functions_percent": 98.019806, "total_units": 1} + +OPEN start_drag_event__Q33ipl5scene7AddressFPCcPCQ33ipl10controller9Interface 99.84305 + +OPEN onEventDerived__Q33ipl5scene7AddressFUlUlPCQ33ipl10controller9Interface 98.42593 + +src/scene/address/iplAddressEdit: POOL IDENTICAL up to 57 (mine=57 base=57); instruction-exact 91/94; {"fuzzy_match_percent": 99.55282, "total_code": "27112", "matched_code": "23344", "matched_code_percent": 86.10209, "total_data": "2560", "matched_data": "2560", "matched_data_percent": 100.0, "total_functions": 94, "matched_functions": 91, "matched_functions_percent": 96.80851, "total_units": 1} + +OPEN create__Q33ipl5scene11AddressEditFv 97.5561 + +OPEN get_friendinfo__Q33ipl5scene11AddressEditFv 88.03571 + +OPEN update_friendinfo__Q33ipl5scene11AddressEditFv 99.42105 + +src/scene/sdChannelSelect/iplSDChannelSelect: POOL IDENTICAL up to 101 (mine=101 base=101); instruction-exact 123/129; {"fuzzy_match_percent": 99.77309, "total_code": "33828", "matched_code": "30344", "matched_code_percent": 89.70084, "total_data": "2960", "matched_data": "2960", "matched_data_percent": 100.0, "total_functions": 129, "matched_functions": 123, "matched_functions_percent": 95.34883, "total_units": 1} + +OPEN create__Q33ipl5scene15SDChannelSelectFv 97.73972 + +OPEN collectTitlesByUsage__Q33ipl5scene15SDChannelSelectFPClPClPUxPcPUl 97.81188 + +OPEN collectTitlesFromNandUsage__Q33ipl5scene15SDChannelSelectFPClPClPUxPcPUl 97.833336 + +OPEN collectTitlesByChannelOrder__Q33ipl5scene15SDChannelSelectFPClPClPUxPcPUl 98.007935 + +OPEN collectTitlesBySpecialChannels__Q33ipl5scene15SDChannelSelectFPClPClPUxPcPUl 97.55125 + +OPEN flushSaveDataAndMountSD__Q33ipl5scene15SDChannelSelectFv 99.65714 + +## CellPhone onKey + +Resumed a23x four-operand patch as a starting point, not a repeated new trial. Source implements control-key dispatch, normal holding-key cycling, predictive numeric conversion, then release confirmation. The last inline getInputType holds the keyset across language queries. Prior read-only/reference/type-query wrappers all retained r20 where the target uses r19. New focus: method implementation boundaries and ownership of the complete release operation. No prior-art match in the supplied index. + +ATTEMPT {"label": "resume prior four-operand candidate; baseline only", "hash": "3f53d21fff3f", "unit": "src/keyboard/tiCellPhone", "pool": 0, "functions": {"onKey__Q49textinput8keyboard13cellphonetype4BaseFUlPv": [99.95601, 682, 682, 4], "create__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFP12MEMAllocator": [99.8949, 333, 333, 7]}, "drops": [], "code": "14968", "data": "3860"} + +Live reconstruction differs from a23x notes: the resumed patch has four differences at indices 146,149,150,154, all in the first holding-key lookup. Target holds keys in r21 and displacement in r19; source uses keys r19 and displacement r21. Last getInputType now matches. This new live evidence directs first lookup ownership experiments; old classifier trials are excluded. + +ATTEMPT {"label": "holding lookup nests the mode-table accessor in the existing search", "hash": "0d2acbe96650", "unit": "src/keyboard/tiCellPhone", "pool": 0, "functions": {"onKey__Q49textinput8keyboard13cellphonetype4BaseFUlPv": [99.95601, 682, 682, 4], "create__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFP12MEMAllocator": [99.8949, 333, 333, 7]}, "drops": [], "code": "14968", "data": "3860"} + +ATTEMPT {"label": "holding lookup owns counter before table extraction in a dedicated helper", "hash": "16e37c32ea58", "unit": "src/keyboard/tiCellPhone", "pool": 0, "functions": {"onKey__Q49textinput8keyboard13cellphonetype4BaseFUlPv": [99.941345, 682, 682, 7], "create__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFP12MEMAllocator": [99.8949, 333, 333, 7]}, "drops": [], "code": "14968", "data": "3860"} + +ATTEMPT {"label": "holding lookup keeps bounded key-array reference through the existing search", "hash": "d574cc3409fe", "unit": "src/keyboard/tiCellPhone", "pool": 0, "functions": {"onKey__Q49textinput8keyboard13cellphonetype4BaseFUlPv": [99.978004, 682, 682, 3], "create__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFP12MEMAllocator": [99.8949, 333, 333, 7]}, "drops": [], "code": "14968", "data": "3860"} + +ATTEMPT {"label": "holding lookup references the actual table pointer field", "hash": "b167bf267fd8", "unit": "src/keyboard/tiCellPhone", "pool": 0, "functions": {"onKey__Q49textinput8keyboard13cellphonetype4BaseFUlPv": [99.941345, 682, 682, 7], "create__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFP12MEMAllocator": [99.8949, 333, 333, 7]}, "drops": [], "code": "14968", "data": "3860"} + +ATTEMPT {"label": "holding lookup snapshots keyset reference before its character array", "hash": "5136600ac69a", "unit": "src/keyboard/tiCellPhone", "pool": 0, "functions": {"onKey__Q49textinput8keyboard13cellphonetype4BaseFUlPv": [99.978004, 682, 682, 3], "create__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFP12MEMAllocator": [99.8949, 333, 333, 7]}, "drops": [], "code": "14968", "data": "3860"} + +ATTEMPT {"label": "holding lookup const pointer lifetime begins with mode selection", "hash": "58c0538d79fe", "unit": "src/keyboard/tiCellPhone", "pool": 0, "functions": {"onKey__Q49textinput8keyboard13cellphonetype4BaseFUlPv": [99.95601, 682, 682, 4], "create__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFP12MEMAllocator": [99.8949, 333, 333, 7]}, "drops": [], "code": "14968", "data": "3860"} + +ATTEMPT {"label": "holding lookup search receives const keyset and owns pointer snapshot", "hash": "4d35d7b79ab5", "unit": "src/keyboard/tiCellPhone", "pool": 0, "functions": {"onKey__Q49textinput8keyboard13cellphonetype4BaseFUlPv": [100.0, 682, 682, 0], "create__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFP12MEMAllocator": [99.8949, 333, 333, 7]}, "drops": [], "code": "17696", "data": "3860"} + +Exact candidate: first holding lookup now receives a const KeySet reference and owns its pointer snapshot and u16 search index. This restores r21 keys/r19 displacement without changing control flow, calls, data or any original exact sibling. Objdiff onKey 100.0; ctxdiff independently required below. + +## First exact candidate full clean gate + +```text +full build: ok +main.dol sha1: 26116613f624061ba99c8d1a299aaa6efa85670d +[src/keyboard/tiCandidateBox] pool: IDENTICAL +[src/keyboard/tiCandidateBox] objdiff: code 21728/24000 data 4652/4652 functions 110/112 fuzzy 99.7107 linked code 0 +[src/keyboard/tiCandidateBox] instruction-exact functions: 109/112 +[src/keyboard/tiCandidateBox] section .ctors size 4 match 100.0 +[src/keyboard/tiCandidateBox] section .data size 3488 match 100.0 +[src/keyboard/tiCandidateBox] section .rodata size 1048 match 100.0 +[src/keyboard/tiCandidateBox] section .sdata size 32 match 100.0 +[src/keyboard/tiCandidateBox] section .sdata2 size 80 match 100.0 +[src/keyboard/tiCandidateBox] section .text size 24000 match 99.71067 +[src/keyboard/tiCandidateBox] below 100: create__Q39textinput12candidatebox12LayoutByNW4RFP12MEMAllocator 95.99148 +[src/keyboard/tiCandidateBox] below 100: createAnmPane___Q39textinput12candidatebox12LayoutByNW4RFP12MEMAllocator 98.49537 +[src/keyboard/tiCandidateBox] baseline: code 21728/24000 data 4652 functions 110 fuzzy 99.7107 +[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 17696/19028 data 3860/3860 functions 85/86 fuzzy 99.9926 linked code 0 +[src/keyboard/tiCellPhone] instruction-exact functions: 85/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.992645 +[src/keyboard/tiCellPhone] below 100: create__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFP12MEMAllocator 99.8949 +[src/keyboard/tiCellPhone] baseline: code 14968/19028 data 3860 functions 84 fuzzy 99.9453 +[src/keyboard/tiZiString] pool: IDENTICAL +[src/keyboard/tiZiString] objdiff: code 3136/5504 data 7680/7680 functions 26/29 fuzzy 98.3241 linked code 0 +[src/keyboard/tiZiString] instruction-exact functions: 26/29 +[src/keyboard/tiZiString] section .bss size 7296 match 100.0 +[src/keyboard/tiZiString] section .data size 328 match 100.0 +[src/keyboard/tiZiString] section .rodata size 56 match 100.0 +[src/keyboard/tiZiString] section .text size 5504 match 98.32413 +[src/keyboard/tiZiString] below 100: clearCandidates__Q39textinput8tistring6WithZiFv 93.28395 +[src/keyboard/tiZiString] below 100: update__Q39textinput8tistring6WithZiFv 97.4574 +[src/keyboard/tiZiString] below 100: setElementBuffer__Q39textinput8tistring6WithZiFv 90.33846 +[src/keyboard/tiZiString] baseline: code 3136/5504 data 7680 functions 26 fuzzy 98.3241 +[src/keyboard/tiString] pool: IDENTICAL +[src/keyboard/tiString] objdiff: code 4632/5176 data 288/288 functions 41/42 fuzzy 99.0286 linked code 0 +[src/keyboard/tiString] instruction-exact functions: 41/42 +[src/keyboard/tiString] section .data size 288 match 100.0 +[src/keyboard/tiString] section .text size 5176 match 99.028595 +[src/keyboard/tiString] below 100: inputChar__Q39textinput8tistring9DecolatedFw 90.757355 +[src/keyboard/tiString] baseline: code 4632/5176 data 288 functions 41 fuzzy 99.0286 +[src/keyboard/tiSignWindow] pool: IDENTICAL +[src/keyboard/tiSignWindow] objdiff: code 6300/7184 data 3468/3468 functions 55/56 fuzzy 99.9833 linked code 0 +[src/keyboard/tiSignWindow] instruction-exact functions: 55/56 +[src/keyboard/tiSignWindow] section .ctors size 4 match 100.0 +[src/keyboard/tiSignWindow] section .data size 2672 match 100.0 +[src/keyboard/tiSignWindow] section .rodata size 784 match 100.0 +[src/keyboard/tiSignWindow] section .sdata size 8 match 100.0 +[src/keyboard/tiSignWindow] section .text size 7184 match 99.9833 +[src/keyboard/tiSignWindow] below 100: create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator 99.86425 +[src/keyboard/tiSignWindow] baseline: code 6300/7184 data 3468 functions 55 fuzzy 99.9833 +[src/scene/address/iplAddress] pool: IDENTICAL +[src/scene/address/iplAddress] objdiff: code 22016/23988 data 1964/1964 functions 99/101 fuzzy 99.9233 linked code 0 +[src/scene/address/iplAddress] instruction-exact functions: 98/101 +[src/scene/address/iplAddress] section .ctors size 4 match 100.0 +[src/scene/address/iplAddress] section .data size 1880 match 100.0 +[src/scene/address/iplAddress] section .rodata size 24 match 100.0 +[src/scene/address/iplAddress] section .sbss size 8 match 100.0 +[src/scene/address/iplAddress] section .sdata size 16 match 100.0 +[src/scene/address/iplAddress] section .sdata2 size 32 match 100.0 +[src/scene/address/iplAddress] section .text size 23988 match 99.923294 +[src/scene/address/iplAddress] below 100: start_drag_event__Q33ipl5scene7AddressFPCcPCQ33ipl10controller9Interface 99.84305 +[src/scene/address/iplAddress] below 100: onEventDerived__Q33ipl5scene7AddressFUlUlPCQ33ipl10controller9Interface 98.42593 +[src/scene/address/iplAddress] baseline: code 22016/23988 data 1964 functions 99 fuzzy 99.9233 +[src/scene/address/iplAddressEdit] pool: IDENTICAL +[src/scene/address/iplAddressEdit] objdiff: code 23344/27112 data 2560/2560 functions 91/94 fuzzy 99.5528 linked code 0 +[src/scene/address/iplAddressEdit] instruction-exact functions: 91/94 +[src/scene/address/iplAddressEdit] section .bss size 320 match 100.0 +[src/scene/address/iplAddressEdit] section .data size 2152 match 100.0 +[src/scene/address/iplAddressEdit] section .rodata size 40 match 100.0 +[src/scene/address/iplAddressEdit] section .sdata size 24 match 100.0 +[src/scene/address/iplAddressEdit] section .sdata2 size 24 match 100.0 +[src/scene/address/iplAddressEdit] section .text size 27112 match 99.55282 +[src/scene/address/iplAddressEdit] below 100: create__Q33ipl5scene11AddressEditFv 97.5561 +[src/scene/address/iplAddressEdit] below 100: get_friendinfo__Q33ipl5scene11AddressEditFv 88.03571 +[src/scene/address/iplAddressEdit] below 100: update_friendinfo__Q33ipl5scene11AddressEditFv 99.42105 +[src/scene/address/iplAddressEdit] baseline: code 23344/27112 data 2560 functions 91 fuzzy 99.5528 +[src/scene/sdChannelSelect/iplSDChannelSelect] pool: IDENTICAL +[src/scene/sdChannelSelect/iplSDChannelSelect] objdiff: code 30344/33828 data 2960/2960 functions 123/129 fuzzy 99.7731 linked code 0 +[src/scene/sdChannelSelect/iplSDChannelSelect] instruction-exact functions: 123/129 +[src/scene/sdChannelSelect/iplSDChannelSelect] section .data size 2736 match 100.0 +[src/scene/sdChannelSelect/iplSDChannelSelect] section .rodata size 64 match 100.0 +[src/scene/sdChannelSelect/iplSDChannelSelect] section .sdata size 80 match 100.0 +[src/scene/sdChannelSelect/iplSDChannelSelect] section .sdata2 size 80 match 100.0 +[src/scene/sdChannelSelect/iplSDChannelSelect] section .text size 33828 match 99.77309 +[src/scene/sdChannelSelect/iplSDChannelSelect] below 100: create__Q33ipl5scene15SDChannelSelectFv 97.73972 +[src/scene/sdChannelSelect/iplSDChannelSelect] below 100: collectTitlesByUsage__Q33ipl5scene15SDChannelSelectFPClPClPUxPcPUl 97.81188 +[src/scene/sdChannelSelect/iplSDChannelSelect] below 100: collectTitlesFromNandUsage__Q33ipl5scene15SDChannelSelectFPClPClPUxPcPUl 97.833336 +[src/scene/sdChannelSelect/iplSDChannelSelect] below 100: collectTitlesByChannelOrder__Q33ipl5scene15SDChannelSelectFPClPClPUxPcPUl 98.007935 +[src/scene/sdChannelSelect/iplSDChannelSelect] below 100: collectTitlesBySpecialChannels__Q33ipl5scene15SDChannelSelectFPClPClPUxPcPUl 97.55125 +[src/scene/sdChannelSelect/iplSDChannelSelect] below 100: flushSaveDataAndMountSD__Q33ipl5scene15SDChannelSelectFv 99.65714 +[src/scene/sdChannelSelect/iplSDChannelSelect] baseline: code 30344/33828 data 2960 functions 123 fuzzy 99.7731 +regressions vs baseline: 0 +global matched_code_percent: 92.44372 -> 92.53480 +global fuzzy_match_percent: 99.73527 -> 99.73559 +global complete_code_percent: 76.18478 -> 76.18478 +global matched_data_percent: 99.78196 -> 99.78196 +forbidden patterns added (net, per file): 0 +readability warnings (net, per file; must be 0 in the final result): 0 +GATE PASS + +``` +Independent post-clean ctxdiff: src 0xaa8 base 0xaa8 insns 682/682, diffs 0. Pool identical 76/76. CellPhone instruction-exact 84/86 -> 85/86; matched code 14968 -> 17696; data 3860/3860. Full gate passes with no regressions, forbidden additions or readability warnings and required DOL SHA1. + +## CellPhone create + +Refetched origin before starting; source/header unchanged remotely. Target is 333 instructions, stack 0x60, two construction/animation loops and three texture snapshots. Only toggle-row r18 and animation byte offset r16 are swapped. Pool 76/76 and data 3860/3860. New tiPcKeyboard precedent suggests declaration/definition boundaries; prior table views, const resource inputs, whole animation helpers and declaration permutations are excluded. Existing TI_CELLPHONE_IMPLEMENTATION and TI_CELLPHONE_MATCH_LAYOUT are defined only by this source, so guarded header changes cannot affect another translation unit. No reload or uninitialized-path evidence supports qualifiers or uninitialized values. + +ATTEMPT {"label": "layout getter declared in header and defined inline in this source", "hash": "826e3e9b2fce", "unit": "src/keyboard/tiCellPhone", "pool": 0, "functions": {"onKey__Q49textinput8keyboard13cellphonetype4BaseFUlPv": [100.0, 682, 682, 0], "create__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFP12MEMAllocator": [99.8949, 333, 333, 7]}, "drops": [], "code": "17696", "data": "3860"} + +ATTEMPT {"label": "toggle pane constructor defined inline beside layout creation", "hash": "8e0261e135be", "unit": "src/keyboard/tiCellPhone", "pool": 0, "functions": {"onKey__Q49textinput8keyboard13cellphonetype4BaseFUlPv": [100.0, 682, 682, 0], "create__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFP12MEMAllocator": [99.8949, 333, 333, 7]}, "drops": [], "code": "17696", "data": "3860"} + +ATTEMPT {"label": "both pane constructors defined inline beside layout creation", "hash": "f5e5a3f9dfcb", "unit": "src/keyboard/tiCellPhone", "pool": 0, "functions": {"onKey__Q49textinput8keyboard13cellphonetype4BaseFUlPv": [100.0, 682, 682, 0], "create__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFP12MEMAllocator": [99.8949, 333, 333, 7]}, "drops": [], "code": "17696", "data": "3860"} + +Getter/constructor declaration boundaries did not resolve the seven toggle-loop operands. Next boundary is a const reference to the complete animation table, matching the successful keyset ownership change while preserving independently reloaded row fields. No metadata changes. + +ATTEMPT {"label": "toggle resource names and ids use independent descriptor accessor calls", "hash": "dd6d7cfb6fe9", "unit": "src/keyboard/tiCellPhone", "pool": 0, "functions": {"onKey__Q49textinput8keyboard13cellphonetype4BaseFUlPv": [100.0, 682, 682, 0], "create__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFP12MEMAllocator": [99.8949, 333, 333, 7]}, "drops": [], "code": "17696", "data": "3860"} + +ATTEMPT {"label": "toggle animation descriptor owns filename and animation accessors", "hash": "07a960fa68ea", "unit": "src/keyboard/tiCellPhone", "pool": 0, "functions": {"onKey__Q49textinput8keyboard13cellphonetype4BaseFUlPv": [100.0, 682, 682, 0], "create__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFP12MEMAllocator": [99.8949, 333, 333, 7]}, "drops": [], "code": "17696", "data": "3860"} + +ATTEMPT {"label": "toggle pane descriptor comes from const row accessor", "hash": "2382b82f734e", "unit": "src/keyboard/tiCellPhone", "pool": 0, "functions": {"onKey__Q49textinput8keyboard13cellphonetype4BaseFUlPv": [100.0, 682, 682, 0], "create__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFP12MEMAllocator": [99.66967, 333, 333, 21]}, "drops": [], "code": "17696", "data": "3860"} + +ATTEMPT {"label": "toggle pane construction and binding own member helper", "hash": "cbc324a1fe10", "unit": "src/keyboard/tiCellPhone", "pool": 0, "functions": {"onKey__Q49textinput8keyboard13cellphonetype4BaseFUlPv": [100.0, 682, 682, 0], "create__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFP12MEMAllocator": [98.31832, 333, 333, 90]}, "drops": [], "code": "17696", "data": "3860"} + +ATTEMPT {"label": "normal pane construction and binding own member helper", "hash": "5239ac30b2d7", "unit": "src/keyboard/tiCellPhone", "pool": 0, "functions": {"onKey__Q49textinput8keyboard13cellphonetype4BaseFUlPv": [100.0, 682, 682, 0], "create__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFP12MEMAllocator": [98.093094, 333, 333, 121]}, "drops": [], "code": "17696", "data": "3860"} + +ATTEMPT {"label": "normal and toggle pane loops own separate member helpers", "hash": "5ab768a13034", "unit": "src/keyboard/tiCellPhone", "pool": 0, "functions": {"onKey__Q49textinput8keyboard13cellphonetype4BaseFUlPv": [100.0, 682, 682, 0], "create__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFP12MEMAllocator": [97.53754, 333, 333, 142]}, "drops": [], "code": "17696", "data": "3860"} + +## SignWindow create + +Origin refetched; SignWindow source and headers unchanged. Target frame 0x50 and 221 instructions, switch over pane type with three typed allocations, append, snapshot force name/count, and animation-resource loop, then init. Source differs only at six operands: count r22 versus target r31, and pointer-slot base r31 versus target r22. New inline accessor/constructor declaration boundaries are distinct from earlier slot-view, count-wrapper and whole inner-loop helpers. No qualifier or uninitialized-value evidence. + +ATTEMPT {"label": "sign layout getter has source-level inline definition", "hash": "d26315c3d30f", "unit": "src/keyboard/tiSignWindow", "pool": 0, "functions": {"create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator": [99.86425, 221, 221, 6]}, "drops": [], "code": "6300", "data": "3468"} + +ATTEMPT {"label": "sign button constructor has inline definition next to creation", "hash": "c15b76d3871f", "unit": "src/keyboard/tiSignWindow", "pool": 0, "functions": {"create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator": [99.86425, 221, 221, 6]}, "drops": [], "code": "6300", "data": "3468"} + +ATTEMPT {"label": "sign all concrete constructors has inline definition next to creation", "hash": "604b3beaac54", "unit": "src/keyboard/tiSignWindow", "pool": 0, "functions": {"create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator": [99.86425, 221, 221, 6]}, "drops": [], "code": "6300", "data": "3468"} + +ATTEMPT {"label": "sign descriptor owns its animation-count accessor", "hash": "724f60ecafa4", "unit": "src/keyboard/tiSignWindow", "pool": 0, "functions": {"create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator": [99.86425, 221, 221, 6]}, "drops": [], "code": "6300", "data": "3468"} + +ATTEMPT {"label": "sign descriptor owns a reference-returning animation accessor", "hash": "39c05000fcbc", "unit": "src/keyboard/tiSignWindow", "pool": 0, "functions": {"create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator": [99.86425, 221, 221, 6]}, "drops": [], "code": "6300", "data": "3468"} + +ATTEMPT {"label": "sign descriptor owns all loop-control and slot accessors", "hash": "bdb4baac9c4d", "unit": "src/keyboard/tiSignWindow", "pool": 0, "functions": {"create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator": [99.86425, 221, 221, 6]}, "drops": [], "code": "6300", "data": "3468"} + +ATTEMPT {"label": "sign complete pane-creation loop owns inline member helper", "hash": "15e5275a8aba", "unit": "src/keyboard/tiSignWindow", "pool": 0, "functions": {"create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator": [98.66516, 221, 221, 54]}, "drops": [], "code": "6300", "data": "3468"} + +ATTEMPT {"label": "sign count snapshot belongs to descriptor query and inner scope", "hash": "ae3bd9b31b68", "unit": "src/keyboard/tiSignWindow", "pool": 0, "functions": {"create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator": [98.8914, 221, 221, 46]}, "drops": [], "code": "6300", "data": "3468"} + +ATTEMPT {"label": "sign descriptor separately reads resource name and id at each call", "hash": "1fea9aa866c5", "unit": "src/keyboard/tiSignWindow", "pool": 0, "functions": {"create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator": [99.117645, 221, 221, 34]}, "drops": [], "code": "6300", "data": "3468"} + +## Focused-round coverage + +Latest user request narrowed this max round to the closest 2-3 functions. Three functions received new source trials, excluding the resumed a23x candidate from the trial count. onKey: seven new trials, seventh exact. CellPhone create: nine new trials, no exact; final register swap unchanged at seven operands. SignWindow create: nine new trials, no exact; final count/slot swap unchanged at six operands. No trial is a compiler flag sweep, pragma, volatile/uninitialized addition, symbol extent change or arbitrary data placement. All rejected experiments are restored. Only onKey source changes remain, committed as 58b89a3a. + +The other 19 original open functions were not re-tried under the explicit 2-3-function focus. Their existing three-or-more-trial evidence remains in a23x/a23h2/u2. Final open inventory and full gate below cover all nine owned units. No code or data edits outside the selected onKey implementation survive. All 31,204 data bytes matched at baseline; no missing-symbol or extent correction is supported. + +Origin advanced to 49be1c79 during the round, changing only BS2Mach data. The branch is based on 5473a84f; no worker rebase or merge was performed. Parent must revalidate on current main. + +## Final full clean gate + +```text +full build: ok +main.dol sha1: 26116613f624061ba99c8d1a299aaa6efa85670d +[src/keyboard/tiCandidateBox] pool: IDENTICAL +[src/keyboard/tiCandidateBox] objdiff: code 21728/24000 data 4652/4652 functions 110/112 fuzzy 99.7107 linked code 0 +[src/keyboard/tiCandidateBox] instruction-exact functions: 109/112 +[src/keyboard/tiCandidateBox] section .ctors size 4 match 100.0 +[src/keyboard/tiCandidateBox] section .data size 3488 match 100.0 +[src/keyboard/tiCandidateBox] section .rodata size 1048 match 100.0 +[src/keyboard/tiCandidateBox] section .sdata size 32 match 100.0 +[src/keyboard/tiCandidateBox] section .sdata2 size 80 match 100.0 +[src/keyboard/tiCandidateBox] section .text size 24000 match 99.71067 +[src/keyboard/tiCandidateBox] below 100: create__Q39textinput12candidatebox12LayoutByNW4RFP12MEMAllocator 95.99148 +[src/keyboard/tiCandidateBox] below 100: createAnmPane___Q39textinput12candidatebox12LayoutByNW4RFP12MEMAllocator 98.49537 +[src/keyboard/tiCandidateBox] baseline: code 21728/24000 data 4652 functions 110 fuzzy 99.7107 +[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 17696/19028 data 3860/3860 functions 85/86 fuzzy 99.9926 linked code 0 +[src/keyboard/tiCellPhone] instruction-exact functions: 85/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.992645 +[src/keyboard/tiCellPhone] below 100: create__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFP12MEMAllocator 99.8949 +[src/keyboard/tiCellPhone] baseline: code 14968/19028 data 3860 functions 84 fuzzy 99.9453 +[src/keyboard/tiZiString] pool: IDENTICAL +[src/keyboard/tiZiString] objdiff: code 3136/5504 data 7680/7680 functions 26/29 fuzzy 98.3241 linked code 0 +[src/keyboard/tiZiString] instruction-exact functions: 26/29 +[src/keyboard/tiZiString] section .bss size 7296 match 100.0 +[src/keyboard/tiZiString] section .data size 328 match 100.0 +[src/keyboard/tiZiString] section .rodata size 56 match 100.0 +[src/keyboard/tiZiString] section .text size 5504 match 98.32413 +[src/keyboard/tiZiString] below 100: clearCandidates__Q39textinput8tistring6WithZiFv 93.28395 +[src/keyboard/tiZiString] below 100: update__Q39textinput8tistring6WithZiFv 97.4574 +[src/keyboard/tiZiString] below 100: setElementBuffer__Q39textinput8tistring6WithZiFv 90.33846 +[src/keyboard/tiZiString] baseline: code 3136/5504 data 7680 functions 26 fuzzy 98.3241 +[src/keyboard/tiString] pool: IDENTICAL +[src/keyboard/tiString] objdiff: code 4632/5176 data 288/288 functions 41/42 fuzzy 99.0286 linked code 0 +[src/keyboard/tiString] instruction-exact functions: 41/42 +[src/keyboard/tiString] section .data size 288 match 100.0 +[src/keyboard/tiString] section .text size 5176 match 99.028595 +[src/keyboard/tiString] below 100: inputChar__Q39textinput8tistring9DecolatedFw 90.757355 +[src/keyboard/tiString] baseline: code 4632/5176 data 288 functions 41 fuzzy 99.0286 +[src/keyboard/tiSignWindow] pool: IDENTICAL +[src/keyboard/tiSignWindow] objdiff: code 6300/7184 data 3468/3468 functions 55/56 fuzzy 99.9833 linked code 0 +[src/keyboard/tiSignWindow] instruction-exact functions: 55/56 +[src/keyboard/tiSignWindow] section .ctors size 4 match 100.0 +[src/keyboard/tiSignWindow] section .data size 2672 match 100.0 +[src/keyboard/tiSignWindow] section .rodata size 784 match 100.0 +[src/keyboard/tiSignWindow] section .sdata size 8 match 100.0 +[src/keyboard/tiSignWindow] section .text size 7184 match 99.9833 +[src/keyboard/tiSignWindow] below 100: create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator 99.86425 +[src/keyboard/tiSignWindow] baseline: code 6300/7184 data 3468 functions 55 fuzzy 99.9833 +[src/scene/address/iplAddress] pool: IDENTICAL +[src/scene/address/iplAddress] objdiff: code 22016/23988 data 1964/1964 functions 99/101 fuzzy 99.9233 linked code 0 +[src/scene/address/iplAddress] instruction-exact functions: 98/101 +[src/scene/address/iplAddress] section .ctors size 4 match 100.0 +[src/scene/address/iplAddress] section .data size 1880 match 100.0 +[src/scene/address/iplAddress] section .rodata size 24 match 100.0 +[src/scene/address/iplAddress] section .sbss size 8 match 100.0 +[src/scene/address/iplAddress] section .sdata size 16 match 100.0 +[src/scene/address/iplAddress] section .sdata2 size 32 match 100.0 +[src/scene/address/iplAddress] section .text size 23988 match 99.923294 +[src/scene/address/iplAddress] below 100: start_drag_event__Q33ipl5scene7AddressFPCcPCQ33ipl10controller9Interface 99.84305 +[src/scene/address/iplAddress] below 100: onEventDerived__Q33ipl5scene7AddressFUlUlPCQ33ipl10controller9Interface 98.42593 +[src/scene/address/iplAddress] baseline: code 22016/23988 data 1964 functions 99 fuzzy 99.9233 +[src/scene/address/iplAddressEdit] pool: IDENTICAL +[src/scene/address/iplAddressEdit] objdiff: code 23344/27112 data 2560/2560 functions 91/94 fuzzy 99.5528 linked code 0 +[src/scene/address/iplAddressEdit] instruction-exact functions: 91/94 +[src/scene/address/iplAddressEdit] section .bss size 320 match 100.0 +[src/scene/address/iplAddressEdit] section .data size 2152 match 100.0 +[src/scene/address/iplAddressEdit] section .rodata size 40 match 100.0 +[src/scene/address/iplAddressEdit] section .sdata size 24 match 100.0 +[src/scene/address/iplAddressEdit] section .sdata2 size 24 match 100.0 +[src/scene/address/iplAddressEdit] section .text size 27112 match 99.55282 +[src/scene/address/iplAddressEdit] below 100: create__Q33ipl5scene11AddressEditFv 97.5561 +[src/scene/address/iplAddressEdit] below 100: get_friendinfo__Q33ipl5scene11AddressEditFv 88.03571 +[src/scene/address/iplAddressEdit] below 100: update_friendinfo__Q33ipl5scene11AddressEditFv 99.42105 +[src/scene/address/iplAddressEdit] baseline: code 23344/27112 data 2560 functions 91 fuzzy 99.5528 +[src/scene/sdChannelSelect/iplSDChannelSelect] pool: IDENTICAL +[src/scene/sdChannelSelect/iplSDChannelSelect] objdiff: code 30344/33828 data 2960/2960 functions 123/129 fuzzy 99.7731 linked code 0 +[src/scene/sdChannelSelect/iplSDChannelSelect] instruction-exact functions: 123/129 +[src/scene/sdChannelSelect/iplSDChannelSelect] section .data size 2736 match 100.0 +[src/scene/sdChannelSelect/iplSDChannelSelect] section .rodata size 64 match 100.0 +[src/scene/sdChannelSelect/iplSDChannelSelect] section .sdata size 80 match 100.0 +[src/scene/sdChannelSelect/iplSDChannelSelect] section .sdata2 size 80 match 100.0 +[src/scene/sdChannelSelect/iplSDChannelSelect] section .text size 33828 match 99.77309 +[src/scene/sdChannelSelect/iplSDChannelSelect] below 100: create__Q33ipl5scene15SDChannelSelectFv 97.73972 +[src/scene/sdChannelSelect/iplSDChannelSelect] below 100: collectTitlesByUsage__Q33ipl5scene15SDChannelSelectFPClPClPUxPcPUl 97.81188 +[src/scene/sdChannelSelect/iplSDChannelSelect] below 100: collectTitlesFromNandUsage__Q33ipl5scene15SDChannelSelectFPClPClPUxPcPUl 97.833336 +[src/scene/sdChannelSelect/iplSDChannelSelect] below 100: collectTitlesByChannelOrder__Q33ipl5scene15SDChannelSelectFPClPClPUxPcPUl 98.007935 +[src/scene/sdChannelSelect/iplSDChannelSelect] below 100: collectTitlesBySpecialChannels__Q33ipl5scene15SDChannelSelectFPClPClPUxPcPUl 97.55125 +[src/scene/sdChannelSelect/iplSDChannelSelect] below 100: flushSaveDataAndMountSD__Q33ipl5scene15SDChannelSelectFv 99.65714 +[src/scene/sdChannelSelect/iplSDChannelSelect] baseline: code 30344/33828 data 2960 functions 123 fuzzy 99.7731 +regressions vs baseline: 0 +global matched_code_percent: 92.44372 -> 92.53480 +global fuzzy_match_percent: 99.73527 -> 99.73559 +global complete_code_percent: 76.18478 -> 76.18478 +global matched_data_percent: 99.78196 -> 99.78196 +forbidden patterns added (net, per file): 0 +readability warnings (net, per file; must be 0 in the final result): 0 +GATE PASS + +``` + +Final explicit ninja build/43U/ok and build/43U/report.json passed. Post-clean onKey ctxdiff gives 682/682 instructions and diffs 0. Pool 76/76 identical; SHA1 independently 26116613f624061ba99c8d1a299aaa6efa85670d. No source/header edits remain beyond committed onKey helpers. + +## Remaining functions + +OPEN start_drag_event__Q33ipl5scene7AddressFPCcPCQ33ipl10controller9Interface 99.84305%: icon versus pane saved registers; view trial moves discrepancy to index/pane. + +OPEN onEventDerived__Q33ipl5scene7AddressFUlUlPCQ33ipl10controller9Interface 98.42593%: saved-register roles across event arms. + +OPEN create__Q33ipl5scene11AddressEditFv 97.5561%: retained text address and balloon margin scheduling. + +OPEN get_friendinfo__Q33ipl5scene11AddressEditFv 88.03571%: text address rematerialized after virtual pane lookup. + +OPEN update_friendinfo__Q33ipl5scene11AddressEditFv 99.42105%: source/destination address scheduling. + +OPEN create__Q33ipl5scene15SDChannelSelectFv 97.73972%: BS2 manager reload folded by compiler. + +OPEN collectTitlesByUsage__Q33ipl5scene15SDChannelSelectFPClPClPUxPcPUl 97.81188%: count-store versus threshold-read scheduling. + +OPEN collectTitlesFromNandUsage__Q33ipl5scene15SDChannelSelectFPClPClPUxPcPUl 97.833336%: count-store versus threshold-read scheduling. + +OPEN collectTitlesByChannelOrder__Q33ipl5scene15SDChannelSelectFPClPClPUxPcPUl 98.007935%: count-store scheduling and channel address operands. + +OPEN collectTitlesBySpecialChannels__Q33ipl5scene15SDChannelSelectFPClPClPUxPcPUl 97.55125%: four count-store versus threshold-read schedules. + +OPEN flushSaveDataAndMountSD__Q33ipl5scene15SDChannelSelectFv 99.65714%: heap/save-manager load order. + +OPEN create__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFP12MEMAllocator 99.8949%: toggle row versus animation offset saved registers. + +OPEN calcCursorPos__Q39textinput9inputform4BaseFff 93.05215%: glyph dimension scheduling and FP register roles. + +OPEN create__Q39textinput9inputform12LayoutByNW4RFP12MEMAllocatorPQ39textinput9inputform10EditBuffer 96.40169%: row linkage and animation register allocation. + +OPEN create__Q39textinput12candidatebox12LayoutByNW4RFP12MEMAllocator 95.99148%: Scroll-name/child initialization lifetimes, current origin changes retained unchanged. + +OPEN createAnmPane___Q39textinput12candidatebox12LayoutByNW4RFP12MEMAllocator 98.49537%: pane/count/slot saved-register allocation. + +OPEN create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator 99.86425%: count versus animation-slot saved registers. + +OPEN inputChar__Q39textinput8tistring9DecolatedFw 90.757355%: Hangul builder branch folding and count/index operations. + +OPEN clearCandidates__Q39textinput8tistring6WithZiFv 93.28395%: separate static-buffer address materialization. + +OPEN update__Q39textinput8tistring6WithZiFv 97.4574%: buffer base handling and candidate-loop register lifetime. + +OPEN setElementBuffer__Q39textinput8tistring6WithZiFv 90.33846%: buffer base scheduling and copy-index registers. + +Instruction-exact total 844/870 -> 845/870; objdiff matched functions 848/870 -> 849/870; code 174396/196476 -> 177124/196476 bytes; data 31204/31204 -> 31204/31204. All other owned-unit measures match this round baseline. + +Uncertainty: four existing objdiff-versus-instruction-decoder discrepancies remain outside the new exact function. Source-only weak functions/objects and prior InputForm literal offsets are unchanged; symbol-paired data 100% is not a claim of raw-section or linked-unit completion. No linking flags were edited. Parent must independently verify before acceptance. -- 2.49.1