From f72e4281a85f75f04bcafd436a8009976a5d41d6 Mon Sep 17 00:00:00 2001 From: coah <100182500+coah80@users.noreply.github.com> Date: Fri, 2 Oct 2026 00:37:19 -0500 Subject: [PATCH 1/6] match(AXFXChorusExp 7/7) (near7f) (worker f241c3a9) (#737) --- libs/RVL_SDK/src/axfx/AXFXChorusExp.c | 46 +++--- .../sol-high-round2-oct2.attempts.jsonl | 135 ++++++++++++++++++ .../sol-high-round2-oct2.exact-ctxdiff.txt | 2 + .../sol-high-round2-oct2.final-gate.txt | 46 ++++++ .../sol-high-round2-oct2.report.md | 44 ++++++ 5 files changed, 254 insertions(+), 19 deletions(-) create mode 100644 tools/decomp-assist/sol-high-round2-oct2.attempts.jsonl create mode 100644 tools/decomp-assist/sol-high-round2-oct2.exact-ctxdiff.txt create mode 100644 tools/decomp-assist/sol-high-round2-oct2.final-gate.txt create mode 100644 tools/decomp-assist/sol-high-round2-oct2.report.md diff --git a/libs/RVL_SDK/src/axfx/AXFXChorusExp.c b/libs/RVL_SDK/src/axfx/AXFXChorusExp.c index 91633928..5b5123c5 100644 --- a/libs/RVL_SDK/src/axfx/AXFXChorusExp.c +++ b/libs/RVL_SDK/src/axfx/AXFXChorusExp.c @@ -157,8 +157,20 @@ void AXFXChorusExpCallback(AXFX_BUFFERUPDATE* update, AXFX_CHORUS_EXP* fx) { if (fx->delay.outPos >= fx->delay.sizeFP) fx->delay.outPos = 0; } } +static inline void chorus_gradient(AXFX_CHORUS_EXP_LFO* lfo, f32 depth, f32 step) { + depth /= step; + lfo->gradFactor = 65536.0f * depth; +} static BOOL __InitParams(AXFX_CHORUS_EXP* fx) { - f32 delay, depth, step; + f32 delay; + f32 depth; + f32 step; + u32 channel; + u32 sample; + s32 stepSamp; + s32 phaseAdd; + s32 depthSamp; + if (fx->delayTime < 0.1f || fx->delayTime > 50.0f) return FALSE; if (fx->depth < 0.0f || fx->depth > 1.0f) return FALSE; if (fx->rate < 0.1f || fx->rate > 2.0f) return FALSE; @@ -168,32 +180,28 @@ static BOOL __InitParams(AXFX_CHORUS_EXP* fx) { fx->lfo.table = __AXFXGetLfoSinTable(); delay = 32.0f * fx->delayTime; depth = delay * fx->depth; - if (delay <= depth) { + if (depth >= delay) { depth -= 1.0f; if (depth < 0.0f) depth = 0.0f; } - fx->lfo.depthSamp = 65536.0f * depth; - fx->lfo.phaseAdd = 65536.0f * (256.0f * fx->rate / 32000.0f); - step = (32000.0f / fx->rate) * (1.0f / 256.0f); - fx->lfo.stepSamp = 65536.0f * step; - fx->lfo.gradFactor = 65536.0f * (depth / step); fx->lfo.lastNum = -1; fx->lfo.phase = 0; fx->lfo.sign = 0; fx->lfo.lastValue = 0; fx->lfo.grad = 0; - fx->history[0][0] = 0.0f; - fx->history[0][1] = 0.0f; - fx->history[0][2] = 0.0f; - fx->history[0][3] = 0.0f; - fx->history[1][0] = 0.0f; - fx->history[1][1] = 0.0f; - fx->history[1][2] = 0.0f; - fx->history[1][3] = 0.0f; - fx->history[2][0] = 0.0f; - fx->history[2][1] = 0.0f; - fx->history[2][2] = 0.0f; - fx->history[2][3] = 0.0f; + depthSamp = 65536.0f * depth; + phaseAdd = 65536.0f * (256.0f * fx->rate / 32000.0f); + step = (32000.0f / fx->rate) / 256.0f; + stepSamp = 65536.0f * step; + fx->lfo.depthSamp = depthSamp; + fx->lfo.phaseAdd = phaseAdd; + fx->lfo.stepSamp = stepSamp; + chorus_gradient(&fx->lfo, depth, step); + for (channel = 0; channel < 3; channel++) { + for (sample = 0; sample < 4; sample++) { + fx->history[channel][sample] = 0.0f; + } + } fx->histIndex = 0; return TRUE; } diff --git a/tools/decomp-assist/sol-high-round2-oct2.attempts.jsonl b/tools/decomp-assist/sol-high-round2-oct2.attempts.jsonl new file mode 100644 index 00000000..338ed397 --- /dev/null +++ b/tools/decomp-assist/sol-high-round2-oct2.attempts.jsonl @@ -0,0 +1,135 @@ +{"event": "baseline", "head": "cb0716f7a56b7b7431aa7673a394b12780db63e8", "origin": "0b623f581bb359f058651f7ef858e0813200754d", "gate": "/tmp/sol-high-round2-baseline-gate.txt"} +{"event": "unit_baseline", "unit": "src/keyboard/tiPcKeyboard", "measures": {"fuzzy_match_percent": 99.985954, "total_code": "28484", "matched_code": "28064", "matched_code_percent": 98.52549, "total_data": "18564", "matched_data": "18548", "matched_data_percent": 99.91381, "total_functions": 141, "matched_functions": 140, "matched_functions_percent": 99.29078, "total_units": 1}, "open": [{"name": "setTranslateMode__Q49textinput8keyboard6pctype4BaseFQ59textinput8keyboard6pctype4Base13TranslateMode", "size": "420", "fuzzy_match_percent": 99.04762, "metadata": {"demangled_name": "textinput::keyboard::pctype::Base::setTranslateMode(textinput::keyboard::pctype::Base::TranslateMode)"}, "address": "3340"}]} +{"event": "unit_baseline", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "measures": {"fuzzy_match_percent": 93.598495, "total_code": "3716", "matched_code": "2276", "matched_code_percent": 61.248653, "matched_data_percent": 100.0, "total_functions": 20, "matched_functions": 18, "matched_functions_percent": 90.0, "complete_data_percent": 100.0, "total_units": 1}, "open": [{"name": "pdm_part_is_master_boot_sector", "size": "336", "fuzzy_match_percent": 86.5, "metadata": {}, "address": "0"}, {"name": "pdm_part_get_start_sector", "size": "1104", "fuzzy_match_percent": 82.56159, "metadata": {}, "address": "644"}]} +{"event": "unit_baseline", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "measures": {"fuzzy_match_percent": 94.35023, "total_code": "2684", "matched_code": "2180", "matched_code_percent": 81.22206, "total_data": "48", "matched_data": "48", "matched_data_percent": 100.0, "total_functions": 7, "matched_functions": 6, "matched_functions_percent": 85.71429, "total_units": 1}, "open": [{"name": "__InitParams", "size": "504", "fuzzy_match_percent": 69.9127, "metadata": {}, "address": "1920"}]} +{"event": "unit_baseline", "unit": "libs/RevoEX/src/net/aes", "measures": {"fuzzy_match_percent": 76.844475, "total_code": "2752", "matched_code": "1116", "matched_code_percent": 40.552326, "total_data": "2800", "matched_data": "2800", "matched_data_percent": 100.0, "total_functions": 9, "matched_functions": 7, "matched_functions_percent": 77.77778, "total_units": 1}, "open": [{"name": "AESiEncryptBlock", "size": "632", "fuzzy_match_percent": 60.348103, "metadata": {}, "address": "0"}, {"name": "AESiDecryptBlock", "size": "1004", "fuzzy_match_percent": 61.49004, "metadata": {}, "address": "632"}]} +{"event": "begin", "unit": "src/keyboard/tiPcKeyboard", "function": "setTranslateMode__Q49textinput8keyboard6pctype4BaseFQ59textinput8keyboard6pctype4Base13TranslateMode", "origin": "0b623f581bb359f058651f7ef858e0813200754d", "remote_source_identical": true, "diagnosis": "Baseline 106/105 instructions with identical 0x20 frame and branch tree. Extra mr r31,r30 initializes keyMode for invalid enum; investigate safe switch and helper boundaries before register allocation.", "fuzzy": 99.04762} +{"event": "pool", "unit": "src/keyboard/tiPcKeyboard", "output": "POOL IDENTICAL up to 204 (mine=204 base=204)\n"} +{"event": "attempt", "unit": "src/keyboard/tiPcKeyboard", "function": "setTranslateMode__Q49textinput8keyboard6pctype4BaseFQ59textinput8keyboard6pctype4Base13TranslateMode", "label": "map mode through a bounded table with original enum fallback", "compiled": true, "instructions": [99, 105], "structural": 13, "positional": 95, "fuzzy": 89.47619, "pool": 0, "regressions": ["main/src/keyboard/tiPcKeyboard:setTranslateMode__Q49textinput8keyboard6pctype12LayoutByNW4RFQ59textinput8keyboard6pctype4Base13TranslateMode"], "measures": {"fuzzy_match_percent": 98.62646, "total_code": "28484", "matched_code": "27408", "matched_code_percent": 96.22244, "total_data": "18564", "matched_data": "12732", "matched_data_percent": 68.58436, "total_functions": 141, "matched_functions": 139, "matched_functions_percent": 98.58156, "total_units": 1}, "context": "/tmp/sol-high-round2-context-1.txt"} +{"event": "attempt", "unit": "src/keyboard/tiPcKeyboard", "function": "setTranslateMode__Q49textinput8keyboard6pctype4BaseFQ59textinput8keyboard6pctype4Base13TranslateMode", "label": "preserve original mode separately and map parameter through switch", "compiled": true, "instructions": [103, 105], "structural": 7, "positional": 40, "fuzzy": 94.75238, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 99.92262, "total_code": "28484", "matched_code": "28064", "matched_code_percent": 98.52549, "total_data": "18564", "matched_data": "18548", "matched_data_percent": 99.91381, "total_functions": 141, "matched_functions": 140, "matched_functions_percent": 99.29078, "total_units": 1}, "context": "/tmp/sol-high-round2-context-2.txt"} +{"event": "attempt", "unit": "src/keyboard/tiPcKeyboard", "function": "setTranslateMode__Q49textinput8keyboard6pctype4BaseFQ59textinput8keyboard6pctype4Base13TranslateMode", "label": "explicit sequential branches with defined fallback", "compiled": true, "instructions": [103, 105], "structural": 18, "positional": 96, "fuzzy": 92.942856, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 99.89594, "total_code": "28484", "matched_code": "28064", "matched_code_percent": 98.52549, "total_data": "18564", "matched_data": "18548", "matched_data_percent": 99.91381, "total_functions": 141, "matched_functions": 140, "matched_functions_percent": 99.29078, "total_units": 1}, "context": "/tmp/sol-high-round2-context-3.txt"} +{"event": "attempt", "unit": "src/keyboard/tiPcKeyboard", "function": "setTranslateMode__Q49textinput8keyboard6pctype4BaseFQ59textinput8keyboard6pctype4Base13TranslateMode", "label": "restore defined baseline; target default uses unwritten callee-saved value, register search cannot remove semantic fallback", "compiled": true, "instructions": [106, 105], "structural": 1, "positional": 99, "fuzzy": 99.04762, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 99.985954, "total_code": "28484", "matched_code": "28064", "matched_code_percent": 98.52549, "total_data": "18564", "matched_data": "18548", "matched_data_percent": 99.91381, "total_functions": 141, "matched_functions": 140, "matched_functions_percent": 99.29078, "total_units": 1}, "context": "/tmp/sol-high-round2-context-4.txt"} +{"event": "begin", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "origin": "0b623f581bb359f058651f7ef858e0813200754d", "remote_source_identical": true, "diagnosis": "126/126 instructions, frame 0x30; target compares depth>=delay, delays four float conversions and history stores, and reuses depth for gradient quotient. Examine reset order, period expression and conversion temporaries before declarations.", "fuzzy": 69.9127} +{"event": "pool", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "output": "POOL IDENTICAL up to 0 (mine=0 base=0)\n"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "label": "reproduce prior nearest structure: reversed comparison, resets before conversions and nested history loops", "compiled": true, "instructions": [126, 126], "structural": 2, "positional": 16, "fuzzy": 97.81746, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 99.590164, "total_code": "2684", "matched_code": "2180", "matched_code_percent": 81.22206, "total_data": "48", "matched_data": "48", "matched_data_percent": 100.0, "total_functions": 7, "matched_functions": 6, "matched_functions_percent": 85.71429, "total_units": 1}, "context": "/tmp/sol-high-round2-context-5.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "label": "named integer conversions followed by parameter stores", "compiled": true, "instructions": [126, 126], "structural": 4, "positional": 22, "fuzzy": 95.61905, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 99.177345, "total_code": "2684", "matched_code": "2180", "matched_code_percent": 81.22206, "total_data": "48", "matched_data": "48", "matched_data_percent": 100.0, "total_functions": 7, "matched_functions": 6, "matched_functions_percent": 85.71429, "total_units": 1}, "context": "/tmp/sol-high-round2-context-6.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "label": "named scaled depth with gradient quotient in depth variable before phase calculation", "compiled": true, "instructions": [126, 126], "structural": 4, "positional": 23, "fuzzy": 98.13492, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 99.64977, "total_code": "2684", "matched_code": "2180", "matched_code_percent": 81.22206, "total_data": "48", "total_functions": 7, "matched_functions": 6, "matched_functions_percent": 85.71429, "total_units": 1}, "context": "/tmp/sol-high-round2-context-7.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "label": "phase numerator and gradient quotient named before conversions", "compiled": true, "instructions": [126, 126], "structural": 11, "positional": 31, "fuzzy": 94.51588, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 98.97019, "total_code": "2684", "matched_code": "2180", "matched_code_percent": 81.22206, "total_data": "48", "total_functions": 7, "matched_functions": 6, "matched_functions_percent": 85.71429, "total_units": 1}, "context": "/tmp/sol-high-round2-context-8.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "label": "restore nearest valid seed for scheduling investigation", "compiled": true, "instructions": [126, 126], "structural": 2, "positional": 16, "fuzzy": 97.81746, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 99.590164, "total_code": "2684", "matched_code": "2180", "matched_code_percent": 81.22206, "total_data": "48", "matched_data": "48", "matched_data_percent": 100.0, "total_functions": 7, "matched_functions": 6, "matched_functions_percent": 85.71429, "total_units": 1}, "context": "/tmp/sol-high-round2-context-9.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "label": "phase/step/depth quotient statement schedule DSPQTG", "compiled": true, "instructions": [126, 126], "structural": 6, "positional": 31, "fuzzy": 97.53968, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 99.538, "total_code": "2684", "matched_code": "2180", "matched_code_percent": 81.22206, "total_data": "48", "total_functions": 7, "matched_functions": 6, "matched_functions_percent": 85.71429, "total_units": 1}, "context": "/tmp/sol-high-round2-context-10.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "label": "phase/step/depth quotient statement schedule DSQPTG", "compiled": true, "instructions": [126, 126], "structural": 6, "positional": 31, "fuzzy": 97.53968, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 99.538, "total_code": "2684", "matched_code": "2180", "matched_code_percent": 81.22206, "total_data": "48", "total_functions": 7, "matched_functions": 6, "matched_functions_percent": 85.71429, "total_units": 1}, "context": "/tmp/sol-high-round2-context-11.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "label": "phase/step/depth quotient statement schedule SDQPTG", "compiled": true, "instructions": [126, 126], "structural": 6, "positional": 28, "fuzzy": 97.65873, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 99.560356, "total_code": "2684", "matched_code": "2180", "matched_code_percent": 81.22206, "total_data": "48", "total_functions": 7, "matched_functions": 6, "matched_functions_percent": 85.71429, "total_units": 1}, "context": "/tmp/sol-high-round2-context-12.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "label": "phase/step/depth quotient statement schedule SPDQGT", "compiled": true, "instructions": [126, 126], "structural": 7, "positional": 25, "fuzzy": 97.666664, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 99.56185, "total_code": "2684", "matched_code": "2180", "matched_code_percent": 81.22206, "total_data": "48", "total_functions": 7, "matched_functions": 6, "matched_functions_percent": 85.71429, "total_units": 1}, "context": "/tmp/sol-high-round2-context-13.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "label": "phase/step/depth quotient statement schedule DSPTQG", "compiled": true, "instructions": [126, 126], "structural": 6, "positional": 31, "fuzzy": 97.53968, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 99.538, "total_code": "2684", "matched_code": "2180", "matched_code_percent": 81.22206, "total_data": "48", "total_functions": 7, "matched_functions": 6, "matched_functions_percent": 85.71429, "total_units": 1}, "context": "/tmp/sol-high-round2-context-14.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "label": "phase/step/depth quotient statement schedule SDPTQG", "compiled": true, "instructions": [126, 126], "structural": 6, "positional": 28, "fuzzy": 97.65873, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 99.560356, "total_code": "2684", "matched_code": "2180", "matched_code_percent": 81.22206, "total_data": "48", "total_functions": 7, "matched_functions": 6, "matched_functions_percent": 85.71429, "total_units": 1}, "context": "/tmp/sol-high-round2-context-15.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "label": "history traversal or zero-lifetime boundary signed", "compiled": true, "instructions": [126, 126], "structural": 2, "positional": 16, "fuzzy": 97.81746, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 99.590164, "total_code": "2684", "matched_code": "2180", "matched_code_percent": 81.22206, "total_data": "48", "matched_data": "48", "matched_data_percent": 100.0, "total_functions": 7, "matched_functions": 6, "matched_functions_percent": 85.71429, "total_units": 1}, "context": "/tmp/sol-high-round2-context-16.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "label": "history traversal or zero-lifetime boundary inner-scope", "compiled": true, "instructions": [126, 126], "structural": 2, "positional": 16, "fuzzy": 97.81746, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 99.590164, "total_code": "2684", "matched_code": "2180", "matched_code_percent": 81.22206, "total_data": "48", "matched_data": "48", "matched_data_percent": 100.0, "total_functions": 7, "matched_functions": 6, "matched_functions_percent": 85.71429, "total_units": 1}, "context": "/tmp/sol-high-round2-context-17.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "label": "history traversal or zero-lifetime boundary descending", "compiled": true, "instructions": [138, 126], "structural": 38, "positional": 71, "fuzzy": 82.769844, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 96.764534, "total_code": "2684", "matched_code": "2180", "matched_code_percent": 81.22206, "total_data": "48", "matched_data": "48", "matched_data_percent": 100.0, "total_functions": 7, "matched_functions": 6, "matched_functions_percent": 85.71429, "total_units": 1}, "context": "/tmp/sol-high-round2-context-18.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "label": "history traversal or zero-lifetime boundary explicit-zero", "compiled": true, "instructions": [126, 126], "structural": 2, "positional": 16, "fuzzy": 97.81746, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 99.590164, "total_code": "2684", "matched_code": "2180", "matched_code_percent": 81.22206, "total_data": "48", "matched_data": "48", "matched_data_percent": 100.0, "total_functions": 7, "matched_functions": 6, "matched_functions_percent": 85.71429, "total_units": 1}, "context": "/tmp/sol-high-round2-context-19.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "label": "retain nearest scheduled structure (2, 16)", "compiled": true, "instructions": [126, 126], "structural": 2, "positional": 16, "fuzzy": 97.81746, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 99.590164, "total_code": "2684", "matched_code": "2180", "matched_code_percent": 81.22206, "total_data": "48", "matched_data": "48", "matched_data_percent": 100.0, "total_functions": 7, "matched_functions": 6, "matched_functions_percent": 85.71429, "total_units": 1}, "context": "/tmp/sol-high-round2-context-20.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "label": "named gradient quotient and grad reset placement RSDQZPTG", "compiled": true, "instructions": [126, 126], "structural": 11, "positional": 31, "fuzzy": 94.51588, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 98.97019, "total_code": "2684", "matched_code": "2180", "matched_code_percent": 81.22206, "total_data": "48", "total_functions": 7, "matched_functions": 6, "matched_functions_percent": 85.71429, "total_units": 1}, "context": "/tmp/sol-high-round2-context-21.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "label": "named gradient quotient and grad reset placement RSDQPTZG", "compiled": true, "instructions": [126, 126], "structural": 11, "positional": 31, "fuzzy": 94.51588, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 98.97019, "total_code": "2684", "matched_code": "2180", "matched_code_percent": 81.22206, "total_data": "48", "total_functions": 7, "matched_functions": 6, "matched_functions_percent": 85.71429, "total_units": 1}, "context": "/tmp/sol-high-round2-context-22.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "label": "named gradient quotient and grad reset placement RZSDQPTG", "compiled": true, "instructions": [126, 126], "structural": 11, "positional": 31, "fuzzy": 94.51588, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 98.97019, "total_code": "2684", "matched_code": "2180", "matched_code_percent": 81.22206, "total_data": "48", "total_functions": 7, "matched_functions": 6, "matched_functions_percent": 85.71429, "total_units": 1}, "context": "/tmp/sol-high-round2-context-23.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "label": "named gradient quotient and grad reset placement SRZDQPTG", "compiled": true, "instructions": [126, 126], "structural": 11, "positional": 31, "fuzzy": 94.51588, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 98.97019, "total_code": "2684", "matched_code": "2180", "matched_code_percent": 81.22206, "total_data": "48", "total_functions": 7, "matched_functions": 6, "matched_functions_percent": 85.71429, "total_units": 1}, "context": "/tmp/sol-high-round2-context-24.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "label": "named gradient quotient and grad reset placement RSDZQPTG", "compiled": true, "instructions": [126, 126], "structural": 11, "positional": 31, "fuzzy": 94.51588, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 98.97019, "total_code": "2684", "matched_code": "2180", "matched_code_percent": 81.22206, "total_data": "48", "total_functions": 7, "matched_functions": 6, "matched_functions_percent": 85.71429, "total_units": 1}, "context": "/tmp/sol-high-round2-context-25.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "label": "named gradient quotient and grad reset placement RZSDPQTG", "compiled": true, "instructions": [126, 126], "structural": 11, "positional": 30, "fuzzy": 94.51588, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 98.97019, "total_code": "2684", "matched_code": "2180", "matched_code_percent": 81.22206, "total_data": "48", "total_functions": 7, "matched_functions": 6, "matched_functions_percent": 85.71429, "total_units": 1}, "context": "/tmp/sol-high-round2-context-26.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "label": "named gradient quotient and grad reset placement RSDPQZTG", "compiled": true, "instructions": [126, 126], "structural": 11, "positional": 30, "fuzzy": 94.51588, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 98.97019, "total_code": "2684", "matched_code": "2180", "matched_code_percent": 81.22206, "total_data": "48", "total_functions": 7, "matched_functions": 6, "matched_functions_percent": 85.71429, "total_units": 1}, "context": "/tmp/sol-high-round2-context-27.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "label": "named gradient quotient and grad reset placement RZSDPTQG", "compiled": true, "instructions": [126, 126], "structural": 11, "positional": 30, "fuzzy": 94.51588, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 98.97019, "total_code": "2684", "matched_code": "2180", "matched_code_percent": 81.22206, "total_data": "48", "total_functions": 7, "matched_functions": 6, "matched_functions_percent": 85.71429, "total_units": 1}, "context": "/tmp/sol-high-round2-context-28.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "label": "named gradient quotient and grad reset placement RZSDQTGP", "compiled": true, "instructions": [126, 126], "structural": 13, "positional": 32, "fuzzy": 92.90476, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 98.66766, "total_code": "2684", "matched_code": "2180", "matched_code_percent": 81.22206, "total_data": "48", "total_functions": 7, "matched_functions": 6, "matched_functions_percent": 85.71429, "total_units": 1}, "context": "/tmp/sol-high-round2-context-29.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "label": "named gradient quotient and grad reset placement RSDQPZTG", "compiled": true, "instructions": [126, 126], "structural": 11, "positional": 31, "fuzzy": 94.51588, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 98.97019, "total_code": "2684", "matched_code": "2180", "matched_code_percent": 81.22206, "total_data": "48", "total_functions": 7, "matched_functions": 6, "matched_functions_percent": 85.71429, "total_units": 1}, "context": "/tmp/sol-high-round2-context-30.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "label": "named gradient quotient and grad reset placement SDQRZPTG", "compiled": true, "instructions": [126, 126], "structural": 11, "positional": 29, "fuzzy": 94.59524, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 98.9851, "total_code": "2684", "matched_code": "2180", "matched_code_percent": 81.22206, "total_data": "48", "total_functions": 7, "matched_functions": 6, "matched_functions_percent": 85.71429, "total_units": 1}, "context": "/tmp/sol-high-round2-context-31.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "label": "named gradient quotient and grad reset placement RSDQPTGZ", "compiled": true, "instructions": [126, 126], "structural": 11, "positional": 31, "fuzzy": 94.51588, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 98.97019, "total_code": "2684", "matched_code": "2180", "matched_code_percent": 81.22206, "total_data": "48", "total_functions": 7, "matched_functions": 6, "matched_functions_percent": 85.71429, "total_units": 1}, "context": "/tmp/sol-high-round2-context-32.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "label": "retain gradient scheduling best (2, 16)", "compiled": true, "instructions": [126, 126], "structural": 2, "positional": 16, "fuzzy": 97.81746, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 99.590164, "total_code": "2684", "matched_code": "2180", "matched_code_percent": 81.22206, "total_data": "48", "matched_data": "48", "matched_data_percent": 100.0, "total_functions": 7, "matched_functions": 6, "matched_functions_percent": 85.71429, "total_units": 1}, "context": "/tmp/sol-high-round2-context-33.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "label": "inline LFO state reset helper", "compiled": true, "instructions": [126, 126], "structural": 2, "positional": 16, "fuzzy": 97.81746, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 99.590164, "total_code": "2684", "matched_code": "2180", "matched_code_percent": 81.22206, "total_data": "48", "matched_data": "48", "matched_data_percent": 100.0, "total_functions": 7, "matched_functions": 6, "matched_functions_percent": 85.71429, "total_units": 1}, "context": "/tmp/sol-high-round2-context-34.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "label": "inline history reset helper with pointer parameter", "compiled": true, "instructions": [126, 126], "structural": 2, "positional": 16, "fuzzy": 97.81746, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 99.590164, "total_code": "2684", "matched_code": "2180", "matched_code_percent": 81.22206, "total_data": "48", "matched_data": "48", "matched_data_percent": 100.0, "total_functions": 7, "matched_functions": 6, "matched_functions_percent": 85.71429, "total_units": 1}, "context": "/tmp/sol-high-round2-context-35.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "label": "inline gradient scale helper mutating its depth argument", "compiled": true, "instructions": [126, 126], "structural": 0, "positional": 21, "fuzzy": 99.12698, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 99.83607, "total_code": "2684", "matched_code": "2180", "matched_code_percent": 81.22206, "total_data": "48", "matched_data": "48", "matched_data_percent": 100.0, "total_functions": 7, "matched_functions": 6, "matched_functions_percent": 85.71429, "total_units": 1}, "context": "/tmp/sol-high-round2-context-36.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "label": "same history traversal using f32 row pointers", "compiled": true, "instructions": [126, 126], "structural": 2, "positional": 16, "fuzzy": 97.81746, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 99.590164, "total_code": "2684", "matched_code": "2180", "matched_code_percent": 81.22206, "total_data": "48", "matched_data": "48", "matched_data_percent": 100.0, "total_functions": 7, "matched_functions": 6, "matched_functions_percent": 85.71429, "total_units": 1}, "context": "/tmp/sol-high-round2-context-37.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "label": "retain nearest partial helper structure (0, 21)", "compiled": true, "instructions": [126, 126], "structural": 0, "positional": 21, "fuzzy": 99.12698, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 99.83607, "total_code": "2684", "matched_code": "2180", "matched_code_percent": 81.22206, "total_data": "48", "matched_data": "48", "matched_data_percent": 100.0, "total_functions": 7, "matched_functions": 6, "matched_functions_percent": 85.71429, "total_units": 1}, "context": "/tmp/sol-high-round2-context-38.txt"} +{"event": "declaration_search", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "output": "declaration block:\n f32 delay;\n f32 depth;\n f32 step;\n u32 channel;\n u32 sample;\nstart (0, 21)\nbest (0, 21) after 23 builds; source restored; best order was:\n f32 delay;\n f32 depth;\n f32 step;\n u32 channel;\n u32 sample;\n", "reason": "instruction sequence now structurally identical; optimize remaining floating and integer registers last"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "label": "split and search five independent leading declarations after gradient helper yields structural zero", "compiled": true, "instructions": [126, 126], "structural": 0, "positional": 21, "fuzzy": 99.12698, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 99.83607, "total_code": "2684", "matched_code": "2180", "matched_code_percent": 81.22206, "total_data": "48", "matched_data": "48", "matched_data_percent": 100.0, "total_functions": 7, "matched_functions": 6, "matched_functions_percent": 85.71429, "total_units": 1}, "context": "/tmp/sol-high-round2-context-39.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "label": "reverse inline helper parameter declaration order", "compiled": true, "instructions": [126, 126], "structural": 0, "positional": 21, "fuzzy": 99.12698, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 99.83607, "total_code": "2684", "matched_code": "2180", "matched_code_percent": 81.22206, "total_data": "48", "matched_data": "48", "matched_data_percent": 100.0, "total_functions": 7, "matched_functions": 6, "matched_functions_percent": 85.71429, "total_units": 1}, "context": "/tmp/sol-high-round2-context-40.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "label": "inline helper updates original depth through pointer", "compiled": true, "instructions": [126, 126], "structural": 15, "positional": 29, "fuzzy": 87.35714, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 97.62593, "total_code": "2684", "matched_code": "2180", "matched_code_percent": 81.22206, "total_data": "48", "matched_data": "48", "matched_data_percent": 100.0, "total_functions": 7, "matched_functions": 6, "matched_functions_percent": 85.71429, "total_units": 1}, "context": "/tmp/sol-high-round2-context-41.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "label": "inline helper scales and stores gradient through LFO field pointer", "compiled": true, "instructions": [126, 126], "structural": 0, "positional": 12, "fuzzy": 99.52381, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 99.91058, "total_code": "2684", "matched_code": "2180", "matched_code_percent": 81.22206, "total_data": "48", "matched_data": "48", "matched_data_percent": 100.0, "total_functions": 7, "matched_functions": 6, "matched_functions_percent": 85.71429, "total_units": 1}, "context": "/tmp/sol-high-round2-context-42.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "label": "inline helper returns scaled quotient via an explicit result", "compiled": true, "instructions": [126, 126], "structural": 7, "positional": 22, "fuzzy": 92.77778, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 98.643814, "total_code": "2684", "matched_code": "2180", "matched_code_percent": 81.22206, "total_data": "48", "matched_data": "48", "matched_data_percent": 100.0, "total_functions": 7, "matched_functions": 6, "matched_functions_percent": 85.71429, "total_units": 1}, "context": "/tmp/sol-high-round2-context-43.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "label": "retain helper color best (0, 12)", "compiled": true, "instructions": [126, 126], "structural": 0, "positional": 12, "fuzzy": 99.52381, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 99.91058, "total_code": "2684", "matched_code": "2180", "matched_code_percent": 81.22206, "total_data": "48", "matched_data": "48", "matched_data_percent": 100.0, "total_functions": 7, "matched_functions": 6, "matched_functions_percent": 85.71429, "total_units": 1}, "context": "/tmp/sol-high-round2-context-44.txt"} +{"event": "declaration_search", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "output": "declaration block:\n f32 delay;\n f32 depth;\n f32 step;\n u32 channel;\n u32 sample;\nstart (0, 12)\nbest (0, 12) after 23 builds; source restored; best order was:\n f32 delay;\n f32 depth;\n f32 step;\n u32 channel;\n u32 sample;\n", "reason": "inline gradient field writer reduced all floating differences, register-only final search"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "label": "declaration search with inline gradient field writer", "compiled": true, "instructions": [126, 126], "structural": 0, "positional": 12, "fuzzy": 99.52381, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 99.91058, "total_code": "2684", "matched_code": "2180", "matched_code_percent": 81.22206, "total_data": "48", "matched_data": "48", "matched_data_percent": 100.0, "total_functions": 7, "matched_functions": 6, "matched_functions_percent": 85.71429, "total_units": 1}, "context": "/tmp/sol-high-round2-context-45.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "label": "integer lifetimes after structural match named3", "compiled": true, "instructions": [126, 126], "structural": 0, "positional": 4, "fuzzy": 99.84127, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 99.97019, "total_code": "2684", "matched_code": "2180", "matched_code_percent": 81.22206, "total_data": "48", "matched_data": "48", "matched_data_percent": 100.0, "total_functions": 7, "matched_functions": 6, "matched_functions_percent": 85.71429, "total_units": 1}, "context": "/tmp/sol-high-round2-context-46.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "label": "integer lifetimes after structural match named4", "compiled": false, "error": "[1/1] MWCC build/43U/src/libs/RVL_SDK/src/axfx/AXFXChorusExp.o\nFAILED: [code=2] build/43U/src/libs/RVL_SDK/src/axfx/AXFXChorusExp.o \nbuild/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 -ipa file -fp_contract off -lang=c -MMD -c libs/RVL_SDK/src/axfx/AXFXChorusExp.c -o build/43U/src/libs/RVL_SDK/src/axfx && \"/usr/bin/python3\" tools/transform_dep.py build/43U/src/libs/RVL_SDK/src/axfx/AXFXChorusExp.d build/43U/src/libs/RVL_SDK/src/axfx/AXFXChorusExp.d\n### mwcceppc.exe Compiler:\n# File: libs\\RVL_SDK\\src\\axfx\\AXFXChorusExp.c\n# ----------------------------------------------\n# 11: fx->lfo.depthSamp = depthSamp; \n# Error: ^^^^^^^^^\n# (10140) undefined identifier 'depthSamp'\n# Too many errors printed, aborting program\n\nUser break, cancelled...\nninja: build stopped: subcommand failed.\n"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "label": "integer lifetimes after structural match zerohelper", "compiled": true, "instructions": [126, 126], "structural": 0, "positional": 12, "fuzzy": 99.52381, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 99.91058, "total_code": "2684", "matched_code": "2180", "matched_code_percent": 81.22206, "total_data": "48", "matched_data": "48", "matched_data_percent": 100.0, "total_functions": 7, "matched_functions": 6, "matched_functions_percent": 85.71429, "total_units": 1}, "context": "/tmp/sol-high-round2-context-48.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "label": "integer lifetimes after structural match statehelper", "compiled": true, "instructions": [126, 126], "structural": 8, "positional": 56, "fuzzy": 93.57143, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 98.79285, "total_code": "2684", "matched_code": "2180", "matched_code_percent": 81.22206, "total_data": "48", "matched_data": "48", "matched_data_percent": 100.0, "total_functions": 7, "matched_functions": 6, "matched_functions_percent": 85.71429, "total_units": 1}, "context": "/tmp/sol-high-round2-context-49.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "label": "integer lifetimes after structural match histhelper", "compiled": true, "instructions": [126, 126], "structural": 0, "positional": 12, "fuzzy": 99.52381, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 99.91058, "total_code": "2684", "matched_code": "2180", "matched_code_percent": 81.22206, "total_data": "48", "matched_data": "48", "matched_data_percent": 100.0, "total_functions": 7, "matched_functions": 6, "matched_functions_percent": 85.71429, "total_units": 1}, "context": "/tmp/sol-high-round2-context-50.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "label": "retain integer lifetime best (0, 4)", "compiled": true, "instructions": [126, 126], "structural": 0, "positional": 4, "fuzzy": 99.84127, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 99.97019, "total_code": "2684", "matched_code": "2180", "matched_code_percent": 81.22206, "total_data": "48", "matched_data": "48", "matched_data_percent": 100.0, "total_functions": 7, "matched_functions": 6, "matched_functions_percent": 85.71429, "total_units": 1}, "context": "/tmp/sol-high-round2-context-51.txt"} +{"event": "declaration_search", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "output": "declaration block:\n depth /= step;\n lfo->gradFactor = 65536.0f * depth;\n }\n static BOOL __InitParams(AXFX_CHORUS_EXP* fx) {\n f32 delay;\n f32 depth;\n f32 step;\n u32 channel;\nstart (0, 4)\nbest (0, 4) after 71 builds; source restored; best order was:\n depth /= step;\n lfo->gradFactor = 65536.0f * depth;\n}\nstatic BOOL __InitParams(AXFX_CHORUS_EXP* fx) {\n f32 delay;\n f32 depth;\n f32 step;\n u32 channel;\n", "reason": "only phase and step integer register swap remains"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "label": "declaration search over named integer conversions and leading locals", "compiled": true, "instructions": [126, 126], "structural": 0, "positional": 4, "fuzzy": 99.84127, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 99.97019, "total_code": "2684", "matched_code": "2180", "matched_code_percent": 81.22206, "total_data": "48", "matched_data": "48", "matched_data_percent": 100.0, "total_functions": 7, "matched_functions": 6, "matched_functions_percent": 85.71429, "total_units": 1}, "context": "/tmp/sol-high-round2-context-52.txt"} +{"event": "declaration_search", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "output": "declaration block:\n f32 delay;\n f32 depth;\n f32 step;\n u32 channel;\n u32 sample;\n s32 depthSamp;\n s32 phaseAdd;\n s32 stepSamp;\nstart (0, 4)\nimproved (0, 0)\nbest (0, 0) after 28 builds; kept in source:\n f32 delay;\n f32 depth;\n f32 step;\n u32 channel;\n u32 sample;\n s32 stepSamp;\n s32 phaseAdd;\n s32 depthSamp;\n", "reason": "scope corrected to eight real local declarations; last swap is depthSamp/stepSamp registers"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "label": "scoped independent integer conversion declaration search", "compiled": true, "instructions": [126, 126], "structural": 0, "positional": 0, "fuzzy": 100.0, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 100.0, "total_code": "2684", "matched_code": "2684", "matched_code_percent": 100.0, "total_data": "48", "matched_data": "48", "matched_data_percent": 100.0, "total_functions": 7, "matched_functions": 7, "matched_functions_percent": 100.0, "total_units": 1}, "context": "/tmp/sol-high-round2-context-53.txt"} +{"event": "match", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "fuzzy": 100.0, "instructions": [126, 126], "context": "/tmp/sol-high-round2-context-53.txt", "quick_gate": "/tmp/sol-high-round2-chorus-quick-gate.txt", "full_gate": "/tmp/sol-high-round2-chorus-full-gate.txt", "data": "48/48", "reason": "gradient inline field writer establishes exact float dependency graph; named signed conversions and swapped depth/step declarations fix remaining registers"} +{"event": "commit", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "commit": "4bf4bad3c22afef8b6b0487245d5b79c24d167b7"} +{"event": "begin", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "origin": "eecf16f01e322dc36702d4fdd7f6cda7a96af2dc", "remote_source_identical": true, "diagnosis": "84 target/86 source instructions. Target frame 0x30 saves31/30; source frame 0x40 adds29. Endian grouped loads and preliminary zero have three pointer/index live ranges. Diagnose typed entry reader and two-loop stack local order first.", "fuzzy": 86.5} +{"event": "pool", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "output": "POOL IDENTICAL up to 0 (mine=0 base=0)\n"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "inline word field writer with high and low partial sums", "compiled": true, "instructions": [82, 84], "structural": 22, "positional": 81, "fuzzy": 84.77381, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.44241, "total_code": "3716", "matched_code": "2276", "matched_code_percent": 61.248653, "matched_data_percent": 100.0, "total_functions": 20, "matched_functions": 18, "matched_functions_percent": 90.0, "complete_data_percent": 100.0, "total_units": 1}, "context": "/tmp/sol-high-round2-context-54.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "compound assignments build two endian halves into the real arrays", "compiled": true, "instructions": [92, 84], "structural": 25, "positional": 90, "fuzzy": 79.85714, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 92.99785, "total_code": "3716", "matched_code": "2276", "matched_code_percent": 61.248653, "matched_data_percent": 100.0, "total_functions": 20, "matched_functions": 18, "matched_functions_percent": 90.0, "complete_data_percent": 100.0, "total_units": 1}, "context": "/tmp/sol-high-round2-context-55.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "partition ranges as a local aggregate with both loops intact", "compiled": true, "instructions": [90, 84], "structural": 30, "positional": 88, "fuzzy": 78.15476, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 92.84392, "total_code": "3716", "matched_code": "2276", "matched_code_percent": 61.248653, "matched_data_percent": 100.0, "total_functions": 20, "matched_functions": 18, "matched_functions_percent": 90.0, "complete_data_percent": 100.0, "total_units": 1}, "context": "/tmp/sol-high-round2-context-56.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "inline endian byte writer with four ordered meaningful temporaries", "compiled": true, "instructions": [86, 84], "structural": 24, "positional": 84, "fuzzy": 86.5, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.598495, "total_code": "3716", "matched_code": "2276", "matched_code_percent": 61.248653, "matched_data_percent": 100.0, "total_functions": 20, "matched_functions": 18, "matched_functions_percent": 90.0, "complete_data_percent": 100.0, "total_units": 1}, "context": "/tmp/sol-high-round2-context-57.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "scalar start and length built before storing the partition arrays", "compiled": true, "instructions": [86, 84], "structural": 31, "positional": 86, "fuzzy": 81.7381, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.16792, "total_code": "3716", "matched_code": "2276", "matched_code_percent": 61.248653, "matched_data_percent": 100.0, "total_functions": 20, "matched_functions": 18, "matched_functions_percent": 90.0, "complete_data_percent": 100.0, "total_units": 1}, "context": "/tmp/sol-high-round2-context-58.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "retain closest structural master candidate (22, 81)", "compiled": true, "instructions": [82, 84], "structural": 22, "positional": 81, "fuzzy": 84.77381, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.44241, "total_code": "3716", "matched_code": "2276", "matched_code_percent": 61.248653, "matched_data_percent": 100.0, "total_functions": 20, "matched_functions": 18, "matched_functions_percent": 90.0, "complete_data_percent": 100.0, "total_units": 1}, "context": "/tmp/sol-high-round2-context-59.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "low/high inline helper boundary 0", "compiled": true, "instructions": [86, 84], "structural": 24, "positional": 84, "fuzzy": 86.5, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.598495, "total_code": "3716", "matched_code": "2276", "matched_code_percent": 61.248653, "matched_data_percent": 100.0, "total_functions": 20, "matched_functions": 18, "matched_functions_percent": 90.0, "complete_data_percent": 100.0, "total_units": 1}, "context": "/tmp/sol-high-round2-context-60.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "low/high inline helper boundary 1", "compiled": true, "instructions": [86, 84], "structural": 28, "positional": 84, "fuzzy": 84.09524, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.38106, "total_code": "3716", "matched_code": "2276", "matched_code_percent": 61.248653, "matched_data_percent": 100.0, "total_functions": 20, "matched_functions": 18, "matched_functions_percent": 90.0, "complete_data_percent": 100.0, "total_units": 1}, "context": "/tmp/sol-high-round2-context-61.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "low/high inline helper boundary 2", "compiled": true, "instructions": [86, 84], "structural": 24, "positional": 84, "fuzzy": 86.5, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.598495, "total_code": "3716", "matched_code": "2276", "matched_code_percent": 61.248653, "matched_data_percent": 100.0, "total_functions": 20, "matched_functions": 18, "matched_functions_percent": 90.0, "complete_data_percent": 100.0, "total_units": 1}, "context": "/tmp/sol-high-round2-context-62.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "four-byte field writer parameter boundary high-upper-low-lower", "compiled": true, "instructions": [86, 84], "structural": 24, "positional": 84, "fuzzy": 86.5, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.598495, "total_code": "3716", "matched_code": "2276", "matched_code_percent": 61.248653, "matched_data_percent": 100.0, "total_functions": 20, "matched_functions": 18, "matched_functions_percent": 90.0, "complete_data_percent": 100.0, "total_units": 1}, "context": "/tmp/sol-high-round2-context-63.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "four-byte field writer parameter boundary upper-low-high-lower", "compiled": true, "instructions": [86, 84], "structural": 24, "positional": 84, "fuzzy": 86.5, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.598495, "total_code": "3716", "matched_code": "2276", "matched_code_percent": 61.248653, "matched_data_percent": 100.0, "total_functions": 20, "matched_functions": 18, "matched_functions_percent": 90.0, "complete_data_percent": 100.0, "total_units": 1}, "context": "/tmp/sol-high-round2-context-64.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "four-byte field writer parameter boundary low-upper-lower-high", "compiled": true, "instructions": [86, 84], "structural": 24, "positional": 84, "fuzzy": 86.5, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.598495, "total_code": "3716", "matched_code": "2276", "matched_code_percent": 61.248653, "matched_data_percent": 100.0, "total_functions": 20, "matched_functions": 18, "matched_functions_percent": 90.0, "complete_data_percent": 100.0, "total_units": 1}, "context": "/tmp/sol-high-round2-context-65.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "retain master helper boundary best (24, 84)", "compiled": true, "instructions": [86, 84], "structural": 24, "positional": 84, "fuzzy": 86.5, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.598495, "total_code": "3716", "matched_code": "2276", "matched_code_percent": 61.248653, "matched_data_percent": 100.0, "total_functions": 20, "matched_functions": 18, "matched_functions_percent": 90.0, "complete_data_percent": 100.0, "total_units": 1}, "context": "/tmp/sol-high-round2-context-66.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "restore baseline after 11 distinct structural experiments; grouped load scheduling still changes live GPR count and frame", "compiled": true, "instructions": [86, 84], "structural": 24, "positional": 84, "fuzzy": 86.5, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.598495, "total_code": "3716", "matched_code": "2276", "matched_code_percent": 61.248653, "matched_data_percent": 100.0, "total_functions": 20, "matched_functions": 18, "matched_functions_percent": 90.0, "complete_data_percent": 100.0, "total_units": 1}, "context": "/tmp/sol-high-round2-context-67.txt"} +{"event": "open", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "reason": "baseline 86/84, 0x40/0x30 frames; inline partial sums changed frame/save count but retained endian load/group order differences; no register-only candidate"} +{"event": "begin", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_get_start_sector", "origin": "eecf16f01e322dc36702d4fdd7f6cda7a96af2dc", "remote_source_identical": true, "diagnosis": "276/276, same aligned0x2e0 frame. Target grouped low16+low0 and high24+low8 for all words; target first array pointers are28/29. Inspect endian read helpers and extended-chain scalar lifetime before declaration permutations.", "fuzzy": 82.56159} +{"event": "pool", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "output": "POOL IDENTICAL up to 0 (mine=0 base=0)\n"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_get_start_sector", "label": "inline four-byte value reader for primary and extended words", "compiled": true, "instructions": [276, 276], "structural": 96, "positional": 152, "fuzzy": 82.134056, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.47147, "total_code": "3716", "matched_code": "2276", "matched_code_percent": 61.248653, "matched_data_percent": 100.0, "total_functions": 20, "matched_functions": 18, "matched_functions_percent": 90.0, "complete_data_percent": 100.0, "total_units": 1}, "context": "/tmp/sol-high-round2-context-68.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_get_start_sector", "label": "inline endian field writer for arrays and extended lengths", "compiled": true, "instructions": [276, 276], "structural": 120, "positional": 147, "fuzzy": 78.909424, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 92.51346, "total_code": "3716", "matched_code": "2276", "matched_code_percent": 61.248653, "matched_data_percent": 100.0, "total_functions": 20, "matched_functions": 18, "matched_functions_percent": 90.0, "complete_data_percent": 100.0, "total_units": 1}, "context": "/tmp/sol-high-round2-context-69.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_get_start_sector", "label": "primary partition ranges represented by a local aggregate", "compiled": true, "instructions": [276, 276], "structural": 112, "positional": 146, "fuzzy": 82.56159, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.598495, "total_code": "3716", "matched_code": "2276", "matched_code_percent": 61.248653, "matched_data_percent": 100.0, "total_functions": 20, "matched_functions": 18, "matched_functions_percent": 90.0, "complete_data_percent": 100.0, "total_units": 1}, "context": "/tmp/sol-high-round2-context-70.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_get_start_sector", "label": "extended base belongs to the low endian sum through inline helper", "compiled": true, "instructions": [276, 276], "structural": 94, "positional": 147, "fuzzy": 81.89855, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.401505, "total_code": "3716", "matched_code": "2276", "matched_code_percent": 61.248653, "matched_data_percent": 100.0, "total_functions": 20, "matched_functions": 18, "matched_functions_percent": 90.0, "complete_data_percent": 100.0, "total_units": 1}, "context": "/tmp/sol-high-round2-context-71.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_get_start_sector", "label": "typed MBR byte fields preserve disk layout without integer casts", "compiled": true, "instructions": [277, 276], "structural": 121, "positional": 265, "fuzzy": 79.634056, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 92.72874, "total_code": "3716", "matched_code": "2276", "matched_code_percent": 61.248653, "matched_data_percent": 100.0, "total_functions": 20, "matched_functions": 18, "matched_functions_percent": 90.0, "complete_data_percent": 100.0, "total_units": 1}, "context": "/tmp/sol-high-round2-context-72.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_get_start_sector", "label": "extended chain traversal lifetime descending-increasing", "compiled": true, "instructions": [276, 276], "structural": 112, "positional": 146, "fuzzy": 82.56159, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.598495, "total_code": "3716", "matched_code": "2276", "matched_code_percent": 61.248653, "matched_data_percent": 100.0, "total_functions": 20, "matched_functions": 18, "matched_functions_percent": 90.0, "complete_data_percent": 100.0, "total_units": 1}, "context": "/tmp/sol-high-round2-context-73.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_get_start_sector", "label": "extended chain traversal lifetime stage-loop", "compiled": true, "instructions": [276, 276], "structural": 87, "positional": 146, "fuzzy": 83.19927, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.78794, "total_code": "3716", "matched_code": "2276", "matched_code_percent": 61.248653, "matched_data_percent": 100.0, "total_functions": 20, "matched_functions": 18, "matched_functions_percent": 90.0, "complete_data_percent": 100.0, "total_units": 1}, "context": "/tmp/sol-high-round2-context-74.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_get_start_sector", "label": "retain nearest start-sector structural candidate (87, 146)", "compiled": true, "instructions": [276, 276], "structural": 87, "positional": 146, "fuzzy": 83.19927, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.78794, "total_code": "3716", "matched_code": "2276", "matched_code_percent": 61.248653, "matched_data_percent": 100.0, "total_functions": 20, "matched_functions": 18, "matched_functions_percent": 90.0, "complete_data_percent": 100.0, "total_units": 1}, "context": "/tmp/sol-high-round2-context-75.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_get_start_sector", "label": "signed-safe lower-byte groups; high byte stays unsigned", "compiled": true, "instructions": [276, 276], "structural": 79, "positional": 141, "fuzzy": 82.61957, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.615715, "total_code": "3716", "matched_code": "2276", "matched_code_percent": 61.248653, "matched_data_percent": 100.0, "total_functions": 20, "matched_functions": 18, "matched_functions_percent": 90.0, "complete_data_percent": 100.0, "total_units": 1}, "context": "/tmp/sol-high-round2-context-76.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_get_start_sector", "label": "unsigned place-value multiplication in paired little endian sums", "compiled": true, "instructions": [276, 276], "structural": 84, "positional": 138, "fuzzy": 84.271736, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 94.10657, "total_code": "3716", "matched_code": "2276", "matched_code_percent": 61.248653, "matched_data_percent": 100.0, "total_functions": 20, "matched_functions": 18, "matched_functions_percent": 90.0, "complete_data_percent": 100.0, "total_units": 1}, "context": "/tmp/sol-high-round2-context-77.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_get_start_sector", "label": "low and upper named before high and lower via inline source-byte halves", "compiled": true, "instructions": [276, 276], "structural": 76, "positional": 147, "fuzzy": 84.884056, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 94.28848, "total_code": "3716", "matched_code": "2276", "matched_code_percent": 61.248653, "matched_data_percent": 100.0, "total_functions": 20, "matched_functions": 18, "matched_functions_percent": 90.0, "complete_data_percent": 100.0, "total_units": 1}, "context": "/tmp/sol-high-round2-context-78.txt"} +{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_get_start_sector", "label": "restore start-sector baseline after ten distinct structural attempts; unrolled byte arithmetic still has no exact instruction schedule", "compiled": true, "instructions": [276, 276], "structural": 112, "positional": 146, "fuzzy": 82.56159, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.598495, "total_code": "3716", "matched_code": "2276", "matched_code_percent": 61.248653, "matched_data_percent": 100.0, "total_functions": 20, "matched_functions": 18, "matched_functions_percent": 90.0, "complete_data_percent": 100.0, "total_units": 1}, "context": "/tmp/sol-high-round2-context-79.txt"} +{"event": "open", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_get_start_sector", "reason": "276/276 and frame0x2e0; primary and extended endian grouping, byte load order, partial-sum lifetimes still differ. No register-only candidate."} +{"event": "begin", "unit": "libs/RevoEX/src/net/aes", "function": "AESiEncryptBlock", "origin": "456e9dbd2e7967aead334e138cd692c8d8e256c8", "remote_source_identical": true, "diagnosis": "Both158/158 and frame0x40 saving20..31. Target rotates high/upper/lower lookup words separately and uses low^(lower^(high^upper)) before key xor. Diagnose inline round-word/substitution boundaries and named byte terms before declaration search.", "fuzzy": 60.348103} +{"event": "pool", "unit": "libs/RevoEX/src/net/aes", "output": "POOL IDENTICAL up to 4 (mine=4 base=4)\n"} +{"event": "attempt", "unit": "libs/RevoEX/src/net/aes", "function": "AESiEncryptBlock", "label": "global encrypt table helper with named raw terms then rotations", "compiled": true, "instructions": [158, 158], "structural": 119, "positional": 139, "fuzzy": 52.481014, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 75.03779, "total_code": "2752", "matched_code": "1116", "matched_code_percent": 40.552326, "total_data": "2800", "matched_data": "2800", "matched_data_percent": 100.0, "total_functions": 9, "matched_functions": 7, "matched_functions_percent": 77.77778, "total_units": 1}, "context": "/tmp/sol-high-round2-context-80.txt"} +{"event": "attempt", "unit": "libs/RevoEX/src/net/aes", "function": "AESiEncryptBlock", "label": "named rotated terms retain target XOR dependency tree", "compiled": true, "instructions": [158, 158], "structural": 92, "positional": 137, "fuzzy": 55.6962, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 75.77616, "total_code": "2752", "matched_code": "1116", "matched_code_percent": 40.552326, "total_data": "2800", "matched_data": "2800", "matched_data_percent": 100.0, "total_functions": 9, "matched_functions": 7, "matched_functions_percent": 77.77778, "total_units": 1}, "context": "/tmp/sol-high-round2-context-81.txt"} +{"event": "attempt", "unit": "libs/RevoEX/src/net/aes", "function": "AESiEncryptBlock", "label": "round and final substitution inline helpers with named byte terms", "compiled": true, "instructions": [158, 158], "structural": 104, "positional": 139, "fuzzy": 58.037975, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 76.31396, "total_code": "2752", "matched_code": "1116", "matched_code_percent": 40.552326, "total_data": "2800", "matched_data": "2800", "matched_data_percent": 100.0, "total_functions": 9, "matched_functions": 7, "matched_functions_percent": 77.77778, "total_units": 1}, "context": "/tmp/sol-high-round2-context-82.txt"} +{"event": "attempt", "unit": "libs/RevoEX/src/net/aes", "function": "AESiEncryptBlock", "label": "named substitution bytes and final key-first operand order", "compiled": true, "instructions": [158, 158], "structural": 120, "positional": 138, "fuzzy": 56.341774, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 75.924416, "total_code": "2752", "matched_code": "1116", "matched_code_percent": 40.552326, "total_data": "2800", "matched_data": "2800", "matched_data_percent": 100.0, "total_functions": 9, "matched_functions": 7, "matched_functions_percent": 77.77778, "total_units": 1}, "context": "/tmp/sol-high-round2-context-83.txt"} +{"event": "attempt", "unit": "libs/RevoEX/src/net/aes", "function": "AESiEncryptBlock", "label": "round helper owns the final key XOR with rotated local terms", "compiled": true, "instructions": [158, 158], "structural": 106, "positional": 136, "fuzzy": 60.8038, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 76.94913, "total_code": "2752", "matched_code": "1116", "matched_code_percent": 40.552326, "total_data": "2800", "matched_data": "2800", "matched_data_percent": 100.0, "total_functions": 9, "matched_functions": 7, "matched_functions_percent": 77.77778, "total_units": 1}, "context": "/tmp/sol-high-round2-context-84.txt"} +{"event": "attempt", "unit": "libs/RevoEX/src/net/aes", "function": "AESiEncryptBlock", "label": "independent state declarations and assignments with raw lookup helper", "compiled": true, "instructions": [158, 158], "structural": 119, "positional": 139, "fuzzy": 52.481014, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 75.03779, "total_code": "2752", "matched_code": "1116", "matched_code_percent": 40.552326, "total_data": "2800", "matched_data": "2800", "matched_data_percent": 100.0, "total_functions": 9, "matched_functions": 7, "matched_functions_percent": 77.77778, "total_units": 1}, "context": "/tmp/sol-high-round2-context-85.txt"} +{"event": "attempt", "unit": "libs/RevoEX/src/net/aes", "function": "AESiEncryptBlock", "label": "all next states declared before four named lookup calculations", "compiled": true, "instructions": [158, 158], "structural": 119, "positional": 139, "fuzzy": 52.481014, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 75.03779, "total_code": "2752", "matched_code": "1116", "matched_code_percent": 40.552326, "total_data": "2800", "matched_data": "2800", "matched_data_percent": 100.0, "total_functions": 9, "matched_functions": 7, "matched_functions_percent": 77.77778, "total_units": 1}, "context": "/tmp/sol-high-round2-context-86.txt"} +{"event": "attempt", "unit": "libs/RevoEX/src/net/aes", "function": "AESiEncryptBlock", "label": "retain best new encrypt structure (92, 137)", "compiled": true, "instructions": [158, 158], "structural": 92, "positional": 137, "fuzzy": 55.6962, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 75.77616, "total_code": "2752", "matched_code": "1116", "matched_code_percent": 40.552326, "total_data": "2800", "matched_data": "2800", "matched_data_percent": 100.0, "total_functions": 9, "matched_functions": 7, "matched_functions_percent": 77.77778, "total_units": 1}, "context": "/tmp/sol-high-round2-context-87.txt"} +{"event": "attempt", "unit": "libs/RevoEX/src/net/aes", "function": "AESiEncryptBlock", "label": "mutating round-word helper parameters follow the three XOR dependencies", "compiled": true, "instructions": [158, 158], "structural": 123, "positional": 139, "fuzzy": 53.36076, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 75.23982, "total_code": "2752", "matched_code": "1116", "matched_code_percent": 40.552326, "total_data": "2800", "matched_data": "2800", "matched_data_percent": 100.0, "total_functions": 9, "matched_functions": 7, "matched_functions_percent": 77.77778, "total_units": 1}, "context": "/tmp/sol-high-round2-context-88.txt"} +{"event": "attempt", "unit": "libs/RevoEX/src/net/aes", "function": "AESiEncryptBlock", "label": "named table terms with sequential XOR updates", "compiled": true, "instructions": [158, 158], "structural": 122, "positional": 138, "fuzzy": 54.72152, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 75.55232, "total_code": "2752", "matched_code": "1116", "matched_code_percent": 40.552326, "total_data": "2800", "matched_data": "2800", "matched_data_percent": 100.0, "total_functions": 9, "matched_functions": 7, "matched_functions_percent": 77.77778, "total_units": 1}, "context": "/tmp/sol-high-round2-context-89.txt"} +{"event": "attempt", "unit": "libs/RevoEX/src/net/aes", "function": "AESiEncryptBlock", "label": "inline word output parameter preserves next-state write boundary", "compiled": true, "instructions": [158, 158], "structural": 122, "positional": 138, "fuzzy": 54.72152, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 75.55232, "total_code": "2752", "matched_code": "1116", "matched_code_percent": 40.552326, "total_data": "2800", "matched_data": "2800", "matched_data_percent": 100.0, "total_functions": 9, "matched_functions": 7, "matched_functions_percent": 77.77778, "total_units": 1}, "context": "/tmp/sol-high-round2-context-90.txt"} +{"event": "attempt", "unit": "libs/RevoEX/src/net/aes", "function": "AESiEncryptBlock", "label": "inline keyed word output boundary", "compiled": true, "instructions": [158, 158], "structural": 122, "positional": 138, "fuzzy": 54.72152, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 75.55232, "total_code": "2752", "matched_code": "1116", "matched_code_percent": 40.552326, "total_data": "2800", "matched_data": "2800", "matched_data_percent": 100.0, "total_functions": 9, "matched_functions": 7, "matched_functions_percent": 77.77778, "total_units": 1}, "context": "/tmp/sol-high-round2-context-91.txt"} +{"event": "attempt", "unit": "libs/RevoEX/src/net/aes", "function": "AESiEncryptBlock", "label": "retain nearest mutable/output helper structure (122, 138)", "compiled": true, "instructions": [158, 158], "structural": 122, "positional": 138, "fuzzy": 54.72152, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 75.55232, "total_code": "2752", "matched_code": "1116", "matched_code_percent": 40.552326, "total_data": "2800", "matched_data": "2800", "matched_data_percent": 100.0, "total_functions": 9, "matched_functions": 7, "matched_functions_percent": 77.77778, "total_units": 1}, "context": "/tmp/sol-high-round2-context-92.txt"} +{"event": "attempt", "unit": "libs/RevoEX/src/net/aes", "function": "AESiEncryptBlock", "label": "restore baseline after 11 named-term and inline boundary variants; lookup scheduling and state allocation still differ", "compiled": true, "instructions": [158, 158], "structural": 103, "positional": 134, "fuzzy": 60.348103, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 76.844475, "total_code": "2752", "matched_code": "1116", "matched_code_percent": 40.552326, "total_data": "2800", "matched_data": "2800", "matched_data_percent": 100.0, "total_functions": 9, "matched_functions": 7, "matched_functions_percent": 77.77778, "total_units": 1}, "context": "/tmp/sol-high-round2-context-93.txt"} +{"event": "open", "unit": "libs/RevoEX/src/net/aes", "function": "AESiEncryptBlock", "reason": "158/158 and frame0x40; named table terms and helpers produce different byte-extraction/table-load/rotation order. No source candidate reduces differences to registers only."} +{"event": "begin", "unit": "libs/RevoEX/src/net/aes", "function": "AESiDecryptBlock", "origin": "68e1ee3a35b20e9d22e57a6c6626b2f4e8aedc02", "remote_source_identical": true, "diagnosis": "Source249/target251 instructions with 0x40 frame. Target key pointer first equals context.keys then advances rounds*4. Transform loop addresses context+round*16 then loads +0x10/+0x14, mutates inverse-mix intermediates, and uses three XOR dependencies. Diagnose field representation and helper boundaries.", "fuzzy": 61.49004} +{"event": "pool", "unit": "libs/RevoEX/src/net/aes", "output": "POOL IDENTICAL up to 4 (mine=4 base=4)\n"} +{"event": "attempt", "unit": "libs/RevoEX/src/net/aes", "function": "AESiDecryptBlock", "label": "typed contiguous schedule union and key-base-first setup", "compiled": true, "instructions": [251, 251], "structural": 129, "positional": 224, "fuzzy": 65.10757, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 78.164246, "total_code": "2752", "matched_code": "1116", "matched_code_percent": 40.552326, "total_data": "2800", "matched_data": "2800", "matched_data_percent": 100.0, "total_functions": 9, "matched_functions": 7, "matched_functions_percent": 77.77778, "total_units": 1}, "context": "/tmp/sol-high-round2-context-94.txt"} +{"event": "attempt", "unit": "libs/RevoEX/src/net/aes", "function": "AESiDecryptBlock", "label": "inverse-mix inline helper with target mutable XOR dependency chain", "compiled": true, "instructions": [251, 251], "structural": 132, "positional": 217, "fuzzy": 65.29084, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 78.2311, "total_code": "2752", "matched_code": "1116", "matched_code_percent": 40.552326, "total_data": "2800", "matched_data": "2800", "matched_data_percent": 100.0, "total_functions": 9, "matched_functions": 7, "matched_functions_percent": 77.77778, "total_units": 1}, "context": "/tmp/sol-high-round2-context-95.txt"} +{"event": "attempt", "unit": "libs/RevoEX/src/net/aes", "function": "AESiDecryptBlock", "label": "inverse-mix helper with typed whole schedule word view", "compiled": true, "instructions": [251, 251], "structural": 128, "positional": 217, "fuzzy": 65.30677, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 78.236916, "total_code": "2752", "matched_code": "1116", "matched_code_percent": 40.552326, "total_data": "2800", "matched_data": "2800", "matched_data_percent": 100.0, "total_functions": 9, "matched_functions": 7, "matched_functions_percent": 77.77778, "total_units": 1}, "context": "/tmp/sol-high-round2-context-96.txt"} +{"event": "attempt", "unit": "libs/RevoEX/src/net/aes", "function": "AESiDecryptBlock", "label": "independent key-schedule offset induction through legal union word array", "compiled": true, "instructions": [251, 251], "structural": 129, "positional": 224, "fuzzy": 65.10757, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 78.164246, "total_code": "2752", "matched_code": "1116", "matched_code_percent": 40.552326, "total_data": "2800", "matched_data": "2800", "matched_data_percent": 100.0, "total_functions": 9, "matched_functions": 7, "matched_functions_percent": 77.77778, "total_units": 1}, "context": "/tmp/sol-high-round2-context-97.txt"} +{"event": "attempt", "unit": "libs/RevoEX/src/net/aes", "function": "AESiDecryptBlock", "label": "named high/low reductions in inline byte-doubling helper", "compiled": true, "instructions": [251, 251], "structural": 133, "positional": 224, "fuzzy": 65.17132, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 78.1875, "total_code": "2752", "matched_code": "1116", "matched_code_percent": 40.552326, "total_data": "2800", "matched_data": "2800", "matched_data_percent": 100.0, "total_functions": 9, "matched_functions": 7, "matched_functions_percent": 77.77778, "total_units": 1}, "context": "/tmp/sol-high-round2-context-98.txt"} +{"event": "attempt", "unit": "libs/RevoEX/src/net/aes", "function": "AESiDecryptBlock", "label": "forward key walk with descending remaining-word count and target inverse mix", "compiled": true, "instructions": [256, 251], "structural": 144, "positional": 246, "fuzzy": 61.621513, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 76.89244, "total_code": "2752", "matched_code": "1116", "matched_code_percent": 40.552326, "total_data": "2800", "matched_data": "2800", "matched_data_percent": 100.0, "total_functions": 9, "matched_functions": 7, "matched_functions_percent": 77.77778, "total_units": 1}, "context": "/tmp/sol-high-round2-context-99.txt"} +{"event": "attempt", "unit": "libs/RevoEX/src/net/aes", "function": "AESiDecryptBlock", "label": "retain new decrypt structural best (128, 217)", "compiled": true, "instructions": [251, 251], "structural": 128, "positional": 217, "fuzzy": 65.30677, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 78.236916, "total_code": "2752", "matched_code": "1116", "matched_code_percent": 40.552326, "total_data": "2800", "matched_data": "2800", "matched_data_percent": 100.0, "total_functions": 9, "matched_functions": 7, "matched_functions_percent": 77.77778, "total_units": 1}, "context": "/tmp/sol-high-round2-context-100.txt"} +{"event": "attempt", "unit": "libs/RevoEX/src/net/aes", "function": "AESiDecryptBlock", "label": "restore baseline after six distinct inverse-mix, key view, and traversal experiments; 251-instruction variants retain transform and round-table scheduling differences", "compiled": true, "instructions": [249, 251], "structural": 143, "positional": 244, "fuzzy": 61.49004, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 76.844475, "total_code": "2752", "matched_code": "1116", "matched_code_percent": 40.552326, "total_data": "2800", "matched_data": "2800", "matched_data_percent": 100.0, "total_functions": 9, "matched_functions": 7, "matched_functions_percent": 77.77778, "total_units": 1}, "context": "/tmp/sol-high-round2-context-101.txt"} +{"event": "open", "unit": "libs/RevoEX/src/net/aes", "function": "AESiDecryptBlock", "reason": "baseline249/251, frame0x40. Typed contiguous word view plus native inverse-mix chain reaches251/251 but table/state scheduling remains structural. No register-only candidate."} +{"event": "completion_audit", "unit": "src/keyboard/tiPcKeyboard", "function": "setTranslateMode__Q49textinput8keyboard6pctype4BaseFQ59textinput8keyboard6pctype4Base13TranslateMode", "fuzzy": 99.04762, "distinct_compiled_attempts": 3, "labels": ["explicit sequential branches with defined fallback", "map mode through a bounded table with original enum fallback", "preserve original mode separately and map parameter through switch"]} +{"event": "completion_audit", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "fuzzy": 86.5, "distinct_compiled_attempts": 11, "labels": ["compound assignments build two endian halves into the real arrays", "four-byte field writer parameter boundary high-upper-low-lower", "four-byte field writer parameter boundary low-upper-lower-high", "four-byte field writer parameter boundary upper-low-high-lower", "inline endian byte writer with four ordered meaningful temporaries", "inline word field writer with high and low partial sums", "low/high inline helper boundary 0", "low/high inline helper boundary 1", "low/high inline helper boundary 2", "partition ranges as a local aggregate with both loops intact", "scalar start and length built before storing the partition arrays"]} +{"event": "completion_audit", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_get_start_sector", "fuzzy": 82.56159, "distinct_compiled_attempts": 10, "labels": ["extended base belongs to the low endian sum through inline helper", "extended chain traversal lifetime descending-increasing", "extended chain traversal lifetime stage-loop", "inline endian field writer for arrays and extended lengths", "inline four-byte value reader for primary and extended words", "low and upper named before high and lower via inline source-byte halves", "primary partition ranges represented by a local aggregate", "signed-safe lower-byte groups; high byte stays unsigned", "typed MBR byte fields preserve disk layout without integer casts", "unsigned place-value multiplication in paired little endian sums"]} +{"event": "completion_audit", "unit": "libs/RevoEX/src/net/aes", "function": "AESiEncryptBlock", "fuzzy": 60.348103, "distinct_compiled_attempts": 11, "labels": ["all next states declared before four named lookup calculations", "global encrypt table helper with named raw terms then rotations", "independent state declarations and assignments with raw lookup helper", "inline keyed word output boundary", "inline word output parameter preserves next-state write boundary", "mutating round-word helper parameters follow the three XOR dependencies", "named rotated terms retain target XOR dependency tree", "named substitution bytes and final key-first operand order", "named table terms with sequential XOR updates", "round and final substitution inline helpers with named byte terms", "round helper owns the final key XOR with rotated local terms"]} +{"event": "completion_audit", "unit": "libs/RevoEX/src/net/aes", "function": "AESiDecryptBlock", "fuzzy": 61.49004, "distinct_compiled_attempts": 6, "labels": ["forward key walk with descending remaining-word count and target inverse mix", "independent key-schedule offset induction through legal union word array", "inverse-mix helper with typed whole schedule word view", "inverse-mix inline helper with target mutable XOR dependency chain", "named high/low reductions in inline byte-doubling helper", "typed contiguous schedule union and key-base-first setup"]} +{"event": "declaration_scope_correction", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "reason": "Earlier integer declsearch selected helper lines after a global replacement changed line numbers. All unrelated declarations were removed by reconstructing just the helper and InitParams from baseline. Final search used actual lines165..172, swapped depthSamp/stepSamp, and produced126/126 diffs0 with no other source edits."} +{"event": "final_gate", "gate": "tools/decomp-assist/sol-high-round2-oct2.final-gate.txt", "result": "GATE PASS", "full_clean_build": true, "dol_sha1": "26116613f624061ba99c8d1a299aaa6efa85670d", "regressions": 0, "forbidden_patterns": 0, "readability_warnings": 0} diff --git a/tools/decomp-assist/sol-high-round2-oct2.exact-ctxdiff.txt b/tools/decomp-assist/sol-high-round2-oct2.exact-ctxdiff.txt new file mode 100644 index 00000000..9d166fda --- /dev/null +++ b/tools/decomp-assist/sol-high-round2-oct2.exact-ctxdiff.txt @@ -0,0 +1,2 @@ +src 0x1f8 base 0x1f8 insns 126/126 +diffs 0: [] diff --git a/tools/decomp-assist/sol-high-round2-oct2.final-gate.txt b/tools/decomp-assist/sol-high-round2-oct2.final-gate.txt new file mode 100644 index 00000000..e4d88518 --- /dev/null +++ b/tools/decomp-assist/sol-high-round2-oct2.final-gate.txt @@ -0,0 +1,46 @@ +full build: ok +main.dol sha1: 26116613f624061ba99c8d1a299aaa6efa85670d +[src/keyboard/tiPcKeyboard] pool: IDENTICAL +[src/keyboard/tiPcKeyboard] objdiff: code 28064/28484 data 18548/18564 functions 140/141 fuzzy 99.9860 linked code 0 +[src/keyboard/tiPcKeyboard] instruction-exact functions: 140/141 +[src/keyboard/tiPcKeyboard] section .bss size 16 match None +[src/keyboard/tiPcKeyboard] section .ctors size 4 match 100.0 +[src/keyboard/tiPcKeyboard] section .data size 12576 match 100.0 +[src/keyboard/tiPcKeyboard] section .rodata size 5816 match 100.0 +[src/keyboard/tiPcKeyboard] section .sbss size 8 match 100.0 +[src/keyboard/tiPcKeyboard] section .sdata size 136 match 100.0 +[src/keyboard/tiPcKeyboard] section .sdata2 size 8 match 100.0 +[src/keyboard/tiPcKeyboard] section .text size 28484 match 99.985954 +[src/keyboard/tiPcKeyboard] below 100: setTranslateMode__Q49textinput8keyboard6pctype4BaseFQ59textinput8keyboard6pctype4Base13TranslateMode 99.04762 +[src/keyboard/tiPcKeyboard] baseline: code 28064/28484 data 18548 functions 140 fuzzy 99.9860 +[libs/RVL_SDK/src/axfx/AXFXChorusExp] pool: IDENTICAL +[libs/RVL_SDK/src/axfx/AXFXChorusExp] objdiff: code 2684/2684 data 48/48 functions 7/7 fuzzy 100.0000 linked code 0 +[libs/RVL_SDK/src/axfx/AXFXChorusExp] instruction-exact functions: 7/7 +[libs/RVL_SDK/src/axfx/AXFXChorusExp] section .sdata2 size 48 match 100.0 +[libs/RVL_SDK/src/axfx/AXFXChorusExp] section .text size 2684 match 100.0 +[libs/RVL_SDK/src/axfx/AXFXChorusExp] baseline: code 2180/2684 data 48 functions 6 fuzzy 94.3502 +[libs/RVL_SDK/src/fa/pdm_partition] pool: IDENTICAL +[libs/RVL_SDK/src/fa/pdm_partition] objdiff: code 2276/3716 data None/None functions 18/20 fuzzy 93.5985 linked code 0 +[libs/RVL_SDK/src/fa/pdm_partition] instruction-exact functions: 18/20 +[libs/RVL_SDK/src/fa/pdm_partition] section .text size 3716 match 93.598495 +[libs/RVL_SDK/src/fa/pdm_partition] below 100: pdm_part_is_master_boot_sector 86.5 +[libs/RVL_SDK/src/fa/pdm_partition] below 100: pdm_part_get_start_sector 82.56159 +[libs/RVL_SDK/src/fa/pdm_partition] baseline: code 2276/3716 data None functions 18 fuzzy 93.5985 +[libs/RevoEX/src/net/aes] pool: IDENTICAL +[libs/RevoEX/src/net/aes] objdiff: code 1116/2752 data 2800/2800 functions 7/9 fuzzy 76.8445 linked code 0 +[libs/RevoEX/src/net/aes] instruction-exact functions: 7/9 +[libs/RevoEX/src/net/aes] section .data size 200 match 100.0 +[libs/RevoEX/src/net/aes] section .rodata size 2592 match 100.0 +[libs/RevoEX/src/net/aes] section .sdata2 size 8 match 100.0 +[libs/RevoEX/src/net/aes] section .text size 2752 match 76.844475 +[libs/RevoEX/src/net/aes] below 100: AESiEncryptBlock 60.348103 +[libs/RevoEX/src/net/aes] below 100: AESiDecryptBlock 61.49004 +[libs/RevoEX/src/net/aes] baseline: code 1116/2752 data 2800 functions 7 fuzzy 76.8445 +regressions vs baseline: 0 +global matched_code_percent: 88.52293 -> 88.53975 +global fuzzy_match_percent: 99.44739 -> 99.45245 +global complete_code_percent: 62.78043 -> 62.78043 +global matched_data_percent: 92.12238 -> 92.12238 +forbidden patterns added (net, per file): 0 +readability warnings (net, per file; must be 0 in the final result): 0 +GATE PASS diff --git a/tools/decomp-assist/sol-high-round2-oct2.report.md b/tools/decomp-assist/sol-high-round2-oct2.report.md new file mode 100644 index 00000000..f27ff4cd --- /dev/null +++ b/tools/decomp-assist/sol-high-round2-oct2.report.md @@ -0,0 +1,44 @@ +GATE PASS + +The final gate rebuilt 43U from a clean build directory. The DOL SHA1 is 26116613f624061ba99c8d1a299aaa6efa85670d. All four pools are identical. Regressions, forbidden patterns, and readability warnings are zero. + +| Unit | Instruction-exact before -> after | Objdiff code bytes before -> after | Objdiff data bytes before -> after | +| --- | --- | --- | --- | +| src/keyboard/tiPcKeyboard | 140/141 -> 140/141 | 28064/28484 -> 28064/28484 | 18548/18564 -> 18548/18564 | +| libs/RVL_SDK/src/axfx/AXFXChorusExp | 6/7 -> 7/7 | 2180/2684 -> 2684/2684 | 48/48 -> 48/48 | +| libs/RVL_SDK/src/fa/pdm_partition | 18/20 -> 18/20 | 2276/3716 -> 2276/3716 | 0/0 -> 0/0 | +| libs/RevoEX/src/net/aes | 7/9 -> 7/9 | 1116/2752 -> 1116/2752 | 2800/2800 -> 2800/2800 | + +Matched __InitParams, 126/126 instructions and zero ctxdiff differences. The gradient field writer preserves the target floating calculation order. Three named signed conversions and their declaration order give the target integer registers. Nested history loops put the twelve zero stores after the conversions. Code and data for AXFXChorusExp are 100%. + +Remaining functions, one line per function: + +- setTranslateMode__Q49textinput8keyboard6pctype4BaseFQ59textinput8keyboard6pctype4Base13TranslateMode, 99.04762%, 3 distinct compiled source attempts; best experiment 99.04762%. 106/105 instructions, same 0x20 frame. The extra move gives keyMode a defined value for unsupported enums. The target default branch reads an unwritten saved register. Safe table, parameter, and branch forms did not match. +- pdm_part_is_master_boot_sector, 86.5%, 11 distinct compiled source attempts; best experiment 86.5%. 86/84 instructions; source frame0x40 with three saved GPRs, target0x30 with two. Endian byte-load order and partial-sum lifetimes still differ. Inline readers, compound assignments, and local range aggregates changed the frame but did not match. +- pdm_part_get_start_sector, 82.56159%, 10 distinct compiled source attempts; best experiment 84.884056%. 276/276 instructions and aligned0x2e0 frame. Unrolled primary and extended word byte loads, endian grouping and scalar lifetimes still differ. Named halves, field writers and loop forms did not match. +- AESiEncryptBlock, 60.348103%, 11 distinct compiled source attempts; best experiment 60.8038%. 158/158 instructions and frame0x40. State setup, lookup indices, table loads, rotations and XOR operand order still differ. Named byte terms and inline value/output helpers did not match. +- AESiDecryptBlock, 61.49004%, 6 distinct compiled source attempts; best experiment 65.30677%. 249/251 instructions and frame0x40. Key-base setup, inverse-mix loop addressing, and round lookup scheduling still differ. Typed schedule views and native inverse-mix chains reached251/251 without an exact match. + +Changed files and commits: + +- libs/RVL_SDK/src/axfx/AXFXChorusExp.c, 4bf4bad3, match chorus parameter initialization. +- tools/decomp-assist/sol-high-round2-oct2.attempts.jsonl records the function checks, source variations, measurements, and final attempt audit. +- tools/decomp-assist/sol-high-round2-oct2.exact-ctxdiff.txt contains the new exact function diff. +- tools/decomp-assist/sol-high-round2-oct2.final-gate.txt contains the full clean gate over all four units. +- tools/decomp-assist/sol-high-round2-oct2.report.md is this report. + +Uncertainty: tiPcKeyboard has 16 unscored .bss bytes. Objdiff reports no match percentage for them. Data remains18548/18564. PDM has no data sections; the gate prints None/None and the table represents that as0/0. All unsuccessful source experiments were restored. + +Final full gate unit lines copied verbatim: + +``` +[src/keyboard/tiPcKeyboard] objdiff: code 28064/28484 data 18548/18564 functions 140/141 fuzzy 99.9860 linked code 0 +[src/keyboard/tiPcKeyboard] instruction-exact functions: 140/141 +[libs/RVL_SDK/src/axfx/AXFXChorusExp] objdiff: code 2684/2684 data 48/48 functions 7/7 fuzzy 100.0000 linked code 0 +[libs/RVL_SDK/src/axfx/AXFXChorusExp] instruction-exact functions: 7/7 +[libs/RVL_SDK/src/fa/pdm_partition] objdiff: code 2276/3716 data None/None functions 18/20 fuzzy 93.5985 linked code 0 +[libs/RVL_SDK/src/fa/pdm_partition] instruction-exact functions: 18/20 +[libs/RevoEX/src/net/aes] objdiff: code 1116/2752 data 2800/2800 functions 7/9 fuzzy 76.8445 linked code 0 +[libs/RevoEX/src/net/aes] instruction-exact functions: 7/9 +GATE PASS +``` -- 2.49.1 From ed3fad1bffc44b7dbee657622b03a12d07789cf4 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 2 Oct 2026 05:38:15 +0000 Subject: [PATCH 2/6] docs: update progress [skip ci] --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 57e4ec90..1bc559e7 100644 --- a/README.md +++ b/README.md @@ -53,9 +53,9 @@ Progress | Decompiled | Matched | Linked | Data | |:---:|:---:|:---:|:---:| -| 99.45% | 88.56% | 62.98% | 96.83% | +| 99.46% | 88.57% | 62.98% | 96.83% | -units 925/1027 complete, functions 12263/12563 matched. +units 925/1027 complete, functions 12264/12563 matched. decompiled = code with a C/C++ implementation (objdiff fuzzy), matched = byte-exact code, linked = code actually linked into the DOL, data = byte-exact data -- 2.49.1 From 35e7147b97b01b9d623d108ecd3503c45b896e1c Mon Sep 17 00:00:00 2001 From: coah <100182500+coah80@users.noreply.github.com> Date: Fri, 2 Oct 2026 00:40:50 -0500 Subject: [PATCH 3/6] data(iplUSBAP, AOSS data 100%, iplSetting +640, ATERM sbss) (data-d3) (worker ef0da9b3) (#738) --- config/43U/symbols.txt | 64 ++--- src/scene/setting/iplSetting.cpp | 24 +- src/scene/setting/iplUSBAP.cpp | 2 +- tools/decomp-assist/data-d3.attempts.md | 299 ++++++++++++++++++++++++ 4 files changed, 345 insertions(+), 44 deletions(-) create mode 100644 tools/decomp-assist/data-d3.attempts.md diff --git a/config/43U/symbols.txt b/config/43U/symbols.txt index 2ed875e6..65e5daed 100644 --- a/config/43U/symbols.txt +++ b/config/43U/symbols.txt @@ -16961,9 +16961,9 @@ lbl_816567FD = .data:0x816567FD; // type:object size:0xF data:string lbl_8165680C = .data:0x8165680C; // type:object size:0x18 lbl_81656824 = .data:0x81656824; // type:object size:0x18 lbl_8165683C = .data:0x8165683C; // type:object size:0xAC -lbl_816568E8 = .data:0x816568E8; // type:object size:0x10 -lbl_816568F8 = .data:0x816568F8; // type:object size:0x18 -lbl_81656910 = .data:0x81656910; // type:object size:0x18 data:4byte +sSettingAPButtonNames__Q23ipl5scene = .data:0x816568E8; // type:object size:0x10 +sSettingAPTextNames__Q23ipl5scene = .data:0x816568F8; // type:object size:0x18 +sSettingAPNumberNames__Q23ipl5scene = .data:0x81656910; // type:object size:0x18 data:4byte lbl_81656928 = .data:0x81656928; // type:object size:0xD data:string lbl_81656935 = .data:0x81656935; // type:object size:0xC data:string lbl_81656941 = .data:0x81656941; // type:object size:0x9 data:string @@ -17093,7 +17093,7 @@ jumptable_81657D5C = .data:0x81657D5C; // type:object size:0x58 scope:local jumptable_81657DB8 = .data:0x81657DB8; // type:object size:0x28 scope:local jumptable_81657DE0 = .data:0x81657DE0; // type:object size:0x84 scope:local jumptable_81657E64 = .data:0x81657E64; // type:object size:0x2C scope:local -lbl_81657E90 = .data:0x81657E90; // type:object size:0x40 +gAtermDigestFill = .data:0x81657E90; // type:object size:0x40 @10010 = .data:0x81657ED0; // type:object size:0xC scope:local data:string @10021 = .data:0x81657EDC; // type:object size:0x13 scope:local data:string __vt__Q33ipl5scene9SettingBg = .data:0x81657EF0; // type:object size:0x4C @@ -22214,8 +22214,8 @@ lbl_816971D4 = .sdata:0x816971D4; // type:object size:0x8 data:wstring @12302 = .sdata:0x816971E5; // type:object size:0x5 scope:local data:string lbl_816971F0 = .sdata:0x816971F0; // type:object size:0x4 data:string displayState__Q23ipl5scene = .sdata:0x816971F8; // type:object size:0x4 data:4byte -lbl_81697200 = .sdata:0x81697200; // type:object size:0x4 data:4byte -lbl_81697204 = .sdata:0x81697204; // type:object size:0x6 data:string +s_socket = .sdata:0x81697200; // type:object size:0x4 data:4byte +s_manufacturer = .sdata:0x81697204; // type:object size:0x6 data:string lbl_8169720C = .sdata:0x8169720C; // type:object size:0x4 data:4byte lbl_81697210 = .sdata:0x81697210; // type:object size:0x8 lbl_81697218 = .sdata:0x81697218; // type:object size:0x4 data:4byte @@ -23458,7 +23458,7 @@ sHeapBuf__Q33ipl5scene8NetSetup = .sbss:0x81698BD8; // type:object size:0x4 data sHeap__Q33ipl5scene8NetSetup = .sbss:0x81698BDC; // type:object size:0x4 data:4byte mem1Buffer___Q33ipl5scene7Setting = .sbss:0x81698BE0; // type:object size:0x4 data:4byte mem2Buffer___Q33ipl5scene7Setting = .sbss:0x81698BE4; // type:object size:0x4 data:4byte -lbl_81698BE8 = .sbss:0x81698BE8; // type:object size:0x4 data:4byte +browserScrollDirection__Q23ipl5scene = .sbss:0x81698BE8; // type:object size:0x4 data:4byte mID__Q33ipl3ncd10NCDSetting = .sbss:0x81698BF0; // type:object size:0x2 data:2byte mMacNum__Q33ipl3ncd10NCDSetting = .sbss:0x81698BF4; // type:object size:0x4 data:4byte mStackPass__Q33ipl8parental8Parental = .sbss:0x81698BF8; // type:object size:0x4 @@ -23487,31 +23487,31 @@ startTimeHigh__Q23ipl5scene = .sbss:0x81698C60; // type:object size:0x4 data:4by startTimeLow__Q23ipl5scene = .sbss:0x81698C64; // type:object size:0x4 data:4byte active__Q23ipl5scene = .sbss:0x81698C68; // type:object size:0x1 data:byte messageSlot__Q23ipl5scene = .sbss:0x81698C6C; // type:object size:0x4 -lbl_81698C70 = .sbss:0x81698C70; // type:object size:0x4 data:4byte -lbl_81698C74 = .sbss:0x81698C74; // type:object size:0x4 data:4byte -lbl_81698C78 = .sbss:0x81698C78; // type:object size:0x8 data:byte -lbl_81698C80 = .sbss:0x81698C80; // type:object size:0x4 data:4byte -lbl_81698C84 = .sbss:0x81698C84; // type:object size:0x4 data:4byte -lbl_81698C88 = .sbss:0x81698C88; // type:object size:0x4 data:4byte -lbl_81698C8C = .sbss:0x81698C8C; // type:object size:0x4 data:4byte -lbl_81698C90 = .sbss:0x81698C90; // type:object size:0x4 data:4byte -lbl_81698C94 = .sbss:0x81698C94; // type:object size:0x4 data:4byte -lbl_81698C98 = .sbss:0x81698C98; // type:object size:0x4 data:4byte -lbl_81698C9C = .sbss:0x81698C9C; // type:object size:0x4 data:4byte -lbl_81698CA0 = .sbss:0x81698CA0; // type:object size:0x4 data:4byte -lbl_81698CA4 = .sbss:0x81698CA4; // type:object size:0x4 data:4byte -lbl_81698CA8 = .sbss:0x81698CA8; // type:object size:0x4 data:4byte -lbl_81698CAC = .sbss:0x81698CAC; // type:object size:0x4 data:4byte -lbl_81698CB0 = .sbss:0x81698CB0; // type:object size:0x4 data:4byte -lbl_81698CB4 = .sbss:0x81698CB4; // type:object size:0x4 data:4byte -lbl_81698CB8 = .sbss:0x81698CB8; // type:object size:0x4 data:4byte -lbl_81698CBC = .sbss:0x81698CBC; // type:object size:0x4 data:4byte -lbl_81698CC0 = .sbss:0x81698CC0; // type:object size:0x1 data:byte -lbl_81698CC4 = .sbss:0x81698CC4; // type:object size:0x4 data:4byte -lbl_81698CC8 = .sbss:0x81698CC8; // type:object size:0x8 -lbl_81698CD0 = .sbss:0x81698CD0; // type:object size:0x4 data:4byte -lbl_81698CD4 = .sbss:0x81698CD4; // type:object size:0x8 data:byte -lbl_81698CDC = .sbss:0x81698CDC; // type:object size:0x4 data:4byte +s_accessPointList = .sbss:0x81698C70; // type:object size:0x4 data:4byte +s_accessPointConfig = .sbss:0x81698C74; // type:object size:0x4 data:4byte +s_accessPointName = .sbss:0x81698C78; // type:object size:0x8 data:byte +s_connectionState = .sbss:0x81698C80; // type:object size:0x4 data:4byte +s_errorCode = .sbss:0x81698C84; // type:object size:0x4 data:4byte +s_socketStarted = .sbss:0x81698C88; // type:object size:0x4 data:4byte +s_responseBuffer = .sbss:0x81698C8C; // type:object size:0x4 data:4byte +gAtermState = .sbss:0x81698C90; // type:object size:0x4 data:4byte +gAtermResult = .sbss:0x81698C94; // type:object size:0x4 data:4byte +gAtermProgressCallback = .sbss:0x81698C98; // type:object size:0x4 data:4byte +gAtermAllocate = .sbss:0x81698C9C; // type:object size:0x4 data:4byte +gAtermRelease = .sbss:0x81698CA0; // type:object size:0x4 data:4byte +gAtermAllocation = .sbss:0x81698CA4; // type:object size:0x4 data:4byte +gAtermThreadStarted = .sbss:0x81698CA8; // type:object size:0x4 data:4byte +gAtermSelectedRecordIndex = .sbss:0x81698CAC; // type:object size:0x4 data:4byte +gAtermSocketReady = .sbss:0x81698CB0; // type:object size:0x4 data:4byte +gAtermSocketStarted = .sbss:0x81698CB4; // type:object size:0x4 data:4byte +gAtermMessageLength = .sbss:0x81698CB8; // type:object size:0x4 data:4byte +gAtermReplyLength = .sbss:0x81698CBC; // type:object size:0x4 data:4byte +gAtermMode = .sbss:0x81698CC0; // type:object size:0x1 data:byte +gAtermResponseMode = .sbss:0x81698CC4; // type:object size:0x4 data:4byte +gAtermAddressBuffer = .sbss:0x81698CC8; // type:object size:0x8 +gAtermProtocolState = .sbss:0x81698CD0; // type:object size:0x4 data:4byte +gAtermSelectedBssid = .sbss:0x81698CD4; // type:object size:0x8 data:byte +gAtermCancelRequested = .sbss:0x81698CDC; // type:object size:0x4 data:4byte zeroBuffer = .sbss:0x81698CE0; // type:object size:0x4 data:4byte sSysInit__19AxAdpcmSimplePlayer = .sbss:0x81698CE4; // type:object size:0x1 data:byte sSysPauseFlag__19AxAdpcmSimplePlayer = .sbss:0x81698CE5; // type:object size:0x1 data:byte diff --git a/src/scene/setting/iplSetting.cpp b/src/scene/setting/iplSetting.cpp index a93fb429..57ea9b6d 100644 --- a/src/scene/setting/iplSetting.cpp +++ b/src/scene/setting/iplSetting.cpp @@ -36,12 +36,6 @@ extern "C" int abs(int value); extern "C" void __VISetAdjustingValues(s32 horizontal, s32 vertical); -namespace ipl { - namespace scene { - static s32 browserScrollDirection; - } -} - namespace ipl { class SensitivityDrawing { public: @@ -149,6 +143,7 @@ namespace ipl { void* Setting::mem1Buffer_; void* Setting::mem2Buffer_; + static s32 browserScrollDirection; Setting::Setting(EGG::Heap* heap, int arg) : FaderSceneBase(heap) { unk_0x5C = 0; @@ -417,7 +412,7 @@ namespace ipl { "Setup/ScreenSave.html", "Setup/ScreenSave.html", "Setup/ScreenSave.html", "Setup/ScreenSave.html", "Setup/ScreenSave.html", "Setup/ScreenSave.html", - "Setup/ScreenSave.html", "Calendar"}; + "Setup/ScreenSave.html", "Setup/ScreenSave.html"}; char basePath[100]; char browserPath[100]; @@ -443,8 +438,8 @@ namespace ipl { snprintf(browserPath, sizeof(browserPath), basePath, regionCodes[regionIndex], languageCodes[System::getLanguage()], regionPages[regionIndex]); } else if (mInitialArgument == ARG_UNK_6) { - const char* pageNames[] = {"Display", "Sound", "Parental_Control", "Internet", - "Wiiconnect24", "Update", "Update"}; + const char* pageNames[] = {"Calendar", "Display", "Sound", "Parental_Control", + "Internet", "Wiiconnect24", "Update"}; int directPage; for (directPage = 0; directPage < 7; directPage++) { if (strstr(mpStringBuffer->netSettingArg, pageNames[directPage]) != NULL) { @@ -2167,8 +2162,8 @@ namespace ipl { const char* versionSuffix[12] = {"J", "U", "E", "", "", "J", "K", "", "", "", "", "C"}; u32 versionData[24] = { 0x00010008, 0x48414B4A, 0x00010008, 0x48414B45, 0x00010008, 0x48414B50, - 0, 0, 0, 0, 0, 0, 0x00010008, 0x48414B4A, 0x00010008, 0x48414B4B, - 0, 0, 0, 0, 0, 0, 0x00010008, 0x48414B43, + 0, 0, 0, 0, 0x00010008, 0x48414B4A, 0x00010008, 0x48414B4B, + 0, 0, 0, 0, 0, 0, 0, 0, 0x00010008, 0x48414B43, }; u32 region = System::getRegion(); sprintf(mpStringBuffer->version, "Ver. %d.%d%s", 4, 3, versionSuffix[region]); @@ -3849,5 +3844,12 @@ namespace ipl { return mIsResetAcceptable; } + extern const wchar_t scNumber[10] = { + L'0', L'1', L'2', L'3', L'4', L'5', L'6', L'7', L'8', L'9' + }; + extern const wchar_t scNumber2[10] = { + L'0', L'1', L'2', L'3', L'4', L'5', L'6', L'7', L'8', L'9' + }; + } // namespace scene } // namespace ipl diff --git a/src/scene/setting/iplUSBAP.cpp b/src/scene/setting/iplUSBAP.cpp index 9032981e..d8489143 100644 --- a/src/scene/setting/iplUSBAP.cpp +++ b/src/scene/setting/iplUSBAP.cpp @@ -5,7 +5,7 @@ static OSThread usbapThread; static u8 usbapStack[4096]; static OSMessageQueue usbapMessageQ; -static wchar_t usbapNickname[11]; +static wchar_t usbapNickname[12]; static OSMessage registrationMessage; static void (*registrationCallback)(int); static s32 registrationMode; diff --git a/tools/decomp-assist/data-d3.attempts.md b/tools/decomp-assist/data-d3.attempts.md new file mode 100644 index 00000000..814a9c01 --- /dev/null +++ b/tools/decomp-assist/data-d3.attempts.md @@ -0,0 +1,299 @@ +# data-d3 attempts + +Scope: data only. Applied unslop to the log and final report. No instruction-count gain is required for a data-only improvement; instruction-exact counts must not decrease. +Base: eecf16f0, identical to fetched origin/main. + +iplSetting: initial instruction-exact 105/112. Initial pool identical. +iplUSBAP: initial instruction-exact 4/4. Initial pool identical. +AOSS: initial instruction-exact 15/21. Initial pool identical. +ATERM: initial instruction-exact 14/26. Initial pool identical. + +## Relocation identity evidence + +AOSS +lbl_81698C74 => s_accessPointConfig via AOSSi_Init+0xa4,AOSSi_Init+0xb8,AOSSi_Init+0xf8 +lbl_81698C70 => s_accessPointList via AOSSi_Init+0xbc,AOSSi_Init+0xd0,AOSSi_Init+0x110 +lbl_81698C8C => s_responseBuffer via AOSSi_Init+0xe8,AOSSi_Init+0x13c,AOSSSendDiscoveryRequest+0x14 +lbl_81697200 => s_socket via AOSSi_Init+0x174 +lbl_81698C88 => s_socketStarted via AOSSi_Init+0x184,AOSSi_Init+0x194,AOSSConnectAndAwaitHost+0x44 +lbl_81697204 => s_manufacturer via AOSSHandleDiscoverReply+0x40,AOSSHandleDiscoverReply+0x54,AOSSHandleAuthReply+0x4c +lbl_81698C84 => s_errorCode via AOSSHandleDiscoverReply+0x110,AOSSHandleDiscoverReply+0x134,AOSSHandleDiscoverReply+0x184 +lbl_81698C80 => s_connectionState via AOSSHandleDiscoverReply+0x1b8 +lbl_81698C78 => s_accessPointName via AOSSCheckAccessPointName+0x8,AOSSCheckAccessPointName+0x1c,AOSSCheckAccessPointName+0x98 +ATERM +lbl_81698CDC => gAtermCancelRequested via ATERMScanAccessPoints+0x148,ATERMi_ApConfigStart+0xe8,ATERMi_ApConfigEnd+0x30 +lbl_81698C90 => gAtermState via ATERMi_ApConfigStart+0x18,ATERMi_ApConfigStart+0x44,ATERMi_ApConfigStart+0xb0 +lbl_8169721C => gAtermScanLimit via ATERMi_ApConfigStart+0x40 +lbl_81698C98 => gAtermProgressCallback via ATERMi_ApConfigStart+0x48,ATERMi_ApConfigStart+0x15c,ATERMi_ApConfigEnd+0x1d0 +lbl_81698C9C => gAtermAllocate via ATERMi_ApConfigStart+0x4c +lbl_81698CA0 => gAtermRelease via ATERMi_ApConfigStart+0x50,ATERMi_ApConfigEnd+0x14c +lbl_81697220 => gAtermScanBufferSize via ATERMi_ApConfigStart+0x54,ATERMi_ApConfigStart+0x80 +lbl_81698CA4 => gAtermAllocation via ATERMi_ApConfigStart+0x64,ATERMi_ApConfigEnd+0x140,ATERMi_ApConfigEnd+0x15c +lbl_81698C94 => gAtermResult via ATERMi_ApConfigStart+0x78,ATERMi_ApConfigStart+0x154,ATERMi_ApConfigEnd+0x1c8 +lbl_81697218 => gAtermDeadline via ATERMi_ApConfigStart+0xf4,ATERMi_ApConfigStart+0x104,ATERMi_ApConfigStart+0x148 +lbl_81698CA8 => gAtermThreadStarted via ATERMi_ApConfigStart+0x180,ATERMi_ApConfigEnd+0x1c,ATERMi_ApConfigEnd+0x168 +iplSetting +lbl_816970E9 => @25504 via prepare__Q33ipl5scene7SettingFv+0xe8,prepare__Q33ipl5scene7SettingFv+0x118,prepare__Q33ipl5scene7SettingFv+0x148 +lbl_816970ED => @25507 via prepare__Q33ipl5scene7SettingFv+0x178 +lbl_816970F1 => @25617 via create__Q33ipl5scene7SettingFv+0x60 +lbl_816970F6 => @25619 via create__Q33ipl5scene7SettingFv+0xc8,create__Q33ipl5scene7SettingFv+0x11c,create__Q33ipl5scene7SettingFv+0x1b4 +lbl_816970FA => @25626 via create__Q33ipl5scene7SettingFv+0x1c4 +lbl_81697101 => @25627 via create__Q33ipl5scene7SettingFv+0x1e0 +lbl_81697010 => sSettingArrowNames__Q23ipl5scene via create__Q33ipl5scene7SettingFv+0x48c,initScroll__Q33ipl5scene7SettingFv+0x26c,initScroll__Q33ipl5scene7SettingFv+0x2f8 +lbl_81694C1C => @25796 via updateController___Q33ipl5scene7SettingFv+0x64,updateController___Q33ipl5scene7SettingFv+0x1a8 +lbl_8169716E => @26352 via calcFadeout__Q33ipl5scene7SettingFv+0x1d0 +lbl_8169718C => @26851 via initProxy__Q33ipl5scene7SettingFv+0x5c,initMTU__Q33ipl5scene7SettingFv+0x34 +lbl_816971B1 => @27556 via initScroll__Q33ipl5scene7SettingFv+0x28,initScroll__Q33ipl5scene7SettingFv+0x144 +lbl_816971B7 => @27557 via initScroll__Q33ipl5scene7SettingFv+0x50,initScroll__Q33ipl5scene7SettingFv+0x16c +lbl_816971BD => @27558 via initScroll__Q33ipl5scene7SettingFv+0x78,initScroll__Q33ipl5scene7SettingFv+0x194 +lbl_816971C3 => @27559 via initScroll__Q33ipl5scene7SettingFv+0xa0,initScroll__Q33ipl5scene7SettingFv+0x1bc +lbl_8169719F => @27405 via initScroll__Q33ipl5scene7SettingFv+0xc8,initScroll__Q33ipl5scene7SettingFv+0x1e4 +lbl_816971AB => @27407 via initScroll__Q33ipl5scene7SettingFv+0xf0,initScroll__Q33ipl5scene7SettingFv+0x20c,start_trig_event__Q33ipl5scene7SettingFPCc+0x200 +lbl_816971C9 => @27560 via initScroll__Q33ipl5scene7SettingFv+0x2d0,initScroll__Q33ipl5scene7SettingFv+0x374 +lbl_816971A5 => @27406 via start_trig_event__Q33ipl5scene7SettingFPCc+0x1b4 +lbl_816971D0 => @27862 via validateEULA___Q33ipl5scene7SettingFv+0xa0,validateEULA___Q33ipl5scene7SettingFv+0x104 +lbl_816971D4 => @28152 via makeErrorMessage__Q33ipl5scene7SettingFv+0x78,makeSupportCode__Q33ipl5scene7SettingFv+0x54 +lbl_81694C38 => @28153 via makeErrorMessage__Q33ipl5scene7SettingFv+0x150,makeErrorMessage__Q33ipl5scene7SettingFv+0x1b8 +lbl_81697101 => @25626 via waitStart__Q33ipl5scene7SettingFv+0x34,waitFinish__Q33ipl5scene7SettingFv+0x28 + + +## Initial data audit + +- iplSetting: .data raw bytes identical, but extracted symbols combine unrelated literals and pointer arrays, and the retail Setting vtable's 252-byte symbol includes deduplicated weak vtables. Source has 104-byte Setting, 92-byte PaneManager, 24-byte EventHandler and 32-byte Interface vtables. No size edits to mask this. .rodata has one real title-ID initializer mismatch and two missing 20-byte digit tables. Other small sections differ only in trailing linker alignment or symbol identity. +- iplUSBAP: all bytes in the common section extents agree. usbapNickname source is 22 bytes versus the extracted 24-byte extent. The target copies 20 nickname bytes, so the two extra target bytes may be linker alignment; do not enlarge the buffer without further evidence. +- AOSS: all raw data bytes agree. .sbss identities are proven by relocations in instruction-exact functions. Source symbol enumeration differs from target enumeration; objdiff pairs unrelated anonymous globals. Rename only proven target symbols, preserving every byte and size. +- ATERM: all raw bytes agree, including the digest initializer at .data+0xd8. .data consists of compiler-generated switch tables and that initializer; differences are relocation destinations from nonexact functions. .sbss pairs anonymous globals by the wrong enumeration order. gAtermSelectedBssid is six bytes in an eight-byte extracted extent; no unsupported enlargement. + +## AOSS accepted candidate + +Renamed nine anonymous target data symbols using exact-function relocation identity. No addresses, sizes, splits or section bytes changed. .sbss increased from 42.857143% to 100%; matched_data 3896 -> 3928. Every non-text section is 100%. Existing five code mismatches remain outside this data assignment. + +## iplSetting title IDs, attempt 1 + +Corrected the initializer's region 5 and 6 entries from slots 6 and 7 to slots 5 and 6, matching the 96 retail bytes. Source instructions unchanged. Data score unchanged because symbol pairing excludes this initializer. This is a real runtime correction, not an objdiff score trick. + +## ATERM relocation identities, attempt 1 + +Named proven globals without altering any address or size. Exact ATERMi_ApConfigStart/End relocations prove state, result, allocation, callbacks and thread-started identities. ATERMi_AutoConfigThread proves socket-started at .sbss+0x24 and socket-ready at +0x20. ATERMBuildAssociationRequest relocations prove address buffer at +0x38. RunConfigProtocol target uses state at +0x40 throughout, response mode at +0x34 in receive calls, message length at +0x28, reply length at +0x2c and byte mode at +0x30, matching the same roles and source definitions. MD5Update calls reference the 64-byte .data+0xd8 initializer starting with 0x80, proving gAtermDigestFill. Target relocations at .text+0x1f8a/0x1fae correspond to source +0x1f96/0x1fc6. Bytes and total size unchanged. + +## iplUSBAP nickname, attempt 1 + +Restored the UTF16 nickname object's 24-byte target extent as wchar_t[12]. The prior wchar_t[11] was 22 bytes. Target symbol usbapNickname has a distinct 24-byte allocation; only the first 20 bytes are copied by registration. This changes no instruction or following object offset and adds no dummy object. + +## ATERM selected address, attempt 2 + +Restored the selected-BSSID storage's eight-byte target allocation as u8[8], retaining all six-byte MAC copies. Named it using ATERMDiscoverAccessPoints and BuildAssociationRequest relocations. No subsequent offsets change. .sbss is now 100%, matched_data 18504 -> 18584; instruction-exact remains 14/26. The full quick gate passed with zero regressions and the correct DOL hash. + +## iplSetting digit tables, attempts 1 and 2 + +1. Added the two real ten-element UTF16 digit tables from retail .rodata+0x258 and +0x26c as static const wchar_t. MWCC removed both unreferenced internal tables; output remained 600 bytes. +2. Gave the same typed const objects external linkage so MWCC emits their proven data without forced sections or force-active entries. Target symbol names are scNumber and scNumber2 in namespace ipl::scene. + +## iplSetting table identity and definition order, attempt 3 + +Named the three genuine pointer arrays at .data+0, +0x10 and +0x28 using create/initAP/redrawAP relocations and each table's pointed-to text. Their element counts and target sizes agree, with no size changes. Target relocations +0x6f76/+0x6f7e and source +0x701a/+0x7022 reference the four AP-button names; +0x6c5e/+0x6c6a and source +0x6cfa/+0x6d06 reference the six AP-text names; +0x67b6/+0x67ba and source +0x6846/+0x684a reference the six AP-number names. Reordered browserScrollDirection after the two existing Setting buffer definitions so the actual .sbss symbol offsets become 0, 4, 8 in target order. Named its target using updateScroll's load/store roles. All target addresses, sizes and totals remain unchanged. + +Digit tables with external linkage emit at the exact target offsets 0x258 and 0x26c. The complete 640 .rodata bytes now agree, including the corrected title IDs. Score is 38.50412%, so the remaining cause is symbol/relocation partitioning rather than missing bytes. + +## Required source-level rounds on all remaining functions + +Each trial is compiled independently after the pool check. Only an exact-function gain with no lost instruction-exact functions or matched data can be retained. Three distinct declaration/control-expression trials per remaining function; failed candidates are restored. +createBrowser__Q33ipl5scene7SettingFv attempt 1: readonly mem1 allocation size; source 019fbd2fcb18; objdiff 98.8505%; instructions 299/301, diffs 114; unit exact 105; data 1040/5696. +createBrowser__Q33ipl5scene7SettingFv attempt 2: readonly mem2 allocation size; source 4b07d3801ad0; objdiff 98.8505%; instructions 299/301, diffs 114; unit exact 105; data 1040/5696. +createBrowser__Q33ipl5scene7SettingFv attempt 3: readonly mem1 heap pointer; source b2b32e5fe6d8; objdiff 98.8505%; instructions 299/301, diffs 114; unit exact 105; data 1040/5696. +draw__Q33ipl5scene7SettingFv attempt 1: reverse independent declarations u32 left;,u32 top;,u32 width;; source 52a11cf5440e; objdiff 91.52215%; instructions 595/632, diffs 570; unit exact 105; data 1040/5696. +draw__Q33ipl5scene7SettingFv attempt 2: rotate independent declarations u32 left;,u32 top;,u32 width;; source c3c6cea18781; objdiff 91.52057%; instructions 595/632, diffs 570; unit exact 105; data 1040/5696. +draw__Q33ipl5scene7SettingFv attempt 3: swap first independent declarations u32 left;,u32 top;,u32 width;; source 6848b182e5f8; objdiff 91.523735%; instructions 595/632, diffs 570; unit exact 105; data 1040/5696. +initKeyboard__Q33ipl5scene7SettingFPCc attempt 1: swap independent row/string limits; source f522f2f506e7; objdiff 98.07981%; instructions 215/213, diffs 195; unit exact 105; data 1040/5696. +initKeyboard__Q33ipl5scene7SettingFPCc attempt 2: readonly product area; source ba8ec44cca9c; objdiff 98.38498%; instructions 215/213, diffs 195; unit exact 105; data 1040/5696. +initKeyboard__Q33ipl5scene7SettingFPCc attempt 3: move invalid input declaration after limits; source 85624a719bc3; objdiff 97.99531%; instructions 215/213, diffs 195; unit exact 105; data 1040/5696. +calcKeyboard__Q33ipl5scene7SettingFv attempt 1: initialize selected form text; source 9e80dfbbf396; objdiff 98.0%; instructions 292/290, diffs 258; unit exact 105; data 1040/5696. +calcKeyboard__Q33ipl5scene7SettingFv attempt 2: readonly form identifiers; source 61ea4d9a22ca; objdiff 98.0%; instructions 292/290, diffs 258; unit exact 105; data 1040/5696. +calcKeyboard__Q33ipl5scene7SettingFv attempt 3: explicit pressOK comparison; source 118553a6ca4d; objdiff 98.0%; instructions 292/290, diffs 258; unit exact 105; data 1040/5696. +convertRevIP__Q33ipl5scene7SettingFPUcPCc attempt 1: reverse independent declarations char ascii[20];,int count = 0;,int index;; source a756d29859a8; objdiff 98.15069%; instructions 73/73, diffs 21; unit exact 105; data 1040/5696. +convertRevIP__Q33ipl5scene7SettingFPUcPCc attempt 2: rotate independent declarations char ascii[20];,int count = 0;,int index;; source 6bdcf9862666; objdiff 98.69863%; instructions 73/73, diffs 16; unit exact 105; data 1040/5696. +convertRevIP__Q33ipl5scene7SettingFPUcPCc attempt 3: swap first independent declarations char ascii[20];,int count = 0;,int index;; source 358ff4860b8a; objdiff 98.69863%; instructions 73/73, diffs 16; unit exact 105; data 1040/5696. +scanAP__Q33ipl5scene7SettingFv attempt 1: readonly animation index; source dee07bb51a23; objdiff 95.39338%; instructions 266/272, diffs 160; unit exact 105; data 1040/5696. +scanAP__Q33ipl5scene7SettingFv attempt 2: implicit count test; source 8accc6a48be9; objdiff 95.39338%; instructions 266/272, diffs 160; unit exact 105; data 1040/5696. +scanAP__Q33ipl5scene7SettingFv attempt 3: negated zero offset test; source 2580f28a59e6; objdiff 95.39338%; instructions 266/272, diffs 160; unit exact 105; data 1040/5696. +AOSS_Init_old attempt 1: reverse independent declarations s16 initialWait;,u64 tickRemainder;,AOSSReceiveBuffer* packetBuffer;; source 5c30692bda4a; objdiff 93.78725%; instructions 1575/1584, diffs 1524; unit exact 15; data 3928/3928. +AOSS_Init_old attempt 2: rotate independent declarations s16 initialWait;,u64 tickRemainder;,AOSSReceiveBuffer* packetBuffer;; source 7351eb86a582; objdiff 93.78725%; instructions 1575/1584, diffs 1524; unit exact 15; data 3928/3928. +AOSS_Init_old attempt 3: swap first independent declarations s16 initialWait;,u64 tickRemainder;,AOSSReceiveBuffer* packetBuffer;; source 706a211f5578; objdiff 93.78725%; instructions 1575/1584, diffs 1524; unit exact 15; data 3928/3928. +AOSSDecryptMessage attempt 1: reverse independent declarations u8* decryptedData;,u32 controlFlags;,u32 dataLength;; source f7b3ac943a8c; objdiff 97.3676%; instructions 321/321, diffs 113; unit exact 15; data 3928/3928. +AOSSDecryptMessage attempt 2: rotate independent declarations u8* decryptedData;,u32 controlFlags;,u32 dataLength;; source 7ffd1478855d; objdiff 97.3676%; instructions 321/321, diffs 113; unit exact 15; data 3928/3928. +AOSSDecryptMessage attempt 3: swap first independent declarations u8* decryptedData;,u32 controlFlags;,u32 dataLength;; source fec2235f89c3; objdiff 97.74143%; instructions 321/321, diffs 89; unit exact 15; data 3928/3928. +AOSSApplyAuthOptions attempt 1: reverse independent declarations AOSSConfigRecord* configRecord;,AOSSStoredConfig* wep40Config;,AOSSStoredConfig* wep104Config;; source 95a9300215fa; objdiff 98.59649%; instructions 114/114, diffs 26; unit exact 15; data 3928/3928. +AOSSApplyAuthOptions attempt 2: rotate independent declarations AOSSConfigRecord* configRecord;,AOSSStoredConfig* wep40Config;,AOSSStoredConfig* wep104Config;; source bf6d81c0ba25; objdiff 98.77193%; instructions 114/114, diffs 22; unit exact 15; data 3928/3928. +AOSSApplyAuthOptions attempt 3: swap first independent declarations AOSSConfigRecord* configRecord;,AOSSStoredConfig* wep40Config;,AOSSStoredConfig* wep104Config;; source f1a515f52069; objdiff 98.77193%; instructions 114/114, diffs 22; unit exact 15; data 3928/3928. +AOSSSendHelloRequest attempt 1: reverse independent declarations u32 checksum;,u16 nonce;,u32 stateLength;; source d059ca65aa5d; objdiff 92.190475%; instructions 271/273, diffs 254; unit exact 15; data 3928/3928. +AOSSSendHelloRequest attempt 2: rotate independent declarations u32 checksum;,u16 nonce;,u32 stateLength;; source a7659e25e005; objdiff 92.190475%; instructions 271/273, diffs 254; unit exact 15; data 3928/3928. +AOSSSendHelloRequest attempt 3: swap first independent declarations u32 checksum;,u16 nonce;,u32 stateLength;; source 844865b1bcd2; objdiff 92.190475%; instructions 271/273, diffs 254; unit exact 15; data 3928/3928. +AOSSXorBufferWithKey attempt 1: reverse independent declarations u8* packetHalf;,s32 round;,u8* keyMask;; source f82af7feda7f; objdiff 98.29932%; instructions 147/147, diffs 44; unit exact 15; data 3928/3928. +AOSSXorBufferWithKey attempt 2: rotate independent declarations u8* packetHalf;,s32 round;,u8* keyMask;; source 41287dd9e01e; objdiff 98.061226%; instructions 147/147, diffs 50; unit exact 15; data 3928/3928. +AOSSXorBufferWithKey attempt 3: swap first independent declarations u8* packetHalf;,s32 round;,u8* keyMask;; source e19bed9fdc58; objdiff 98.23129%; instructions 147/147, diffs 45; unit exact 15; data 3928/3928. +ATERMStartNetworkStack attempt 1: reverse independent declarations int status;,int waitCount = 0;,u32 convertedHost;; source 23d42a536d39; objdiff 97.91558%; instructions 154/154, diffs 51; unit exact 14; data 18584/18864. +ATERMStartNetworkStack attempt 2: rotate independent declarations int status;,int waitCount = 0;,u32 convertedHost;; source 347ce0ac1c10; objdiff 97.91558%; instructions 154/154, diffs 51; unit exact 14; data 18584/18864. +ATERMStartNetworkStack attempt 3: swap first independent declarations int status;,int waitCount = 0;,u32 convertedHost;; source ba2fac154a72; objdiff 97.91558%; instructions 154/154, diffs 51; unit exact 14; data 18584/18864. +ATERMFindChangedApRecord attempt 1: reverse independent declarations u32 previousIndex;,u32 currentIndex = 0;,int found = 0;; source 6206e4449cb5; objdiff 99.02299%; instructions 174/174, diffs 31; unit exact 14; data 18584/18864. +ATERMFindChangedApRecord attempt 2: rotate independent declarations u32 previousIndex;,u32 currentIndex = 0;,int found = 0;; source 4d6f8c454685; objdiff 99.56896%; instructions 174/174, diffs 15; unit exact 14; data 18584/18864. +ATERMFindChangedApRecord attempt 3: swap first independent declarations u32 previousIndex;,u32 currentIndex = 0;,int found = 0;; source 479cf7027f9d; objdiff 99.56896%; instructions 174/174, diffs 15; unit exact 14; data 18584/18864. +ATERMDiscoverAccessPoints attempt 1: reverse independent declarations s32 result = -1;,u32 scanBufferBytes;,u32 recordIndex;; source 38bdcd667907; objdiff 95.304184%; instructions 261/263, diffs 221; unit exact 14; data 18584/18864. +ATERMDiscoverAccessPoints attempt 2: rotate independent declarations s32 result = -1;,u32 scanBufferBytes;,u32 recordIndex;; source cf149ff96201; objdiff 95.304184%; instructions 261/263, diffs 221; unit exact 14; data 18584/18864. +ATERMDiscoverAccessPoints attempt 3: swap first independent declarations s32 result = -1;,u32 scanBufferBytes;,u32 recordIndex;; source fa4d3117c7a2; objdiff 95.304184%; instructions 261/263, diffs 221; unit exact 14; data 18584/18864. +ATERMBuildEncryptedMessage attempt 1: reverse independent declarations u8* end;,u8* cursor;,u32 checksum = 0;; source 9d1d353a8172; objdiff 98.072914%; instructions 96/96, diffs 28; unit exact 14; data 18584/18864. +ATERMBuildEncryptedMessage attempt 2: rotate independent declarations u8* end;,u8* cursor;,u32 checksum = 0;; source c8cbce624a1a; objdiff 98.072914%; instructions 96/96, diffs 28; unit exact 14; data 18584/18864. +ATERMBuildEncryptedMessage attempt 3: swap first independent declarations u8* end;,u8* cursor;,u32 checksum = 0;; source f0f6bbeb6b04; objdiff 99.791664%; instructions 96/96, diffs 4; unit exact 14; data 18584/18864. +ATERMBuildAssociationRequest attempt 1: reverse independent declarations u8 scanAddress[8];,u8 interfaceMacAddress[8];,char interfaceMacText[32];; source f5a4706f525e; objdiff 93.3609%; instructions 133/133, diffs 79; unit exact 14; data 18584/18864. +ATERMBuildAssociationRequest attempt 2: rotate independent declarations u8 scanAddress[8];,u8 interfaceMacAddress[8];,char interfaceMacText[32];; source ab3c0949359b; objdiff 93.3609%; instructions 133/133, diffs 79; unit exact 14; data 18584/18864. +ATERMBuildAssociationRequest attempt 3: swap first independent declarations u8 scanAddress[8];,u8 interfaceMacAddress[8];,char interfaceMacText[32];; source 4ba94c960472; objdiff 93.3609%; instructions 133/133, diffs 79; unit exact 14; data 18584/18864. +ATERMParseAssociationResponse attempt 1: reverse independent declarations u8* optionValue;,u16* responseEnd;,u32 optionType;; source ce08a2035d61; objdiff 98.9781%; instructions 137/137, diffs 26; unit exact 14; data 18584/18864. +ATERMParseAssociationResponse attempt 2: rotate independent declarations u8* optionValue;,u16* responseEnd;,u32 optionType;; source 504def96220c; objdiff 98.90511%; instructions 137/137, diffs 28; unit exact 14; data 18584/18864. +ATERMParseAssociationResponse attempt 3: swap first independent declarations u8* optionValue;,u16* responseEnd;,u32 optionType;; source e8f37744718f; objdiff 99.014595%; instructions 137/137, diffs 25; unit exact 14; data 18584/18864. +ATERMRunConfigProtocol attempt 1: reverse independent declarations u8 digestLength[8];,s32 socket = 0;,s32 result = -5;; source 79f186c37484; objdiff 87.43323%; instructions 972/951, diffs 946; unit exact 14; data 18584/18864. +ATERMRunConfigProtocol attempt 2: rotate independent declarations u8 digestLength[8];,s32 socket = 0;,s32 result = -5;; source 89e99ad28a12; objdiff 87.43323%; instructions 972/951, diffs 946; unit exact 14; data 18584/18864. +ATERMRunConfigProtocol attempt 3: swap first independent declarations u8 digestLength[8];,s32 socket = 0;,s32 result = -5;; source e938c8fda52f; objdiff 87.43323%; instructions 972/951, diffs 946; unit exact 14; data 18584/18864. +ATERMi_AutoConfigThread attempt 1: swap independent final-state declarations; source 2765e2a67e64; objdiff 94.75%; instructions 40/40, diffs 3; unit exact 14; data 18584/18864. +ATERMi_AutoConfigThread attempt 2: readonly protocol return; source 16e2c983b7db; objdiff 94.75%; instructions 40/40, diffs 3; unit exact 14; data 18584/18864. +ATERMi_AutoConfigThread attempt 3: implicit socket-started test; source 841ec1376692; objdiff 94.75%; instructions 40/40, diffs 3; unit exact 14; data 18584/18864. +ATERMAesKeyWrap attempt 1: reverse independent declarations u32 initialValue[2];,u8* outputBlock;,s32 blockOffset;; source 85b71a968e5f; objdiff 99.0%; instructions 117/117, diffs 20; unit exact 14; data 18584/18864. +ATERMAesKeyWrap attempt 2: rotate independent declarations u32 initialValue[2];,u8* outputBlock;,s32 blockOffset;; source 1b43fa7e9bd2; objdiff 99.0%; instructions 117/117, diffs 20; unit exact 14; data 18584/18864. +ATERMAesKeyWrap attempt 3: swap first independent declarations u32 initialValue[2];,u8* outputBlock;,s32 blockOffset;; source ed2e22983183; objdiff 99.0%; instructions 117/117, diffs 20; unit exact 14; data 18584/18864. +ATERMAesExpandEncryptKey attempt 1: reverse independent declarations u32 keyWord;,u32 fourthWord;,u32 firstWord;; source 61b1be054e4c; objdiff 98.94403%; instructions 268/268, diffs 49; unit exact 14; data 18584/18864. +ATERMAesExpandEncryptKey attempt 2: rotate independent declarations u32 keyWord;,u32 fourthWord;,u32 firstWord;; source 4cf5bc24589b; objdiff 98.94403%; instructions 268/268, diffs 49; unit exact 14; data 18584/18864. +ATERMAesExpandEncryptKey attempt 3: swap first independent declarations u32 keyWord;,u32 fourthWord;,u32 firstWord;; source 6615e5cd1f74; objdiff 98.94403%; instructions 268/268, diffs 49; unit exact 14; data 18584/18864. +ATERMMd5Update attempt 1: reverse independent declarations u32 bytesToFill;,u32 copiedBytes;,u32 index;; source fd011eb98c20; objdiff 91.263885%; instructions 139/144, diffs 115; unit exact 14; data 18584/18864. +ATERMMd5Update attempt 2: rotate independent declarations u32 bytesToFill;,u32 copiedBytes;,u32 index;; source 35afeb8baa9e; objdiff 91.263885%; instructions 139/144, diffs 115; unit exact 14; data 18584/18864. +ATERMMd5Update attempt 3: swap first independent declarations u32 bytesToFill;,u32 copiedBytes;,u32 index;; source 56d167f0051a; objdiff 91.263885%; instructions 139/144, diffs 115; unit exact 14; data 18584/18864. + +## Final open-function coverage + +createBrowser__Q33ipl5scene7SettingFv: 98.8505% remains after 3 distinct compiled source trials. No partial trial retained. +draw__Q33ipl5scene7SettingFv: 91.525314% remains after 3 distinct compiled source trials. No partial trial retained. +initKeyboard__Q33ipl5scene7SettingFPCc: 98.38498% remains after 3 distinct compiled source trials. No partial trial retained. +calcKeyboard__Q33ipl5scene7SettingFv: 98.0% remains after 3 distinct compiled source trials. No partial trial retained. +convertRevIP__Q33ipl5scene7SettingFPUcPCc: 98.69863% remains after 3 distinct compiled source trials. No partial trial retained. +scanAP__Q33ipl5scene7SettingFv: 95.39338% remains after 3 distinct compiled source trials. No partial trial retained. +AOSS_Init_old: 93.78725% remains after 3 distinct compiled source trials. No partial trial retained. +AOSSDecryptMessage: 97.74143% remains after 3 distinct compiled source trials. No partial trial retained. +AOSSApplyAuthOptions: 98.77193% remains after 3 distinct compiled source trials. No partial trial retained. +AOSSSendHelloRequest: 92.190475% remains after 3 distinct compiled source trials. No partial trial retained. +AOSSXorBufferWithKey: 98.605446% remains after 3 distinct compiled source trials. No partial trial retained. +ATERMStartNetworkStack: 97.91558% remains after 3 distinct compiled source trials. No partial trial retained. +ATERMFindChangedApRecord: 99.56896% remains after 3 distinct compiled source trials. No partial trial retained. +ATERMDiscoverAccessPoints: 95.304184% remains after 3 distinct compiled source trials. No partial trial retained. +ATERMBuildEncryptedMessage: 99.791664% remains after 3 distinct compiled source trials. No partial trial retained. +ATERMBuildAssociationRequest: 93.44361% remains after 3 distinct compiled source trials. No partial trial retained. +ATERMParseAssociationResponse: 99.56204% remains after 3 distinct compiled source trials. No partial trial retained. +ATERMRunConfigProtocol: 87.43323% remains after 3 distinct compiled source trials. No partial trial retained. +ATERMi_AutoConfigThread: 94.75% remains after 3 distinct compiled source trials. No partial trial retained. +ATERMAesKeyWrap: 99.0% remains after 3 distinct compiled source trials. No partial trial retained. +ATERMAesExpandEncryptKey: 98.94403% remains after 3 distinct compiled source trials. No partial trial retained. +ATERMMd5Update: 91.263885% remains after 3 distinct compiled source trials. No partial trial retained. +Every remaining nonexact function has three compiled trials. Both completed data units remain complete; unresolved data needs the evidence review below. + +## iplSetting browser page initializers, attempt 4 + +A normalized relocation audit found seven real .rodata pointer mismatches that the raw-byte comparison missed. The final region-page entry at .rodata+0x188 must be Setup/ScreenSave.html. The seven direct-page names at +0x18c must be Calendar, Display, Sound, Parental_Control, Internet, Wiiconnect24, Update. Source incorrectly put Calendar in the region pages and duplicated Update in the direct pages. Corrected these ordinary literal initializers without changing either array's count or pool order. All 60 .rodata relocations now agree after resolving section-relative destinations. All 640 raw bytes agree. Objdiff .rodata is now 100%, matched_data 1040 -> 1680. Code scores and instruction-exact counts are unchanged. + +This audit supersedes the earlier suggestion that symbol partitioning alone explained the .rodata score. Relocation destinations must be checked as well as raw bytes. + +## Remaining data sections + +- iplSetting .data: 4016 raw bytes agree, but 104 normalized relocation entries differ. Of these, 73 are switch-table destinations in nonexact initKeyboard, calcKeyboard and scanAP. The other 31 are emitted weak PaneManager/EventHandler/Interface vtable slots where the original DOL extraction has zero bytes and no relocations. Original Setting's 252-byte symbol covers its actual 104-byte vtable plus those 148 deduplicated weak bytes. No target symbol sizes were changed, no tables were replaced with assembly, and no dummy objects were added. The 31 weak slots are the allowed extraction exception; the 73 switch entries are genuine remaining differences. Each affecting function has three distinct compiled attempts above. +- ATERM .data: 280 raw bytes agree, but all 11 entries of the RunConfigProtocol switch table at .data+0xac differ in function-relative destinations. The first 43 jump-table entries agree, and the real 64-byte digest initializer agrees. RunConfigProtocol is 972 instructions versus 951 target instructions. Three declaration-order trials did not reduce this mismatch. It needs code matching before this section can reach 100%. +- iplUSBAP and AOSS: every reported non-text section is 100%, and matched_data equals total_data. +- extab/extabindex: absent in both original and source for all four units. No unmatched exception tables are omitted from this audit. + +No split boundaries or symbol sizes changed. Naming corrections only affect the four assigned units. All three-trial candidates were restored; no fuzzy code edits were retained. The data goal is not complete for iplSetting or ATERM. + +## ATERM allocation audit and correction + +The first full gate passed, but a fresh physical-layout audit found that u8[8] made MWCC align gAtermSelectedBssid to eight bytes. It moved the object from target .sbss+0x44 to +0x48, moved cancellation from +0x4c to +0x50 and grew .sbss from 80 to 84 bytes. Objdiff still reported .sbss 100% because it matched named objects independently of placement. That score was insufficient evidence; the eight-byte source allocation is reverted. + +Three further compiled layout trials were rejected: +1. A typed union with a six-byte address and two-word view still occupied +0x48 and grew the section to 84 bytes. +2. u8[8] with ATTRIBUTE_ALIGN(4) still occupied +0x48 and grew the section to 84 bytes. +3. u8[8] with prefix __declspec(align(4)) still occupied +0x48 and grew the section to 84 bytes. + +The final source retains the original six-byte MAC object at +0x44 and cancellation at +0x4c. .sbss is exactly 80 zero bytes, and every physical object start agrees with the target. The target's eight-byte symbol extent appears to include two bytes of inter-object alignment. I did not shrink its symbol or add padding to force the score. Final .sbss score is 94.80519%, matched_data remains 18504, and ATERM's data goal remains incomplete. This supersedes the earlier claimed .sbss completion and 18584 matched_data result. No alignment attributes or union trial remain in the source. + +## Final full gate + +```text +full build: ok +main.dol sha1: 26116613f624061ba99c8d1a299aaa6efa85670d +[src/scene/setting/iplSetting] pool: IDENTICAL +[src/scene/setting/iplSetting] objdiff: code 30760/37884 data 1680/5696 functions 106/112 fuzzy 99.1581 linked code 0 +[src/scene/setting/iplSetting] instruction-exact functions: 105/112 +[src/scene/setting/iplSetting] section .bss size 456 match 100.0 +[src/scene/setting/iplSetting] section .data size 4016 match 6.807248 +[src/scene/setting/iplSetting] section .rodata size 640 match 100.0 +[src/scene/setting/iplSetting] section .sbss size 16 match 100.0 +[src/scene/setting/iplSetting] section .sdata size 504 match 100.0 +[src/scene/setting/iplSetting] section .sdata2 size 64 match 100.0 +[src/scene/setting/iplSetting] section .text size 37884 match 99.15806 +[src/scene/setting/iplSetting] below 100: createBrowser__Q33ipl5scene7SettingFv 98.8505 +[src/scene/setting/iplSetting] below 100: draw__Q33ipl5scene7SettingFv 91.525314 +[src/scene/setting/iplSetting] below 100: initKeyboard__Q33ipl5scene7SettingFPCc 98.38498 +[src/scene/setting/iplSetting] below 100: calcKeyboard__Q33ipl5scene7SettingFv 98.0 +[src/scene/setting/iplSetting] below 100: convertRevIP__Q33ipl5scene7SettingFPUcPCc 98.69863 +[src/scene/setting/iplSetting] below 100: scanAP__Q33ipl5scene7SettingFv 95.39338 +[src/scene/setting/iplSetting] baseline: code 30760/37884 data 1040 functions 106 fuzzy 99.1581 +[src/scene/setting/iplUSBAP] pool: IDENTICAL +[src/scene/setting/iplUSBAP] objdiff: code 988/988 data 4984/4984 functions 4/4 fuzzy 100.0000 linked code 988 +[src/scene/setting/iplUSBAP] instruction-exact functions: 4/4 +[src/scene/setting/iplUSBAP] section .bss size 4944 match 100.0 +[src/scene/setting/iplUSBAP] section .data size 16 match 100.0 +[src/scene/setting/iplUSBAP] section .sbss size 24 match 100.0 +[src/scene/setting/iplUSBAP] section .text size 988 match 100.0 +[src/scene/setting/iplUSBAP] baseline: code 988/988 data 40 functions 4 fuzzy 100.0000 +[src/scene/setting/ATERM] pool: IDENTICAL +[src/scene/setting/ATERM] objdiff: code 9296/19204 data 18504/18864 functions 15/26 fuzzy 96.5836 linked code 0 +[src/scene/setting/ATERM] instruction-exact functions: 14/26 +[src/scene/setting/ATERM] section .bss size 8160 match 100.0 +[src/scene/setting/ATERM] section .data size 280 match 22.857143 +[src/scene/setting/ATERM] section .rodata size 10280 match 100.0 +[src/scene/setting/ATERM] section .sbss size 80 match 94.80519 +[src/scene/setting/ATERM] section .sdata size 56 match 100.0 +[src/scene/setting/ATERM] section .sdata2 size 8 match 100.0 +[src/scene/setting/ATERM] section .text size 19204 match 96.583626 +[src/scene/setting/ATERM] below 100: ATERMStartNetworkStack 97.91558 +[src/scene/setting/ATERM] below 100: ATERMFindChangedApRecord 99.56896 +[src/scene/setting/ATERM] below 100: ATERMDiscoverAccessPoints 95.304184 +[src/scene/setting/ATERM] below 100: ATERMBuildEncryptedMessage 99.791664 +[src/scene/setting/ATERM] below 100: ATERMBuildAssociationRequest 93.44361 +[src/scene/setting/ATERM] below 100: ATERMParseAssociationResponse 99.56204 +[src/scene/setting/ATERM] below 100: ATERMRunConfigProtocol 87.43323 +[src/scene/setting/ATERM] below 100: ATERMi_AutoConfigThread 94.75 +[src/scene/setting/ATERM] below 100: ATERMAesKeyWrap 99.0 +[src/scene/setting/ATERM] below 100: ATERMAesExpandEncryptKey 98.94403 +[src/scene/setting/ATERM] below 100: ATERMMd5Update 91.263885 +[src/scene/setting/ATERM] baseline: code 9296/19204 data 18504 functions 15 fuzzy 96.5836 +[src/scene/setting/AOSS] pool: IDENTICAL +[src/scene/setting/AOSS] objdiff: code 6436/16192 data 3928/3928 functions 16/21 fuzzy 96.7779 linked code 0 +[src/scene/setting/AOSS] instruction-exact functions: 15/21 +[src/scene/setting/AOSS] section .bss size 3496 match 100.0 +[src/scene/setting/AOSS] section .data size 368 match 100.0 +[src/scene/setting/AOSS] section .sbss size 32 match 100.0 +[src/scene/setting/AOSS] section .sdata size 24 match 100.0 +[src/scene/setting/AOSS] section .sdata2 size 8 match 100.0 +[src/scene/setting/AOSS] section .text size 16192 match 96.777916 +[src/scene/setting/AOSS] below 100: AOSS_Init_old 93.78725 +[src/scene/setting/AOSS] below 100: AOSSDecryptMessage 97.74143 +[src/scene/setting/AOSS] below 100: AOSSApplyAuthOptions 98.77193 +[src/scene/setting/AOSS] below 100: AOSSSendHelloRequest 92.190475 +[src/scene/setting/AOSS] below 100: AOSSXorBufferWithKey 98.605446 +[src/scene/setting/AOSS] baseline: code 6436/16192 data 3896 functions 16 fuzzy 96.7779 +regressions vs baseline: 0 +global matched_code_percent: 88.52293 -> 88.52293 +global fuzzy_match_percent: 99.44739 -> 99.44739 +global complete_code_percent: 62.78043 -> 62.78043 +global matched_data_percent: 93.05085 -> 93.35729 +forbidden patterns added (net, per file): 0 +readability warnings (net, per file; must be 0 in the final result): 0 +note: config touched: config/43U/symbols.txt (orchestrator reviews every config/symbols change) +GATE PASS +``` + +Before -> after: iplSetting data 1040 -> 1680, instruction-exact 105 -> 105, code 30760 -> 30760; iplUSBAP data 40 -> 4984, instruction-exact 4 -> 4, code 988 -> 988; ATERM data 18504 -> 18504, instruction-exact 14 -> 14, code 9296 -> 9296; AOSS data 3896 -> 3928, instruction-exact 15 -> 15, code 6436 -> 6436. +Net data gain 5616 bytes. All 22 remaining nonexact functions have three distinct compiled source trials. USBAP and AOSS data goals are complete. iplSetting .data and ATERM .data/.sbss remain open. -- 2.49.1 From 394f6c2444f776834f4b2feb67a3a843ba8e474c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 2 Oct 2026 05:41:38 +0000 Subject: [PATCH 4/6] docs: update progress [skip ci] --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1bc559e7..57938376 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ Progress | Decompiled | Matched | Linked | Data | |:---:|:---:|:---:|:---:| -| 99.46% | 88.57% | 62.98% | 96.83% | +| 99.46% | 88.57% | 62.98% | 97.13% | units 925/1027 complete, functions 12264/12563 matched. -- 2.49.1 From 0cf34329c303f0580a83ab40da04408c81930136 Mon Sep 17 00:00:00 2001 From: coah <100182500+coah80@users.noreply.github.com> Date: Fri, 2 Oct 2026 00:42:00 -0500 Subject: [PATCH 5/6] Link the verified native NUP HTTP unit --- configure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.py b/configure.py index 6396c6ee..b4a287e8 100644 --- a/configure.py +++ b/configure.py @@ -1869,7 +1869,7 @@ config.libs = [ ), RVLSDKLib("nup", [ Object(NonMatching, "nup/nup.cpp"), - Object(NonMatching, "nup/nup_nhttp.cpp"), + Object(Matching, "nup/nup_nhttp.cpp"), Object(Matching, "nup/nup_mem.cpp"), ] ), -- 2.49.1 From 2b1e29a74606ef6765ec7a014a5cfe01dc696c70 Mon Sep 17 00:00:00 2001 From: coah <100182500+coah80@users.noreply.github.com> Date: Fri, 2 Oct 2026 00:42:44 -0500 Subject: [PATCH 6/6] data(iplKeyboard data 1176/1184) (data-d1b) (worker 9e9e6cc1) (#739) --- src/system/iplKeyboard.cpp | 4 +- tools/decomp-assist/data-d1.attempts.md | 52 +++++++++++++++++++++++++ 2 files changed, 53 insertions(+), 3 deletions(-) diff --git a/src/system/iplKeyboard.cpp b/src/system/iplKeyboard.cpp index 11b21b80..cd118786 100644 --- a/src/system/iplKeyboard.cpp +++ b/src/system/iplKeyboard.cpp @@ -219,9 +219,7 @@ namespace ipl { u8* usedSystemDict = System::getZiDicData(i); u8* usedOemDict = System::getZiDicData(oemIndex); - if (usedSystemDict == NULL) { - usedSystemDict = systemDict; - } + usedSystemDict = usedSystemDict != NULL ? usedSystemDict : systemDict; if (usedOemDict == NULL) { usedOemDict = oemDict; } diff --git a/tools/decomp-assist/data-d1.attempts.md b/tools/decomp-assist/data-d1.attempts.md index 7b6e7280..c4169563 100644 --- a/tools/decomp-assist/data-d1.attempts.md +++ b/tools/decomp-assist/data-d1.attempts.md @@ -44,3 +44,55 @@ Data-lane audit: OSUtf has no unresolved section; all functions exact. Controlle ## Final verification Clean non-quick four-unit gate PASS. Full build ok; DOL SHA1 26116613f624061ba99c8d1a299aaa6efa85670d; regressions 0; forbidden patterns 0; readability warnings 0. Fresh pool_diff checks all identical. Fresh getter ctxdiff 18/18 instructions, diffs 0. Final exact counts OSUtf 4/4, keyboard 31/32, controller 84/84, NHTTP 22/22. Final matched data OSUtf 48704/48704, keyboard 8/1184, controller 80/696, NHTTP 16/720. Final matched code OSUtf 568/568, keyboard 4752/6024, controller 5708/5708, NHTTP 3180/3180. The gate passes but the all-data-100% objective is not met for the latter three units; no claim of completion for those sections. All remaining genuine unmatched functions have three distinct attempts recorded. Final full gate output is /tmp/data-d1.final-gate.txt. + +# Round 2, after #730 + +Fresh leaf HEAD bcb2ac0e equals fetched origin/main at start. Initial quick three-unit gate PASS, DOL SHA1 correct, zero regressions. Keyboard data 8/1184, exact 31/32, code 4752/6024; controller data 80/696, exact 84/84, code 5708/5708; NHTTP data 16/720, exact 22/22, code 3180/3180. All three pool_diff checks identical. Rechecked ELF bytes, nm, objdump symbol tables and relocations. Prior round's byte/relocation findings remain reproducible. + +Inspect the installed objdiff 3.4.5 data comparison algorithm to distinguish relocation mismatches from legal linker tail alignment; do not alter comparison settings or tool code to hide mismatches. Investigate source changes and extraction metadata only when supported by byte/relocation evidence. + +Round 2 keyboard create attempt 1: replace the second loop's parallel OEM induction variable with the meaningful expression `i + EZTX_LANG_MAX`. Objdiff create 94.50944%, 313/318 instructions, no exact function loss. Compiler strength-reduces both indices into one byte offset and removes five instructions instead of recovering the target's independently maintained OEM index. Not accepted. + +Objdiff 3.4.5 diff_data_section compares bytes up to maximum data symbol extent and only uses raw byte match percentage when every original relocation matches. This explains keyboard .data's 25% despite identical bytes: create jump-table relocations fail. The final keyboard data string ends at 1161 on both sides, so those seven section tail bytes do not obstruct .data matching. NHTTP original last coarse blob includes tail alignment and extends to 704 while built last literal ends at 701, so its 99.786476% score is the byte ratio 2*701/(704+701). Controller's extra weak Interface table extends built symbol extent to 752 against original 616. These are specific measured causes, not guessed missing objects. Do not change symbol sizes or suppress the real extra source vtable to fake matching. + +Round 2 keyboard create attempt 2: express both OEM indices as `i + EZTX_LANG_MAX`, removing parallel induction variables. 309/318 instructions, create 92.28616%, no exact function loss. Both loops strength-reduce OEM addressing to the system byte offset plus 40, unlike target's separate index addition and shift. Reverted. + +Round 2 keyboard create attempt 4, memo_declaration_order: src 0x4f4 base 0x4f8 insns 317/318; create 94.157234%; code 4752, data 8, exact-name functions 31. + +Round 2 keyboard create attempt 5, memo_copy_initialization: src 0x4b8 base 0x4f8 insns 302/318; create 87.8522%; code 4752, data 8, exact-name functions 31. + +Round 2 keyboard create attempt 6, dictionary_fallback_order: src 0x4f4 base 0x4f8 insns 317/318; create 93.83648%; code 4752, data 8, exact-name functions 31. + +Round 2 keyboard create attempt 7, dictionary_ternary_fallback: src 0x4fc base 0x4f8 insns 319/318; create 93.93082%; code 4752, data 8, exact-name functions 31. + +Round 2 keyboard create attempt 8, oem_load_after_system_fallback: src 0x4f4 base 0x4f8 insns 317/318; create 94.57861%; code 4752, data 8, exact-name functions 31. + +Round 2 keyboard create attempt 9, signed_counter_unsigned_oem: src 0x4f4 base 0x4f8 insns 317/318; create 94.18239%; code 4752, data 8, exact-name functions 31. + +Round 2 keyboard create attempt 3: use unsigned loop induction variables for both dictionaries, retaining parallel OEM indices. Output unchanged at 317/318 instructions and 94.18239%; exact functions remain 31. Reverted. + +Round 2 controller vtable attempt 1: make the abstract Interface destructor an inline non-pure destructor under a source-only header guard. Abstractness remains enforced by decide and setForceInvalid; this tests whether the pure destructor caused unwanted table emission. All 84 original functions remain 100%, but extra Interface table remains and .data stays 92.03601%. Reverted both source and header; no justification for changing destructor semantics without a match. + +Round 2 keyboard create attempt 10, system_ternary_fallback: src 0x4f8 base 0x4f8 insns 318/318; create 94.00944% ; code 4752, data 1176, exact-name functions 31. + +Round 2 keyboard create attempt 11, oem_ternary_fallback: src 0x4f8 base 0x4f8 insns 318/318; create 94.00944% ; code 4752, data 1176, exact-name functions 31. + +Round 2 keyboard create attempt 12, system_inverted_ternary: src 0x4f4 base 0x4f8 insns 317/318; create 94.35535% ; code 4752, data 8, exact-name functions 31. + +Round 2 keyboard create attempt 13, oem_inverted_ternary: src 0x4f4 base 0x4f8 insns 317/318; create 94.35535% ; code 4752, data 8, exact-name functions 31. + +Round 2 candidate: retain attempt 10's ordinary system dictionary fallback selection `usedSystemDict != NULL ? usedSystemDict : systemDict`. OEM selection remains unchanged. The resulting create has 318 instructions, and all twelve destination switch-table relocation addends now exactly match the original object. Both .data byte extents are 1161, and every one of the 85 original .data relocation records matches; objdiff .data is 100%, raising matched_data from 8 to 1176 of 1184. No string, symbol, section ownership, source object, or data byte is altered; no padding or assembly is introduced. This is a genuine relocation-data match from a readable conditional expression, even though create remains instruction-nonexact at 94.00944%. Instruction-exact count remains 31/32. Attempts 11 through 13 are not retained. The data-lane task permits improvements with unchanged exact counts; the generic worker count-growth criterion is not met. + +Candidate quick three-unit gate PASS, zero regressions, zero forbidden patterns, zero readability warnings, correct DOL SHA1. Keyboard .data 100%; .sdata remains 85.71429%, .sdata2 100%. Controller .data 92.03601%; other data sections 100%. NHTTP .data 99.786476%; .sdata and .sbss 100%. No original extab/extabindex, .bss, or additional small-data sections are present in the owned objects. + +Remaining keyboard .sdata contains `arc\0` at offset 0, followed by empty 16-bit wchar string at offset 4. Source literal is 2 bytes, extraction labels it as a 4-byte object including two alignment zeros. All instructions using it still match exactly. Changing L"" to an artificially longer null literal or enlarging its symbol would fabricate storage; neither is accepted. NHTTP and controller residual section differences remain exactly the extraction alignment/weak-vtable findings above. They contain no unmatched functions. All failed experimental source and header changes were restored before the candidate gate. + +Attempts 4-9 detail: 4 reverses the two MemoSetting declarations; 5 uses direct initialization for the loaded setting and copied setting; 6 reverses system/OEM fallback statement order; 7 expresses both fallback selections as ternaries; 8 postpones the OEM pointer load until after system fallback selection; 9 moves OEM induction initialization outside the first loop and uses an unsigned system index. Each was independently compiled, measured, and reverted. Attempts 10/12 use respectively non-null/null-first system ternaries; 11/13 use respectively non-null/null-first OEM ternaries. Only 10 is retained. The single remaining unmatched function, keyboard create, has thirteen distinct source-level experiments in this round, in addition to the three original attempts. Controller and NHTTP have zero remaining unmatched original functions. + +Final fetch during verification reached f6fd2780; owned three sources do not differ between this branch's base and fetched origin/main. The worktree remains on its assigned leaf branch. + +## Round 2 final clean gate + +Final non-quick gate over all three units PASS. Full 43U build succeeds and DOL SHA1 is 26116613f624061ba99c8d1a299aaa6efa85670d. Regressions 0; forbidden additions 0; readability warnings 0; all pools identical. Keyboard exact functions 31 -> 31, matched code 4752 -> 4752, matched data 8 -> 1176 of 1184; .data 100%. Controller exact 84 -> 84, code 5708 -> 5708, data 80 -> 80 of 696. NHTTP exact 22 -> 22, code 3180 -> 3180, data 16 -> 16 of 720. No instruction-exact function count dropped. Fresh relocation comparison confirms every original keyboard .data relocation matches. Final gate output /tmp/data-d1-r2.final-gate.txt. + +Incomplete data sections: keyboard .sdata 85.71429% from extracted empty-string extent; controller .data 92.03601% from linker-discarded weak Interface vtable and unit-boundary alignment; NHTTP .data 99.786476% from last extraction blob covering three tail alignment zeros. No symbol size or section boundary has been changed to improve the score. The all-data-100% goal remains incomplete. Remaining function create is 94.00944%, 318/318 instructions with 210 instruction differences; register allocation, dictionary-loop instruction scheduling, and MemoSetting temporary stack placement still differ. Every remaining function has at least three distinct logged attempts; all thirteen are retained as evidence, with only the data-exact candidate in the source diff. -- 2.49.1