Compare commits

..

11 Commits

16 changed files with 482 additions and 163 deletions

View File

@@ -53,9 +53,9 @@ Progress
<!-- progress:start -->
| Decompiled | Matched | Linked | Data |
|:---:|:---:|:---:|:---:|
| 99.39% | 88.26% | 62.75% | 92.12% |
| 99.44% | 88.46% | 62.78% | 92.12% |
units 923/1027 complete, functions 12245/12563 matched.
units 924/1027 complete, functions 12253/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
<!-- progress:end -->

View File

@@ -869,11 +869,12 @@ src/scene/setting/iplUSBAP.cpp:
.bss start:0x810BC148 end:0x810BD498
.text start:0x813FC520 end:0x813FC8FC
.data start:0x81657B08 end:0x81657B18
.sbss start:0x81698C08 end:0x81698C28
.sbss start:0x81698C08 end:0x81698C20
src/scene/setting/iplUSBAPThread.cpp:
.text start:0x813FC8FC end:0x813FCA0C
.data start:0x81657B18 end:0x81657B60
.sbss start:0x81698C20 end:0x81698C28
src/scene/setting/iplAOSSThread.cpp:
.bss start:0x810BD498 end:0x810BD4A8

View File

@@ -12683,7 +12683,7 @@ pdm_bpb_CalcBPBFields = .text:0x815C743C; // type:function size:0xE8
pdm_bpb_InitVolumeWithBootSector = .text:0x815C7524; // type:function size:0x31C
pdm_bpb_InitVolumeWithFSINFOSector = .text:0x815C7840; // type:function size:0xE8
pdm_disk_convert_sector_into_block = .text:0x815C7928; // type:function size:0xB0
pdm_disk_convert_block_into_sector` = .text:0x815C79D8; // type:function size:0xB0
pdm_disk_convert_block_into_sector = .text:0x815C79D8; // type:function size:0xB0
pdm_disk_init_disk_manager = .text:0x815C7A88; // type:function size:0x34
pdm_disk_add_disk = .text:0x815C7ABC; // type:function size:0x124
pdm_disk_del_disk = .text:0x815C7BE0; // type:function size:0x50
@@ -13271,7 +13271,7 @@ __nupSetAuditState__FUc = .text:0x815F0444; // type:function size:0x7C scope:loc
__nupBase64Encode__FPUcPUcUl = .text:0x815F04C0; // type:function size:0xFC scope:local
__nupGetAuditData__FP14NUPContextInfoPPc = .text:0x815F05BC; // type:function size:0x3D0 scope:local
__nupGetTmdView__FUxPP9ESTmdView = .text:0x815F098C; // type:function size:0xB4 scope:local
__nupGetBootVersion__FP14ESTitleVersion = .text:0x815F0A40; // type:function size:0x28C scope:local
__nupGetBootVersion__FP14NUPContextInfoP14ESTitleVersion = .text:0x815F0A40; // type:function size:0x28C scope:local
__nupGetTicket__FP12NUPTitleInfoPc = .text:0x815F0CCC; // type:function size:0x164 scope:local
__nupGetTmd__FP12NUPTitleInfoPc = .text:0x815F0E30; // type:function size:0x1E4 scope:local
__nupGetTitleSize__FP12NUPTitleInfo = .text:0x815F1014; // type:function size:0x22C scope:local

View File

@@ -873,7 +873,7 @@ config.libs = [
Object(Matching, "scene/setting/iplNCDSetting.cpp"),
Object(Matching, "scene/setting/iplParental.cpp"),
Object(Matching, "scene/setting/iplAPScanThread.cpp"),
Object(NonMatching, "scene/setting/iplUSBAP.cpp"),
Object(Matching, "scene/setting/iplUSBAP.cpp"),
Object(NonMatching, "scene/setting/iplUSBAPThread.cpp"),
Object(Matching, "scene/setting/iplAOSSThread.cpp"),
Object(NonMatching, "scene/setting/AOSSLink.c"),

View File

@@ -198,31 +198,34 @@ static BOOL __InitParams(AXFX_CHORUS_EXP* fx) {
return TRUE;
}
static void __CalcLFO(s32* output, AXFX_CHORUS_EXP_LFO* lfo) {
u32 remaining = 96;
do {
s32 value;
u32 phase = lfo->phase & 0xFFFF0000;
s32 start;
s64 value;
s32 difference;
s64 gradient;
u32 phase;
u32 sample;
for (sample = 0; sample < 96; sample++) {
phase = lfo->phase & 0xFFFF0000;
if (phase != lfo->lastNum) {
s32 start, difference;
s64 product;
lfo->lastNum = phase;
phase >>= 16;
start = lfo->table[phase];
difference = lfo->table[(phase + 1) & 0x7F] - start;
product = (s64)start * lfo->depthSamp;
value = ((u32)(product >> 32) << 8) | ((u32)product >> 24);
product = (s64)difference * lfo->gradFactor;
lfo->grad = ((u32)(product >> 32) << 8) | ((u32)product >> 24);
gradient = difference;
gradient *= lfo->gradFactor;
lfo->grad = gradient >> 24;
value = (s64)start * lfo->depthSamp;
value >>= 24;
} else {
value = lfo->lastValue + lfo->grad;
}
else value = lfo->lastValue + lfo->grad;
lfo->lastValue = value;
if (lfo->sign != 0) value = -value;
if (lfo->sign >= 1) value = -value;
lfo->phase += lfo->phaseAdd;
if (lfo->phase & 0xFF800000) {
lfo->phase &= 0x7FFFFF;
lfo->sign ^= 1;
}
*output++ = value;
remaining--;
} while (remaining != 0);
}
}

View File

@@ -50,12 +50,16 @@ int NHTTPGetHeaderAll(void*, char**);
void NHTTPCancelRequestAsync(int);
void NHTTPDestroyResponse(void*);
static inline unsigned long NhttpBufferSize(unsigned long requested) {
if (requested != 0 && requested < 0x8000) return requested;
return 0x8000;
}
static u8* __nupNhttpBufFull(u8** buffer, unsigned long* length, unsigned long requested, void*, void*, HttpState* state) {
u8* next = NULL;
if (state->progress != NULL && *length != 0) {
state->progress(state->progressContext, *length);
}
if ((state->received + *length) < state->received) {
if ((u32)(state->received + *length) < (u32)state->received) {
if (state->error == 0) state->error = -5012;
}
state->received += *length;
@@ -69,22 +73,26 @@ static u8* __nupNhttpBufFull(u8** buffer, unsigned long* length, unsigned long r
if (state->error != 0) goto done;
}
next = *buffer;
if (next == NULL) {
if (requested != 0 && requested < 0x8000) {} else requested = 0x8000;
switch ((u32)next) {
case 0: {
requested = NhttpBufferSize(requested);
next = (u8*)nup::__nupMalloc(requested);
if (next == NULL) {
state->error = -5000;
goto done;
}
*length = requested;
break;
}
default: break;
}
if (*length != 0) state->lastActivity = OSGetTime();
}
}
done:
if (state->error != 0) {
next = NULL;
*length = 0;
next = NULL;
}
return next;
}
@@ -101,12 +109,17 @@ static void __nupNhttpReqDone(int result, void* response, HttpState* state) {
}
static int __nupNhttpOp(char* url, NHTTPReqMethod method, char* headers, u8* body, unsigned long bodyLength, unsigned long limit, ProgressCallback progress, void* progressContext, FlushCallback flush, void* flushContext) {
unsigned long transferred, expected;
int length;
char* responseHeaders = NULL;
u8* responseBody = NULL;
HttpState state;
int result = 0;
char* headerCopy = NULL;
void* request;
int requestId;
int status;
u8* responseBody = NULL;
char* responseHeaders = NULL;
int length;
unsigned long expected;
unsigned long transferred;
HttpState state;
state.error = 0;
state.limit = limit;
state.received = 0;
@@ -118,10 +131,7 @@ static int __nupNhttpOp(char* url, NHTTPReqMethod method, char* headers, u8* bod
state.done = 0;
state.result = 0;
state.lastActivity = 0;
int result = 0;
int requestId = 0;
char* headerCopy = NULL;
void* request = NHTTPCreateRequestEx(url, method, NULL, 0, __nupNhttpReqDone, &state, __nupNhttpBufFull, __nupNhttpBufFree);
request = NHTTPCreateRequestEx(url, method, NULL, 0, __nupNhttpReqDone, &state, __nupNhttpBufFull, __nupNhttpBufFree);
if (request == NULL) { result = -7000 - NHTTPGetError(); goto cleanup; }
if (NHTTPSetSocketBufferSize(request, 0x8000) != 0) { result = -7000 - NHTTPGetError(); goto cleanup; }
if (headers != NULL) {
@@ -130,16 +140,15 @@ static int __nupNhttpOp(char* url, NHTTPReqMethod method, char* headers, u8* bod
if (headerCopy == NULL) { result = -5000; goto cleanup; }
memcpy(headerCopy, headers, size);
char* field = headerCopy;
while (*field != 0) {
char* colon = strchr(field, ':');
if (colon == NULL) break;
char* end = strstr(colon, "\r\n");
if (end == NULL) break;
char* colon;
char* end;
while (*field != 0 && (colon = strchr(field, ':')) != NULL && (end = strstr(colon, "\r\n")) != NULL) {
*colon = 0;
*end = 0;
while (*field && isspace(*field)) field++;
do { colon++; } while (*colon && isspace(*colon));
if (NHTTPAddHeaderField(request, field, colon) != 0) { result = -7000 - NHTTPGetError(); goto cleanup; }
char* value = colon + 1;
while (*value && isspace(*value)) ++value;
if (NHTTPAddHeaderField(request, field, value) != 0) { result = -7000 - NHTTPGetError(); goto cleanup; }
field = end + 2;
}
}
@@ -153,40 +162,39 @@ static int __nupNhttpOp(char* url, NHTTPReqMethod method, char* headers, u8* bod
if (method == NHTTP_POST && body != NULL && bodyLength != 0 && NHTTPAddPostDataRaw(request, body, bodyLength) != 0) { result = -7000 - NHTTPGetError(); goto cleanup; }
requestId = NHTTPSendRequestAsync(request);
if (requestId < 0) {
int error = NHTTPGetError();
result = -7000 - NHTTPGetError();
NHTTPDeleteRequest(request);
result = -7000 - error;
goto cleanup;
}
state.lastActivity = OSGetTime();
for (;;) {
if (NHTTPGetProgress(&expected, &transferred) != 0 && state.done != 0) {
if (state.result != 0) { result = -7000 - state.result; goto cleanup; }
if (state.response != NULL) {
length = NHTTPGetBodyAll(state.response, &responseBody);
if (length < 0) { result = -5007; goto cleanup; }
__nupNhttpBufFull(&responseBody, (unsigned long*)&length, 0, NULL, NULL, &state);
while (NHTTPGetProgress(&expected, &transferred) == 0 || state.done == 0) {
if (OSGetTime() - state.lastActivity >= OSMillisecondsToTicks((OSTime)90000)) {
if (requestId >= 0) {
NHTTPCancelRequestAsync(requestId);
NCDSleep(OSMillisecondsToTicks(100));
}
result = state.error;
if (result != 0 || state.response == NULL) goto cleanup;
length = NHTTPGetHeaderAll(state.response, &responseHeaders);
if (length < 0) { result = -5007; goto cleanup; }
char* protocol = strstr(responseHeaders, "HTTP/");
if (protocol != NULL && sscanf(protocol, "HTTP/%*d.%*d %d", &status) == 1) {
if (status != 200 && status != 202) result = -5000 - status;
goto cleanup;
}
result = -5007;
result = -5009;
goto cleanup;
}
if (OSGetTime() - state.lastActivity >= OSMillisecondsToTicks(90000)) break;
NCDSleep(OSMillisecondsToTicks(100));
}
if (requestId >= 0) {
NHTTPCancelRequestAsync(requestId);
NCDSleep(OSMillisecondsToTicks(100));
if (state.result != 0) { result = -7000 - state.result; goto cleanup; }
if (state.response != NULL) {
length = NHTTPGetBodyAll(state.response, &responseBody);
if (length < 0) { result = -5007; goto cleanup; }
__nupNhttpBufFull(&responseBody, (unsigned long*)&length, 0, NULL, NULL, &state);
}
result = -5009;
if (state.error != 0) { result = state.error; goto cleanup; }
if (state.response == NULL) goto cleanup;
length = NHTTPGetHeaderAll(state.response, &responseHeaders);
if (length < 0) { result = -5007; goto cleanup; }
char* protocol = strstr(responseHeaders, "HTTP/");
if (protocol == NULL || sscanf(protocol, "HTTP/%*d.%*d %d", &status) != 1) {
result = -5007;
goto cleanup;
}
if (status != 200 && status != 202) result = -5000 - status;
goto cleanup;
cleanup:
if (state.response != NULL || result == -5009) NHTTPDestroyResponse(state.response);
if (headerCopy != NULL) nup::__nupFree(headerCopy);

View File

@@ -87,6 +87,10 @@ typedef struct WD_Info_ {
u8 unk_0x60[0x30]; // 0x60 (is it padding???)
} PACKED WD_Info;
#ifdef __cplusplus
extern "C" {
#endif
s32 WDCheckEnableChannel(u16* enableChannel);
s32 WDScanOnce(u8* scanBuffer, u32 scanBufferLen, WDScanParam* param);
s32 WDGetPrivacyMode(WDBssDesc* bssDesc);
@@ -94,4 +98,8 @@ s32 WDGetPrivacyMode(WDBssDesc* bssDesc);
BOOL WDFindInformationElement(WDInfoElement** outIE, u32* outIELength, WDBssDesc* bssDesc, int id);
BOOL WDiFindVendorSpecificIE(WDVendorInfoElement** outIE, u32* outIELength, WDBssDesc* bssDesc, int id, u8* data, u8 mode);
#ifdef __cplusplus
}
#endif
#endif // REVOLUTION_WD_H

View File

@@ -234,30 +234,39 @@ void AESiDecryptBlock(AESContext* context, u32* output, const u32* input) {
}
BOOL NETAESCreateEx(AESContext* context, const void* key, u32 keyLength, const void* iv, const AESBlockMode* mode) {
BOOL result=FALSE;
u32 words,index,value;
u32* schedule;
u32 words;
u32 index;
u32 value;
BOOL result = FALSE;
if (keyLength != 16 && keyLength != 24 && keyLength != 32) {
OSReport("NETAESCreateEx() failed! (key-length is allowed only 16, 20, 24 BYTEs)");
} else {
context->rounds=keyLength/4+6;
context->needsTransform=1;
context->mode=mode;
context->needsTransform = 1;
context->rounds = (keyLength * 8) / 32 + 6;
context->mode = mode;
memcpy(context->chain, iv, 16);
schedule=context->keys;
words=keyLength/4;
memcpy(schedule,key,keyLength);
value=schedule[words-1];
for(index=words; index<(context->rounds+1)*4; ++index) {
if (index%words == 0) {
value=SUBSTITUTE_XOR(AESiSubShiftTable,value<<8,value<<8,value<<8,value>>24) ^ ((u32)AESiRoundKeyRcon0[index/words-1]<<24);
} else if(words>6 && index%words==4) {
value=SUBSTITUTE_XOR(AESiSubShiftTable,value,value,value,value);
schedule = context->keys;
words = keyLength / 4;
memcpy(schedule, key, keyLength);
value = schedule[words - 1];
for (index = words; index < (context->rounds + 1) * 4; ++index) {
if (index % words == 0) {
u32 high = (u32)AESiSubShiftTable[(value >> 16) & 255] << 24;
u32 low = AESiSubShiftTable[value >> 24];
u32 lower = (u32)AESiSubShiftTable[value & 255] << 8;
u32 upper = (u32)AESiSubShiftTable[(value >> 8) & 255] << 16;
value = (low ^ high) ^ (lower ^ upper);
value ^= (u32)AESiRoundKeyRcon0[index / words - 1] << 24;
} else if (words > 6 && index % words == 4) {
value = ((u32)AESiSubShiftTable[value >> 24] << 24) ^
(((u32)AESiSubShiftTable[(value >> 16) & 255] << 16) ^
(AESiSubShiftTable[value & 255] ^ ((u32)AESiSubShiftTable[(value >> 8) & 255] << 8)));
}
value ^= schedule[index-words];
schedule[index]=value;
value ^= schedule[index - words];
schedule[index] = value;
}
result=TRUE;
result = TRUE;
}
return result;
}

View File

@@ -13,7 +13,7 @@ static void FindHeaderBlock(const NHTTPResponseInfo* response, s32 position, NHT
}
}
static s8 ReadHeaderChar(const NHTTPResponseInfo* response, NHTTPi_HDRBUFLIST** block, s32* offset) {
static int ReadHeaderChar(const NHTTPResponseInfo* response, NHTTPi_HDRBUFLIST** block, s32* offset) {
if(!*block) {
if(*offset<1024) return (s8)response->hdrBufFirst[(*offset)++];
*block=response->hdrBufBlock_p;
@@ -30,30 +30,31 @@ static int LowerCase(int character) {
s32 NHTTPi_findNextLineHdrRecvBuf(const NHTTPResponseInfo* response, s32 position, s32 limit, s32* colon, s32* newlineLength) {
NHTTPi_HDRBUFLIST* block;
s32 offset;
s32 next=-1;
BOOL carriage=FALSE;
if(colon) *colon=-1;
if(position>=limit) return -1;
FindHeaderBlock(response,position,&block,&offset);
for(; position<limit; ++position) {
s8 character=ReadHeaderChar(response,&block,&offset);
if(character==':' && colon && *colon<0) *colon=position;
if(carriage) {
if(character=='\n') {
next=position==limit-1 ? 0 : position+1;
if(newlineLength) *newlineLength=2;
if (position < limit) {
s32 next=-1;
BOOL carriage=FALSE;
FindHeaderBlock(response,position,&block,&offset);
for(; position<limit; ++position) {
int character=ReadHeaderChar(response,&block,&offset);
if((s8)character==':' && colon && *colon<0) *colon=position;
if(carriage) {
if((s8)character=='\n') {
next=position==limit-1 ? 0 : position+1;
if(newlineLength) *newlineLength=2;
}
return next;
}
if((s8)character=='\r') {
next=position==limit-1 ? 0 : position+1;
carriage=TRUE;
if(newlineLength) *newlineLength=1;
}
if((s8)character=='\n') {
next=position==limit-1 ? 0 : position+1;
if(newlineLength) *newlineLength=1;
return next;
}
return next;
}
if(character=='\r') {
next=position==limit-1 ? 0 : position+1;
carriage=TRUE;
if(newlineLength) *newlineLength=1;
}
if(character=='\n') {
next=position==limit-1 ? 0 : position+1;
if(newlineLength) *newlineLength=1;
return next;
}
}
return -1;
@@ -62,11 +63,12 @@ s32 NHTTPi_findNextLineHdrRecvBuf(const NHTTPResponseInfo* response, s32 positio
s32 NHTTPi_skipSpaceHdrRecvBuf(const NHTTPResponseInfo* response, s32 position, s32 limit) {
NHTTPi_HDRBUFLIST* block;
s32 offset;
if(position>=limit) return -1;
FindHeaderBlock(response,position,&block,&offset);
for(; position<limit; ++position) {
s8 character=ReadHeaderChar(response,&block,&offset);
if(character!=' ') return position;
if (position < limit) {
FindHeaderBlock(response,position,&block,&offset);
for(; position<limit; ++position) {
s8 character=ReadHeaderChar(response,&block,&offset);
if(character!=' ') return position;
}
}
return -1;
}
@@ -91,32 +93,35 @@ s32 NHTTPi_loadFromHdrRecvBuf(NHTTPResponseInfo* response, char* destination, s3
s32 amount;
NHTTPi_HDRBUFLIST* block;
if(position+length>response->headerLen) return FALSE;
if(length) {
if(position<1024) {
amount=length;
if(length>1024-position) amount=1024-position;
NHTTPi_memcpy(destination,response->hdrBufFirst+position,amount);
position+=amount; length-=amount; destination+=amount;
}
if (position + length <= response->headerLen) {
if(length) {
s32 blocks;
position-=1024;
block=response->hdrBufBlock_p;
blocks=position>>9;
position&=511;
while(blocks--) block=block->next_p;
while(length) {
if(position<1024) {
amount=length;
if(length>512-position) amount=512-position;
NHTTPi_memcpy(destination,block->block+position,amount);
position=(position+amount)&511;
block=block->next_p;
length-=amount; destination+=amount;
if(length>1024-position) amount=1024-position;
NHTTPi_memcpy(destination,response->hdrBufFirst+position,amount);
position+=amount; length-=amount; destination+=amount;
}
if(length) {
s32 blocks;
position-=1024;
block=response->hdrBufBlock_p;
blocks=position>>9;
position&=511;
while(blocks--) block=block->next_p;
while(length) {
amount=length;
if(length>512-position) amount=512-position;
NHTTPi_memcpy(destination,block->block+position,amount);
position+=amount;
position&=511;
block=block->next_p;
length-=amount; destination+=amount;
}
}
}
return TRUE;
}
return TRUE;
return FALSE;
}
BOOL NHTTPi_isRecvBufFull(NHTTPResponseInfo* response, u32 length) { return length>=response->recvBufLen; }

View File

@@ -23,7 +23,7 @@ namespace memo {
class EventHandler : public inputform::EventHandler {
public:
EventHandler(InputForm* form) : inputform::EventHandler(form), mpMemoForm(form) {}
virtual ~EventHandler() {}
virtual ~EventHandler();
virtual void onTiEvent(gui::PaneComponent*, u32, Input*);
private:
InputForm* mpMemoForm;
@@ -48,14 +48,14 @@ protected:
class WholePane : public AnmPane {
public:
WholePane(nw4r::lyt::Pane* pane, nw4rmanager::AnmObserver* observer) : AnmPane(pane, observer) { meKeyType = 0; }
virtual ~WholePane() {}
virtual ~WholePane();
virtual void onAnmEvent(AnmPaneEvent event);
};
class NigaoePane : public AnmPane {
public:
NigaoePane(nw4r::lyt::Pane* pane, nw4rmanager::AnmObserver* observer) : AnmPane(pane, observer) { meKeyType = 1; }
virtual ~NigaoePane() {}
virtual ~NigaoePane();
virtual void onAnmEvent(AnmPaneEvent event);
};
@@ -81,7 +81,7 @@ private:
class SimpleAnmPane : public nw4rmanager::AnmPane {
public:
SimpleAnmPane(nw4r::lyt::Pane* pane, nw4rmanager::AnmObserver* observer) : nw4rmanager::AnmPane(pane, observer) {}
virtual ~SimpleAnmPane() {}
virtual ~SimpleAnmPane();
virtual void init();
virtual void changeAnimation(u32 id);
};
@@ -792,8 +792,12 @@ void AnmPane::changeAnimation(u32 id) {
}
u32 AnmPane::getKeyType() const { return meKeyType; }
void AnmPane::init() { meState = 0; }
NigaoePane::~NigaoePane() {}
void NigaoePane::onAnmEvent(AnmPaneEvent) {}
WholePane::~WholePane() {}
bool InputForm::isInScroll() { return mExScrollAnm.isActive(); }
EventHandler::~EventHandler() {}
SimpleAnmPane::~SimpleAnmPane() {}
}
}

View File

@@ -2114,7 +2114,12 @@ namespace textinput {
void LayoutByNW4R::onPressedShift(bool sound) {
u32 flags = mKeyState.getABCFlag();
flags |= 128;
mKeyState.setABCFlag(flags);
if ((mKeyState.abcFlags & ~15) != flags) {
Base* keyboard = mKeyState.owner;
mKeyState.abcFlags = (mKeyState.abcFlags & 15) | (flags & ~15);
if (keyboard != NULL)
keyboard->refreshState();
}
mShiftButton.SetState(true, 5);
if (sound)
mpEventObserver->onSE(static_cast<sound::SE>(13));
@@ -2123,7 +2128,13 @@ namespace textinput {
void LayoutByNW4R::onReleasedShift() {
u32 flags = mKeyState.getABCFlag();
flags &= ~128;
mKeyState.setABCFlag(flags);
u32 currentFlags = mKeyState.abcFlags;
if ((currentFlags & ~15) != flags) {
Base* keyboard = mKeyState.owner;
mKeyState.abcFlags = (currentFlags & 15) | (flags & ~15);
if (keyboard != NULL)
keyboard->refreshState();
}
if (mShiftButton.mbOn) {
mShiftButton.mbOn = false;
mShiftButton.mpAnimation->onAnmEvent(static_cast<AnmPane::AnmPaneEvent>(5));
@@ -2513,8 +2524,24 @@ namespace textinput {
} else {
gather.setPressedShiftB(false);
input::HKBManager::getInstance().SetForceModifierState(0, 0);
if (wasShift && !gather.isHoldingShift())
onReleasedShift();
if (wasShift && !gather.isHoldingShift()) {
u32 flags;
u32 currentFlags;
Base* keyboard;
flags = mKeyState.getABCFlag();
flags &= ~128;
currentFlags = mKeyState.abcFlags;
if ((currentFlags & ~15) != flags) {
keyboard = mKeyState.owner;
mKeyState.abcFlags = (currentFlags & 15) | (flags & ~15);
if (keyboard != NULL)
keyboard->refreshState();
}
if (mShiftButton.mbOn) {
mShiftButton.mbOn = false;
mShiftButton.mpAnimation->onAnmEvent(static_cast<AnmPane::AnmPaneEvent>(5));
}
}
}
return handled;
}

View File

@@ -225,8 +225,7 @@ void SDChannelTitle::create() {
comment->SetString(System::getMessage(0xad));
iplSDChannelTitle_rebuildBannerLayout(this);
mpFade = new math::HermiteIntp<f32>();
static f32 fadeRange[2] = {0.0f, 255.0f};
mpFade->init(fadeRange[0], fadeRange[1], 28.0f, 0.0f, 0.0f);
mpFade->init(0.0f, 255.0f, 28.0f, 0.0f, 0.0f);
mpFade->setAnmType(ANIM_TYPE_FORWARD);
mpScreenCapture = new (System::getTreasureHeap(), 32) utility::Capture(System::getTreasureHeap(), 0, 0,
System::getRenderModeObj()->fbWidth, System::getRenderModeObj()->efbHeight, GX_TF_RGB565);
@@ -1016,8 +1015,7 @@ extern "C" void iplSDChannelTitle_preparePageRestart(SDChannelTitle* scene) {
if (!scene->mScriptEnabled || scene->mScriptState == 4) {
if (scene->mpChannelSelect->prepareRestarting(scene->mPage)) {
scene->mpChannelSelect->startPageTransition(scene->mPage, scene->mIndex);
static f32 fadeRange[2] = {0.0f, 255.0f};
scene->mpFade->init(fadeRange[0], fadeRange[1], 28.0f, 0.0f, 0.0f);
scene->mpFade->init(0.0f, 255.0f, 28.0f, 0.0f, 0.0f);
scene->mpFade->setAnmType(ANIM_TYPE_BACKWARD);
scene->mpFade->play();
scene->mState = 6;

View File

@@ -11,11 +11,16 @@ static void (*registrationCallback)(int);
static s32 registrationMode;
static u16 enabledChannels;
static u8* scanBuffer;
struct RegisteredAccessPoints {
u8 count;
u8 addresses[20][6];
};
static RegisteredAccessPoints* registeredAccessPoints;
// Registration buffer: a count byte followed by twenty MAC addresses.
static u8* registeredAccessPoints;
static inline int FindRegisteredAddress(const u8* registered, const u8* address) {
int index;
for (index = 0; index < 20; ++index) {
if (memcmp(address, &registered[index * WD_BSSID_LENGTH + 1], WD_BSSID_LENGTH) == 0) break;
}
return index;
}
extern "C" {
static void* DoRegistration(void*);
@@ -26,7 +31,7 @@ extern "C" BOOL USBAPStartRegistration(void*, void*, u32 priority, u32 mode,
u16* buffer, u8* accessPoints) {
BOOL interrupts = OSDisableInterrupts();
scanBuffer = (u8*)buffer;
registeredAccessPoints = (RegisteredAccessPoints*)accessPoints;
registeredAccessPoints = accessPoints;
if (usbapThread.state != 0 && !OSIsThreadTerminated(&usbapThread)) {
OSRestoreInterrupts(interrupts);
return FALSE;
@@ -78,8 +83,13 @@ struct USBAPScan {
};
static void* DoRegistration(void*) {
BOOL success;
int failed, found, index;
s32 count;
WDBssDesc* accessPoint;
int result;
int address;
const u8* registered;
BOOL success;
if (WDCheckEnableChannel(&enabledChannels) != 0) {
success = FALSE;
if (registrationCallback != NULL) {
@@ -116,25 +126,20 @@ static void* DoRegistration(void*) {
memset(scan.ssidMask, 0, 8);
memset(&scan.ssidMask[8], 255, 24);
if (WDScanOnce(scanBuffer, 2048, (WDScanParam*)&scan) == 0) {
u16 count = *(u16*)scanBuffer;
WDBssDesc* accessPoint = (WDBssDesc*)&scanBuffer[2];
int found = 0;
int failed = 0;
for (int index = 0; index < count; ++index) {
count = *(u16*)scanBuffer;
accessPoint = (WDBssDesc*)&scanBuffer[2];
found = 0;
failed = 0;
for (index = 0; index < count; ++index) {
if (accessPoint->ssidLength == 32 && strncmp((char*)accessPoint->ssid, "NWCUSBAP", 8) == 0) {
RegisteredAccessPoints* registered = registeredAccessPoints;
int address;
for (address = 0; address < 20; ++address) {
if (memcmp(accessPoint->bssid, registered->addresses[address], 6) == 0) {
break;
}
}
registered = registeredAccessPoints;
address = FindRegisteredAddress(registered, accessPoint->bssid);
if (address == 20) {
USBAPSSID* response = (USBAPSSID*)accessPoint->ssid;
if (response->flags == 1) {
memcpy(registeredAccessPoints->addresses[registeredAccessPoints->count], accessPoint->bssid, 6);
memcpy(&registeredAccessPoints[registeredAccessPoints[0] * WD_BSSID_LENGTH + 1], accessPoint->bssid, WD_BSSID_LENGTH);
found = 1;
++registeredAccessPoints->count;
++registeredAccessPoints[0];
} else if (response->flags == 0) {
failed = 1;
}

View File

@@ -0,0 +1,162 @@
{"event": "begin", "unit": "src/keyboard/tiPcKeyboard", "function": "setTranslateMode__Q49textinput8keyboard6pctype4BaseFQ59textinput8keyboard6pctype4Base13TranslateMode", "origin": "3dcd7234599d4199f94a75e95fdd9ffd932d2fe8", "remote_source_identical": true, "diagnosis": "Both frames 0x20. Target 105 instructions versus 106, sole extra source instruction initializes mapped mode from original enum. Invalid enum target uses undefined saved GPR; no uninitialized local permitted. Test complete switch assignments with defined invalid handling before accepting this as open.", "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": "complete switch with invalid-mode early return", "compiled": true, "instructions": [107, 105], "structural": 6, "positional": 89, "fuzzy": 98.0, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 99.95787, "total_code": "28484", "matched_code": "27712", "matched_code_percent": 97.2897, "total_data": "18564", "matched_data": "18548", "matched_data_percent": 99.91381, "total_functions": 141, "matched_functions": 138, "matched_functions_percent": 97.87234, "total_units": 1}, "context": "/tmp/sol-high-context-1.txt"}
{"event": "attempt", "unit": "src/keyboard/tiPcKeyboard", "function": "setTranslateMode__Q49textinput8keyboard6pctype4BaseFQ59textinput8keyboard6pctype4Base13TranslateMode", "label": "retain masked current mode for invalid translation", "compiled": true, "instructions": [107, 105], "structural": 2, "positional": 98, "fuzzy": 98.09524, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 99.959274, "total_code": "28484", "matched_code": "27712", "matched_code_percent": 97.2897, "total_data": "18564", "matched_data": "18548", "matched_data_percent": 99.91381, "total_functions": 141, "matched_functions": 138, "matched_functions_percent": 97.87234, "total_units": 1}, "context": "/tmp/sol-high-context-2.txt"}
{"event": "attempt", "unit": "src/keyboard/tiPcKeyboard", "function": "setTranslateMode__Q49textinput8keyboard6pctype4BaseFQ59textinput8keyboard6pctype4Base13TranslateMode", "label": "initialize direct mode and combine roman/kana cases", "compiled": true, "instructions": [101, 105], "structural": 12, "positional": 100, "fuzzy": 93.46667, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 99.89103, "total_code": "28484", "matched_code": "27712", "matched_code_percent": 97.2897, "total_data": "18564", "matched_data": "18548", "matched_data_percent": 99.91381, "total_functions": 141, "matched_functions": 138, "matched_functions_percent": 97.87234, "total_units": 1}, "context": "/tmp/sol-high-context-3.txt"}
{"event": "restored", "unit": "src/keyboard/tiPcKeyboard", "function": "setTranslateMode__Q49textinput8keyboard6pctype4BaseFQ59textinput8keyboard6pctype4Base13TranslateMode", "reason": "defined invalid-enum handling cannot reproduce target undefined local"}
{"event": "begin", "unit": "src/keyboard/tiPcKeyboard", "function": "onPressedShift__Q49textinput8keyboard6pctype12LayoutByNW4RFb", "origin": "4a7353ec731f9f4b95175e0c3e8eaee44e45c4d0", "remote_source_identical": true, "diagnosis": "Both 49 instructions and 0x10 frame; r4 and r6 exchange eight times in inline modifier setter. Out-of-line setter is exact, so investigate getter/setter inline boundary and lifetime before final declaration search. Animation and optional sound already exact.", "fuzzy": 99.081635}
{"event": "pool", "unit": "src/keyboard/tiPcKeyboard", "output": "POOL IDENTICAL up to 204 (mine=204 base=204)\n"}
{"event": "attempt", "unit": "src/keyboard/tiPcKeyboard", "function": "onPressedShift__Q49textinput8keyboard6pctype12LayoutByNW4RFb", "label": "explicit modifier update with retained owner lifetime", "compiled": true, "instructions": [49, 49], "structural": 0, "positional": 0, "fuzzy": 100.0, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 99.97964, "total_code": "28484", "matched_code": "27908", "matched_code_percent": 97.97781, "total_data": "18564", "matched_data": "18548", "matched_data_percent": 99.91381, "total_functions": 141, "matched_functions": 139, "matched_functions_percent": 98.58156, "total_units": 1}, "context": "/tmp/sol-high-context-4.txt"}
{"event": "attempt", "unit": "src/keyboard/tiPcKeyboard", "function": "onPressedShift__Q49textinput8keyboard6pctype12LayoutByNW4RFb", "label": "modifier state copy before setter with const named flags", "compiled": true, "instructions": [49, 49], "structural": 0, "positional": 8, "fuzzy": 99.081635, "pool": 0, "regressions": ["main/src/keyboard/tiPcKeyboard:updateInput__Q49textinput8keyboard6pctype12LayoutByNW4RFiffUlUlUlPv"], "measures": {"fuzzy_match_percent": 99.97192, "total_code": "28484", "matched_code": "27152", "matched_code_percent": 95.323685, "total_data": "18564", "matched_data": "18548", "matched_data_percent": 99.91381, "total_functions": 141, "matched_functions": 137, "matched_functions_percent": 97.163124, "total_units": 1}, "context": "/tmp/sol-high-context-5.txt"}
{"event": "attempt", "unit": "src/keyboard/tiPcKeyboard", "function": "onPressedShift__Q49textinput8keyboard6pctype12LayoutByNW4RFb", "label": "inline shift-mask helper before modifier setter", "compiled": true, "instructions": [49, 49], "structural": 0, "positional": 9, "fuzzy": 99.081635, "pool": 0, "regressions": ["main/src/keyboard/tiPcKeyboard:updateInput__Q49textinput8keyboard6pctype12LayoutByNW4RFiffUlUlUlPv"], "measures": {"fuzzy_match_percent": 99.97192, "total_code": "28484", "matched_code": "27152", "matched_code_percent": 95.323685, "total_data": "18564", "matched_data": "18548", "matched_data_percent": 99.91381, "total_functions": 141, "matched_functions": 137, "matched_functions_percent": 97.163124, "total_units": 1}, "context": "/tmp/sol-high-context-6.txt"}
{"event": "begin", "unit": "src/keyboard/tiPcKeyboard", "function": "onReleasedShift__Q49textinput8keyboard6pctype12LayoutByNW4RFv", "origin": "137edaff42e9f87a6e9ecd05ddffc235aa76667a", "remote_source_identical": true, "diagnosis": "Both 39 instructions and 0x10 frame, eight r4/r6 differences in folded setter. Explicit pressed-state update already matched and passed fresh full gate; test same retained-owner boundary for released shift while preserving inline updateInput.", "fuzzy": 98.84615}
{"event": "pool", "unit": "src/keyboard/tiPcKeyboard", "output": "POOL IDENTICAL up to 204 (mine=204 base=204)\n"}
{"event": "attempt", "unit": "src/keyboard/tiPcKeyboard", "function": "onReleasedShift__Q49textinput8keyboard6pctype12LayoutByNW4RFv", "label": "explicit released modifier update with retained owner", "compiled": true, "instructions": [39, 39], "structural": 0, "positional": 7, "fuzzy": 98.97436, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 99.98034, "total_code": "28484", "matched_code": "27908", "matched_code_percent": 97.97781, "total_data": "18564", "matched_data": "18548", "matched_data_percent": 99.91381, "total_functions": 141, "matched_functions": 139, "matched_functions_percent": 98.58156, "total_units": 1}, "context": "/tmp/sol-high-context-7.txt"}
{"event": "attempt", "unit": "src/keyboard/tiPcKeyboard", "function": "onReleasedShift__Q49textinput8keyboard6pctype12LayoutByNW4RFv", "label": "direct released modifier update with owner declared after flag store", "compiled": true, "instructions": [39, 39], "structural": 0, "positional": 7, "fuzzy": 98.97436, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 99.98034, "total_code": "28484", "matched_code": "27908", "matched_code_percent": 97.97781, "total_data": "18564", "matched_data": "18548", "matched_data_percent": 99.91381, "total_functions": 141, "matched_functions": 139, "matched_functions_percent": 98.58156, "total_units": 1}, "context": "/tmp/sol-high-context-8.txt"}
{"event": "attempt", "unit": "src/keyboard/tiPcKeyboard", "function": "onReleasedShift__Q49textinput8keyboard6pctype12LayoutByNW4RFv", "label": "direct released modifier update with named current flag load", "compiled": true, "instructions": [39, 39], "structural": 0, "positional": 0, "fuzzy": 100.0, "pool": 0, "regressions": ["main/src/keyboard/tiPcKeyboard:updateInput__Q49textinput8keyboard6pctype12LayoutByNW4RFiffUlUlUlPv"], "measures": {"fuzzy_match_percent": 99.98034, "total_code": "28484", "matched_code": "27504", "matched_code_percent": 96.55947, "total_data": "18564", "matched_data": "18548", "matched_data_percent": 99.91381, "total_functions": 141, "matched_functions": 139, "matched_functions_percent": 98.58156, "total_units": 1}, "context": "/tmp/sol-high-context-9.txt"}
{"event": "attempt", "unit": "src/keyboard/tiPcKeyboard", "function": "onReleasedShift__Q49textinput8keyboard6pctype12LayoutByNW4RFv", "label": "direct released modifier update retaining signed mask local", "compiled": true, "instructions": [39, 39], "structural": 0, "positional": 7, "fuzzy": 98.84615, "pool": 0, "regressions": ["main/src/keyboard/tiPcKeyboard:updateInput__Q49textinput8keyboard6pctype12LayoutByNW4RFiffUlUlUlPv"], "measures": {"fuzzy_match_percent": 99.97823, "total_code": "28484", "matched_code": "27348", "matched_code_percent": 96.011795, "total_data": "18564", "matched_data": "18540", "matched_data_percent": 99.87072, "total_functions": 141, "matched_functions": 138, "matched_functions_percent": 97.87234, "total_units": 1}, "context": "/tmp/sol-high-context-10.txt"}
{"event": "attempt", "unit": "src/keyboard/tiPcKeyboard", "function": "onReleasedShift__Q49textinput8keyboard6pctype12LayoutByNW4RFv", "label": "named currentFlags before inspect of inlined caller", "compiled": true, "instructions": [39, 39], "structural": 0, "positional": 0, "fuzzy": 100.0, "pool": 0, "regressions": ["main/src/keyboard/tiPcKeyboard:updateInput__Q49textinput8keyboard6pctype12LayoutByNW4RFiffUlUlUlPv"], "measures": {"fuzzy_match_percent": 99.98034, "total_code": "28484", "matched_code": "27504", "matched_code_percent": 96.55947, "total_data": "18564", "matched_data": "18548", "matched_data_percent": 99.91381, "total_functions": 141, "matched_functions": 139, "matched_functions_percent": 98.58156, "total_units": 1}, "context": "/tmp/sol-high-context-11.txt"}
{"event": "attempt", "unit": "src/keyboard/tiPcKeyboard", "function": "onReleasedShift__Q49textinput8keyboard6pctype12LayoutByNW4RFv", "label": "independent released-state declarations for allocation search", "compiled": true, "instructions": [39, 39], "structural": 0, "positional": 0, "fuzzy": 100.0, "pool": 0, "regressions": ["main/src/keyboard/tiPcKeyboard:updateInput__Q49textinput8keyboard6pctype12LayoutByNW4RFiffUlUlUlPv"], "measures": {"fuzzy_match_percent": 99.98034, "total_code": "28484", "matched_code": "27504", "matched_code_percent": 96.55947, "total_data": "18564", "matched_data": "18548", "matched_data_percent": 99.91381, "total_functions": 141, "matched_functions": 139, "matched_functions_percent": 98.58156, "total_units": 1}, "context": "/tmp/sol-high-context-12.txt"}
{"event": "declsearch", "unit": "src/keyboard/tiPcKeyboard", "function": "onReleasedShift__Q49textinput8keyboard6pctype12LayoutByNW4RFv", "output": "declaration block:\n u32 flags;\n u32 currentFlags;\n Base* keyboard;\nstart (0, 0)\nbest (0, 0) after 1 builds; source restored; best order was:\n u32 flags;\n u32 currentFlags;\n Base* keyboard;\n"}
{"event": "attempt", "unit": "src/keyboard/tiPcKeyboard", "function": "onReleasedShift__Q49textinput8keyboard6pctype12LayoutByNW4RFv", "label": "released-state final declaration search", "compiled": true, "instructions": [39, 39], "structural": 0, "positional": 0, "fuzzy": 100.0, "pool": 0, "regressions": ["main/src/keyboard/tiPcKeyboard:updateInput__Q49textinput8keyboard6pctype12LayoutByNW4RFiffUlUlUlPv"], "measures": {"fuzzy_match_percent": 99.98034, "total_code": "28484", "matched_code": "27504", "matched_code_percent": 96.55947, "total_data": "18564", "matched_data": "18548", "matched_data_percent": 99.91381, "total_functions": 141, "matched_functions": 139, "matched_functions_percent": 98.58156, "total_units": 1}, "context": "/tmp/sol-high-context-13.txt"}
{"event": "attempt", "unit": "src/keyboard/tiPcKeyboard", "function": "onReleasedShift__Q49textinput8keyboard6pctype12LayoutByNW4RFv", "label": "const currentFlags load for released-state update", "compiled": true, "instructions": [39, 39], "structural": 0, "positional": 0, "fuzzy": 100.0, "pool": 0, "regressions": ["main/src/keyboard/tiPcKeyboard:updateInput__Q49textinput8keyboard6pctype12LayoutByNW4RFiffUlUlUlPv"], "measures": {"fuzzy_match_percent": 99.98034, "total_code": "28484", "matched_code": "27504", "matched_code_percent": 96.55947, "total_data": "18564", "matched_data": "18548", "matched_data_percent": 99.91381, "total_functions": 141, "matched_functions": 139, "matched_functions_percent": 98.58156, "total_units": 1}, "context": "/tmp/sol-high-context-14.txt"}
{"event": "attempt", "unit": "src/keyboard/tiPcKeyboard", "function": "onReleasedShift__Q49textinput8keyboard6pctype12LayoutByNW4RFv", "label": "read currentFlags before modifier computation", "compiled": true, "instructions": [39, 39], "structural": 0, "positional": 7, "fuzzy": 98.97436, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 99.98034, "total_code": "28484", "matched_code": "27908", "matched_code_percent": 97.97781, "total_data": "18564", "matched_data": "18548", "matched_data_percent": 99.91381, "total_functions": 141, "matched_functions": 139, "matched_functions_percent": 98.58156, "total_units": 1}, "context": "/tmp/sol-high-context-15.txt"}
{"event": "attempt", "unit": "src/keyboard/tiPcKeyboard", "function": "onReleasedShift__Q49textinput8keyboard6pctype12LayoutByNW4RFv", "label": "preserve original inline release boundary in updateInput", "compiled": true, "instructions": [39, 39], "structural": 0, "positional": 0, "fuzzy": 100.0, "pool": 0, "regressions": ["main/src/keyboard/tiPcKeyboard:updateInput__Q49textinput8keyboard6pctype12LayoutByNW4RFiffUlUlUlPv"], "measures": {"fuzzy_match_percent": 99.98034, "total_code": "28484", "matched_code": "27504", "matched_code_percent": 96.55947, "total_data": "18564", "matched_data": "18548", "matched_data_percent": 99.91381, "total_functions": 141, "matched_functions": 139, "matched_functions_percent": 98.58156, "total_units": 1}, "context": "/tmp/sol-high-context-16.txt"}
{"event": "attempt", "unit": "src/keyboard/tiPcKeyboard", "function": "onReleasedShift__Q49textinput8keyboard6pctype12LayoutByNW4RFv", "label": "explicit inline release update with owner retained", "compiled": true, "instructions": [39, 39], "structural": 0, "positional": 0, "fuzzy": 100.0, "pool": 0, "regressions": ["main/src/keyboard/tiPcKeyboard:updateInput__Q49textinput8keyboard6pctype12LayoutByNW4RFiffUlUlUlPv"], "measures": {"fuzzy_match_percent": 99.98034, "total_code": "28484", "matched_code": "27504", "matched_code_percent": 96.55947, "total_data": "18564", "matched_data": "18548", "matched_data_percent": 99.91381, "total_functions": 141, "matched_functions": 139, "matched_functions_percent": 98.58156, "total_units": 1}, "context": "/tmp/sol-high-context-17.txt"}
{"event": "begin", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "origin": "137edaff42e9f87a6e9ecd05ddffc235aa76667a", "remote_source_identical": true, "diagnosis": "Target 84 instructions, 0x30 frame, two saved GPRs; source 86, 0x40, three saved GPRs. Endian byte-load schedule and pointer/index lifetimes differ. Target arithmetic groups low16+low0 and high24+low8; test read helper and entrypoint inline boundary before declaration coloring.", "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": "partition-word inline helper with explicit high-byte load", "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-context-18.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "master-sector validation inline boundary", "compiled": true, "instructions": [86, 84], "structural": 24, "positional": 83, "fuzzy": 86.79762, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.625404, "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-context-19.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "validation inline boundary and partition-word helper", "compiled": true, "instructions": [86, 84], "structural": 24, "positional": 83, "fuzzy": 86.79762, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.625404, "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-context-20.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "byte-reader inline parameters high,upper,lower,low", "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-context-21.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "byte-reader inline parameters upper,high,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-context-22.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "byte-reader inline parameters low,lower,upper,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-context-23.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "byte-reader inline parameters lower,low,high,upper", "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-context-24.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "paired endian operand order (0, 1, 2, 3)", "compiled": true, "instructions": [86, 84], "structural": 31, "positional": 85, "fuzzy": 86.42857, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.59203, "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-context-25.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "paired endian operand order (0, 1, 3, 2)", "compiled": true, "instructions": [86, 84], "structural": 32, "positional": 85, "fuzzy": 86.35714, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.58558, "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-context-26.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "paired endian operand order (0, 2, 1, 3)", "compiled": true, "instructions": [86, 84], "structural": 26, "positional": 84, "fuzzy": 86.36905, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.586655, "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-context-27.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "paired endian operand order (0, 2, 3, 1)", "compiled": true, "instructions": [86, 84], "structural": 24, "positional": 84, "fuzzy": 86.440475, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.59311, "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-context-28.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "paired endian operand order (0, 3, 1, 2)", "compiled": true, "instructions": [86, 84], "structural": 31, "positional": 85, "fuzzy": 86.42857, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.59203, "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-context-29.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "paired endian operand order (0, 3, 2, 1)", "compiled": true, "instructions": [86, 84], "structural": 31, "positional": 85, "fuzzy": 86.57143, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.60495, "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-context-30.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "paired endian operand order (1, 0, 2, 3)", "compiled": true, "instructions": [86, 84], "structural": 31, "positional": 85, "fuzzy": 86.4881, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.59742, "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-context-31.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "paired endian operand order (1, 0, 3, 2)", "compiled": true, "instructions": [86, 84], "structural": 32, "positional": 85, "fuzzy": 86.416664, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.59096, "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-context-32.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "paired endian operand order (1, 2, 0, 3)", "compiled": true, "instructions": [84, 84], "structural": 32, "positional": 35, "fuzzy": 87.27381, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.66846, "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-context-33.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "paired endian operand order (1, 2, 3, 0)", "compiled": true, "instructions": [86, 84], "structural": 40, "positional": 85, "fuzzy": 82.32143, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.220665, "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-context-34.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "paired endian operand order (1, 3, 0, 2)", "compiled": true, "instructions": [84, 84], "structural": 27, "positional": 35, "fuzzy": 87.34524, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.67492, "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-context-35.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "paired endian operand order (1, 3, 2, 0)", "compiled": true, "instructions": [86, 84], "structural": 35, "positional": 85, "fuzzy": 82.39286, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.22713, "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-context-36.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "paired endian operand order (2, 0, 1, 3)", "compiled": true, "instructions": [86, 84], "structural": 26, "positional": 84, "fuzzy": 86.42857, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.59203, "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-context-37.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "paired endian operand order (2, 0, 3, 1)", "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-context-38.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "paired endian operand order (2, 1, 0, 3)", "compiled": true, "instructions": [84, 84], "structural": 23, "positional": 34, "fuzzy": 87.416664, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.68138, "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-context-39.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "paired endian operand order (2, 1, 3, 0)", "compiled": true, "instructions": [86, 84], "structural": 31, "positional": 85, "fuzzy": 82.35714, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.2239, "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-context-40.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "paired endian operand order (2, 3, 0, 1)", "compiled": true, "instructions": [84, 84], "structural": 19, "positional": 34, "fuzzy": 87.60714, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.6986, "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-context-41.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "paired endian operand order (2, 3, 1, 0)", "compiled": true, "instructions": [86, 84], "structural": 27, "positional": 85, "fuzzy": 82.47619, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.23466, "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-context-42.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "paired endian operand order (3, 0, 1, 2)", "compiled": true, "instructions": [86, 84], "structural": 31, "positional": 85, "fuzzy": 86.4881, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.59742, "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-context-43.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "paired endian operand order (3, 0, 2, 1)", "compiled": true, "instructions": [86, 84], "structural": 31, "positional": 85, "fuzzy": 86.63095, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.61034, "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-context-44.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "paired endian operand order (3, 1, 0, 2)", "compiled": true, "instructions": [84, 84], "structural": 28, "positional": 35, "fuzzy": 87.27381, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.66846, "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-context-45.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "paired endian operand order (3, 1, 2, 0)", "compiled": true, "instructions": [86, 84], "structural": 36, "positional": 85, "fuzzy": 82.27381, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.21636, "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-context-46.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "paired endian operand order (3, 2, 0, 1)", "compiled": true, "instructions": [84, 84], "structural": 21, "positional": 35, "fuzzy": 87.39286, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.67922, "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-context-47.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "paired endian operand order (3, 2, 1, 0)", "compiled": true, "instructions": [86, 84], "structural": 36, "positional": 85, "fuzzy": 82.32143, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.220665, "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-context-48.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "right-associated endian operand order (0, 1, 2, 3)", "compiled": true, "instructions": [86, 84], "structural": 31, "positional": 85, "fuzzy": 86.42857, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.59203, "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-context-49.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "right-associated endian operand order (0, 1, 3, 2)", "compiled": true, "instructions": [86, 84], "structural": 32, "positional": 85, "fuzzy": 86.35714, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.58558, "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-context-50.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "right-associated endian operand order (0, 2, 1, 3)", "compiled": true, "instructions": [86, 84], "structural": 26, "positional": 84, "fuzzy": 86.36905, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.586655, "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-context-51.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "right-associated endian operand order (0, 2, 3, 1)", "compiled": true, "instructions": [86, 84], "structural": 24, "positional": 84, "fuzzy": 86.440475, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.59311, "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-context-52.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "right-associated endian operand order (0, 3, 1, 2)", "compiled": true, "instructions": [86, 84], "structural": 31, "positional": 85, "fuzzy": 86.42857, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.59203, "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-context-53.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "right-associated endian operand order (0, 3, 2, 1)", "compiled": true, "instructions": [86, 84], "structural": 31, "positional": 85, "fuzzy": 86.57143, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.60495, "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-context-54.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "right-associated endian operand order (1, 0, 2, 3)", "compiled": true, "instructions": [86, 84], "structural": 31, "positional": 85, "fuzzy": 86.4881, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.59742, "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-context-55.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "right-associated endian operand order (1, 0, 3, 2)", "compiled": true, "instructions": [86, 84], "structural": 32, "positional": 85, "fuzzy": 86.416664, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.59096, "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-context-56.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "right-associated endian operand order (1, 2, 0, 3)", "compiled": true, "instructions": [84, 84], "structural": 24, "positional": 35, "fuzzy": 87.77381, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.71367, "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-context-57.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "right-associated endian operand order (1, 2, 3, 0)", "compiled": true, "instructions": [84, 84], "structural": 24, "positional": 34, "fuzzy": 88.78571, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.80517, "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-context-58.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "right-associated endian operand order (1, 3, 0, 2)", "compiled": true, "instructions": [84, 84], "structural": 22, "positional": 35, "fuzzy": 87.75, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.71152, "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-context-59.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "right-associated endian operand order (1, 3, 2, 0)", "compiled": true, "instructions": [84, 84], "structural": 31, "positional": 35, "fuzzy": 88.71429, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.798706, "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-context-60.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "right-associated endian operand order (2, 0, 1, 3)", "compiled": true, "instructions": [86, 84], "structural": 26, "positional": 84, "fuzzy": 86.42857, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.59203, "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-context-61.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "right-associated endian operand order (2, 0, 3, 1)", "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-context-62.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "right-associated endian operand order (2, 1, 0, 3)", "compiled": true, "instructions": [84, 84], "structural": 24, "positional": 35, "fuzzy": 87.690475, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.70614, "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-context-63.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "right-associated endian operand order (2, 1, 3, 0)", "compiled": true, "instructions": [84, 84], "structural": 30, "positional": 34, "fuzzy": 88.78571, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.80517, "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-context-64.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "right-associated endian operand order (2, 3, 0, 1)", "compiled": true, "instructions": [84, 84], "structural": 14, "positional": 35, "fuzzy": 87.75, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.71152, "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-context-65.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "right-associated endian operand order (2, 3, 1, 0)", "compiled": true, "instructions": [84, 84], "structural": 19, "positional": 33, "fuzzy": 88.85714, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.81162, "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-context-66.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "right-associated endian operand order (3, 0, 1, 2)", "compiled": true, "instructions": [86, 84], "structural": 31, "positional": 85, "fuzzy": 86.4881, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.59742, "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-context-67.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "right-associated endian operand order (3, 0, 2, 1)", "compiled": true, "instructions": [86, 84], "structural": 31, "positional": 85, "fuzzy": 86.63095, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.61034, "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-context-68.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "right-associated endian operand order (3, 1, 0, 2)", "compiled": true, "instructions": [84, 84], "structural": 21, "positional": 35, "fuzzy": 87.88095, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.72336, "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-context-69.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "right-associated endian operand order (3, 1, 2, 0)", "compiled": true, "instructions": [84, 84], "structural": 30, "positional": 35, "fuzzy": 88.72619, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.79978, "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-context-70.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "right-associated endian operand order (3, 2, 0, 1)", "compiled": true, "instructions": [84, 84], "structural": 14, "positional": 35, "fuzzy": 87.96429, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.730896, "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-context-71.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "right-associated endian operand order (3, 2, 1, 0)", "compiled": true, "instructions": [84, 84], "structural": 15, "positional": 33, "fuzzy": 88.86905, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.8127, "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-context-72.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "closest endian grouping before final allocation search", "compiled": true, "instructions": [84, 84], "structural": 14, "positional": 35, "fuzzy": 87.75, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.71152, "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-context-73.txt"}
{"event": "declsearch", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "output": "declaration block:\n pf_s16 index;\n pf_u32 start[4];\n pf_u32 count[4];\n pf_u32* p_start;\n pf_u32* p_count;\nstart (14, 35)\nimproved (14, 33)\nimproved (14, 32)\nimproved (14, 31)\nimproved (14, 25)\nbest (14, 25) after 33 builds; kept in source:\n pf_u32* p_start;\n pf_u32* p_count;\n pf_s16 index;\n pf_u32 start[4];\n pf_u32 count[4];\n"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "master-sector declaration allocation search after structural attempts", "compiled": true, "instructions": [84, 84], "structural": 14, "positional": 25, "fuzzy": 88.583336, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.786865, "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-context-74.txt"}
{"event": "begin", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_get_start_sector", "origin": "137edaff42e9f87a6e9ecd05ddffc235aa76667a", "remote_source_identical": true, "diagnosis": "Both 276 instructions with aligned 0x2e0 frame. First difference is unrolled partition word byte load grouping and scheduling, then logical-sector accumulation order. Target combines low16+low0 and high24+low8 pairs and fills start/count arrays in batches. Test endian helper, primary traversal loop, and inline scanning boundary before declaration search.", "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": "paired little-endian word macro", "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-context-75.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_get_start_sector", "label": "fixed primary-entry scan loop with paired word macro", "compiled": true, "instructions": [243, 276], "structural": 116, "positional": 251, "fuzzy": 67.67029, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 89.17438, "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-context-76.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_get_start_sector", "label": "inline partition scanning implementation boundary", "compiled": true, "instructions": [276, 276], "structural": 139, "positional": 173, "fuzzy": 84.76087, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 94.251884, "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-context-77.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_get_start_sector", "label": "compute relative first-partition word before adding current sector", "compiled": true, "instructions": [278, 276], "structural": 114, "positional": 221, "fuzzy": 79.53623, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 92.69968, "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-context-78.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_get_start_sector", "label": "separate table population into fixed start and count loops", "compiled": true, "instructions": [272, 276], "structural": 162, "positional": 251, "fuzzy": 73.5942, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 90.93434, "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-context-79.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_get_start_sector", "label": "advance primary arrays through named start/count pointers", "compiled": true, "instructions": [278, 276], "structural": 125, "positional": 190, "fuzzy": 80.39493, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 92.95479, "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-context-80.txt"}
{"event": "begin", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "origin": "137edaff42e9f87a6e9ecd05ddffc235aa76667a", "remote_source_identical": true, "diagnosis": "Both 126 instructions, same 0x30 frame and four float-to-int spill pairs. Target depth>=delay comparison, period division then LFO resets, all conversions grouped before history writes. Explicit history stores in source move before conversion stores. Test history loop and named float conversion temporaries, preserving .sdata2 encounter order.", "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": "history loop and target depth/period expressions", "compiled": true, "instructions": [126, 126], "structural": 2, "positional": 16, "fuzzy": 97.81746, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 96.54247, "total_code": "2684", "matched_code": "1920", "matched_code_percent": 71.53502, "total_data": "48", "matched_data": "48", "matched_data_percent": 100.0, "total_functions": 7, "matched_functions": 5, "matched_functions_percent": 71.42857, "total_units": 1}, "context": "/tmp/sol-high-context-81.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "label": "named scaled LFO values before integer conversions", "compiled": true, "instructions": [126, 126], "structural": 19, "positional": 36, "fuzzy": 91.650795, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 95.3845, "total_code": "2684", "matched_code": "1920", "matched_code_percent": 71.53502, "total_data": "48", "total_functions": 7, "matched_functions": 5, "matched_functions_percent": 71.42857, "total_units": 1}, "context": "/tmp/sol-high-context-82.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "label": "reuse depth local for gradient rate after depth conversion", "compiled": true, "instructions": [126, 126], "structural": 5, "positional": 18, "fuzzy": 94.47619, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 95.915054, "total_code": "2684", "matched_code": "1920", "matched_code_percent": 71.53502, "total_data": "48", "matched_data": "48", "matched_data_percent": 100.0, "total_functions": 7, "matched_functions": 5, "matched_functions_percent": 71.42857, "total_units": 1}, "context": "/tmp/sol-high-context-83.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "label": "split initialization declarations after history and expression repairs", "compiled": true, "instructions": [126, 126], "structural": 2, "positional": 16, "fuzzy": 97.81746, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 96.54247, "total_code": "2684", "matched_code": "1920", "matched_code_percent": 71.53502, "total_data": "48", "matched_data": "48", "matched_data_percent": 100.0, "total_functions": 7, "matched_functions": 5, "matched_functions_percent": 71.42857, "total_units": 1}, "context": "/tmp/sol-high-context-84.txt"}
{"event": "declsearch", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "output": ""}
{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "label": "final initialization declaration order search", "compiled": true, "instructions": [126, 126], "structural": 2, "positional": 16, "fuzzy": 97.81746, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 96.54247, "total_code": "2684", "matched_code": "1920", "matched_code_percent": 71.53502, "total_data": "48", "matched_data": "48", "matched_data_percent": 100.0, "total_functions": 7, "matched_functions": 5, "matched_functions_percent": 71.42857, "total_units": 1}, "context": "/tmp/sol-high-context-85.txt"}
{"event": "declsearch", "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 (2, 16)\nbest (2, 16) after 23 builds; source restored; best order was:\n f32 delay;\n f32 depth;\n f32 step;\n u32 channel;\n u32 sample;\n", "error": ""}
{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "label": "explicit initialization declaration range search", "compiled": true, "instructions": [126, 126], "structural": 2, "positional": 16, "fuzzy": 97.81746, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 96.54247, "total_code": "2684", "matched_code": "1920", "matched_code_percent": 71.53502, "total_data": "48", "matched_data": "48", "matched_data_percent": 100.0, "total_functions": 7, "matched_functions": 5, "matched_functions_percent": 71.42857, "total_units": 1}, "context": "/tmp/sol-high-context-86.txt"}
{"event": "begin", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__CalcLFO", "origin": "137edaff42e9f87a6e9ecd05ddffc235aa76667a", "remote_source_identical": true, "diagnosis": "Target 65 instructions and 0x10 frame, source 51 without frame. Target keeps signed64 value and sign negation, signed32 depth multiplication, and generic64 gradient compound multiplication. Table difference is signed32 before promotion. Target sign>=1 and CTR loop. Test native width and arithmetic boundaries before register search.", "fuzzy": 68.53846}
{"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": "__CalcLFO", "label": "signed64 output with compound gradient promotion before depth product", "compiled": true, "instructions": [66, 65], "structural": 6, "positional": 55, "fuzzy": 87.76923, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.16543, "total_code": "2684", "matched_code": "1920", "matched_code_percent": 71.53502, "total_data": "48", "matched_data": "48", "matched_data_percent": 100.0, "total_functions": 7, "matched_functions": 5, "matched_functions_percent": 71.42857, "total_units": 1}, "context": "/tmp/sol-high-context-87.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__CalcLFO", "label": "compute depth product before compound gradient multiplication", "compiled": true, "instructions": [60, 65], "structural": 23, "positional": 65, "fuzzy": 66.815384, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 91.13562, "total_code": "2684", "matched_code": "1920", "matched_code_percent": 71.53502, "total_data": "48", "matched_data": "48", "matched_data_percent": 100.0, "total_functions": 7, "matched_functions": 5, "matched_functions_percent": 71.42857, "total_units": 1}, "context": "/tmp/sol-high-context-88.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__CalcLFO", "label": "signed64 value and separate named depth product", "compiled": true, "instructions": [66, 65], "structural": 6, "positional": 55, "fuzzy": 87.76923, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.16543, "total_code": "2684", "matched_code": "1920", "matched_code_percent": 71.53502, "total_data": "48", "matched_data": "48", "matched_data_percent": 100.0, "total_functions": 7, "matched_functions": 5, "matched_functions_percent": 71.42857, "total_units": 1}, "context": "/tmp/sol-high-context-89.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__CalcLFO", "label": "fixed ascending sample loop with native64 products", "compiled": true, "instructions": [65, 65], "structural": 0, "positional": 11, "fuzzy": 99.07692, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 94.2608, "total_code": "2684", "matched_code": "1920", "matched_code_percent": 71.53502, "total_data": "48", "matched_data": "48", "matched_data_percent": 100.0, "total_functions": 7, "matched_functions": 5, "matched_functions_percent": 71.42857, "total_units": 1}, "context": "/tmp/sol-high-context-90.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__CalcLFO", "label": "fixed descending sample loop with native64 products", "compiled": true, "instructions": [65, 65], "structural": 0, "positional": 11, "fuzzy": 99.07692, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 94.2608, "total_code": "2684", "matched_code": "1920", "matched_code_percent": 71.53502, "total_data": "48", "matched_data": "48", "matched_data_percent": 100.0, "total_functions": 7, "matched_functions": 5, "matched_functions_percent": 71.42857, "total_units": 1}, "context": "/tmp/sol-high-context-91.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__CalcLFO", "label": "64-bit sign adjustment inline helper in ascending loop", "compiled": true, "instructions": [65, 65], "structural": 0, "positional": 11, "fuzzy": 99.07692, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 94.2608, "total_code": "2684", "matched_code": "1920", "matched_code_percent": 71.53502, "total_data": "48", "matched_data": "48", "matched_data_percent": 100.0, "total_functions": 7, "matched_functions": 5, "matched_functions_percent": 71.42857, "total_units": 1}, "context": "/tmp/sol-high-context-92.txt"}
{"event": "declsearch", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__CalcLFO", "output": "declaration block:\n s32 start;\n s32 difference;\n s64 gradient;\nstart (0, 11)\nbest (0, 11) after 6 builds; source restored; best order was:\n s32 start;\n s32 difference;\n s64 gradient;\n", "error": ""}
{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__CalcLFO", "label": "final LFO inner declaration search after loop and width fixes", "compiled": true, "instructions": [65, 65], "structural": 0, "positional": 11, "fuzzy": 99.07692, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 94.2608, "total_code": "2684", "matched_code": "1920", "matched_code_percent": 71.53502, "total_data": "48", "matched_data": "48", "matched_data_percent": 100.0, "total_functions": 7, "matched_functions": 5, "matched_functions_percent": 71.42857, "total_units": 1}, "context": "/tmp/sol-high-context-93.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__CalcLFO", "label": "declare interpolation locals together before fixed sample loop", "compiled": true, "instructions": [65, 65], "structural": 0, "positional": 11, "fuzzy": 99.07692, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 94.2608, "total_code": "2684", "matched_code": "1920", "matched_code_percent": 71.53502, "total_data": "48", "matched_data": "48", "matched_data_percent": 100.0, "total_functions": 7, "matched_functions": 5, "matched_functions_percent": 71.42857, "total_units": 1}, "context": "/tmp/sol-high-context-94.txt"}
{"event": "declsearch", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__CalcLFO", "output": "declaration block:\n s64 value;\n s32 start;\n s32 difference;\n s64 gradient;\n u32 phase;\n u32 sample;\nstart (0, 11)\nimproved (0, 0)\nbest (0, 0) after 2 builds; kept in source:\n s32 start;\n s64 value;\n s32 difference;\n s64 gradient;\n u32 phase;\n u32 sample;\n", "error": ""}
{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__CalcLFO", "label": "all interpolation locals final declaration search", "compiled": true, "instructions": [65, 65], "structural": 0, "positional": 0, "fuzzy": 100.0, "pool": 0, "regressions": [], "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}, "context": "/tmp/sol-high-context-95.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__CalcLFO", "label": "initialize table sample at its first use inside phase change", "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# 210: s32 start = lfo->table[phase]; \n# Error: ^^^\n# (10141) expression syntax error\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": "__CalcLFO", "label": "name interpolation table before phase sample loads", "compiled": true, "instructions": [65, 65], "structural": 0, "positional": 11, "fuzzy": 99.07692, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 94.2608, "total_code": "2684", "matched_code": "1920", "matched_code_percent": 71.53502, "total_data": "48", "matched_data": "48", "matched_data_percent": 100.0, "total_functions": 7, "matched_functions": 5, "matched_functions_percent": 71.42857, "total_units": 1}, "context": "/tmp/sol-high-context-97.txt"}
{"event": "begin", "unit": "libs/RevoEX/src/net/aes", "function": "AESiEncryptBlock", "origin": "137edaff42e9f87a6e9ecd05ddffc235aa76667a", "remote_source_identical": true, "diagnosis": "Both 158 instructions and 0x40 frame, same savegpr20 range. Target state registers and round/table load scheduling differ. Source computes four mix results before key XORs; target key XOR operand first in final substitution. Test integrate round keys into mix expressions and split scalar state declarations before register-only 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": "include round key in each next-state expression", "compiled": true, "instructions": [158, 158], "structural": 112, "positional": 137, "fuzzy": 52.829113, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 73.388084, "total_code": "2752", "matched_code": "684", "matched_code_percent": 24.85465, "total_data": "2800", "matched_data": "2800", "matched_data_percent": 100.0, "total_functions": 9, "matched_functions": 6, "matched_functions_percent": 66.66667, "total_units": 1}, "context": "/tmp/sol-high-context-98.txt"}
{"event": "attempt", "unit": "libs/RevoEX/src/net/aes", "function": "AESiEncryptBlock", "label": "separate state and round counter declaration lifetimes", "compiled": false, "error": "[1/1] MWCC build/43U/src/libs/RevoEX/src/net/aes.o\nFAILED: [code=2] build/43U/src/libs/RevoEX/src/net/aes.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/RevoEX/src/net/aes.c -o build/43U/src/libs/RevoEX/src/net && \"/usr/bin/python3\" tools/transform_dep.py build/43U/src/libs/RevoEX/src/net/aes.d build/43U/src/libs/RevoEX/src/net/aes.d\n### mwcceppc.exe Compiler:\n# File: libs\\RevoEX\\src\\net\\aes.c\n# ----------------------------------\n# 183: u32 stateA = input[0] ^ context->keys[0]; \n# Error: ^^^\n# (10141) expression syntax error\n# Too many errors printed, aborting program\n\nUser break, cancelled...\nninja: build stopped: subcommand failed.\n"}
{"event": "attempt", "unit": "libs/RevoEX/src/net/aes", "function": "AESiEncryptBlock", "label": "use do-style guarded round traversal with next-state key operands", "compiled": true, "instructions": [159, 158], "structural": 115, "positional": 154, "fuzzy": 50.949368, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 72.9564, "total_code": "2752", "matched_code": "684", "matched_code_percent": 24.85465, "total_data": "2800", "matched_data": "2800", "matched_data_percent": 100.0, "total_functions": 9, "matched_functions": 6, "matched_functions_percent": 66.66667, "total_units": 1}, "context": "/tmp/sol-high-context-100.txt"}
{"event": "attempt", "unit": "libs/RevoEX/src/net/aes", "function": "AESiEncryptBlock", "label": "split initialized scalar state declarations", "compiled": true, "instructions": [158, 158], "structural": 103, "positional": 134, "fuzzy": 60.348103, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 75.11482, "total_code": "2752", "matched_code": "684", "matched_code_percent": 24.85465, "total_data": "2800", "matched_data": "2800", "matched_data_percent": 100.0, "total_functions": 9, "matched_functions": 6, "matched_functions_percent": 66.66667, "total_units": 1}, "context": "/tmp/sol-high-context-101.txt"}
{"event": "declsearch", "unit": "libs/RevoEX/src/net/aes", "function": "AESiEncryptBlock", "output": "declaration block:\n u32 rounds = context->rounds;\n const u32* key = context->keys + 4;\n u32 a = input[0] ^ context->keys[0];\n u32 b = input[1] ^ context->keys[1];\n u32 c = input[2] ^ context->keys[2];\n u32 d = input[3] ^ context->keys[3];\nstart (103, 134)\nimproved (96, 135)\nimproved (96, 134)\nimproved (93, 125)\nimproved (88, 125)\nbest (88, 125) after 59 builds; kept in source:\n u32 a = input[0] ^ context->keys[0];\n u32 rounds = context->rounds;\n u32 b = input[1] ^ context->keys[1];\n u32 d = input[3] ^ context->keys[3];\n u32 c = input[2] ^ context->keys[2];\n const u32* key = context->keys + 4;\n", "error": ""}
{"event": "attempt", "unit": "libs/RevoEX/src/net/aes", "function": "AESiEncryptBlock", "label": "encryption scalar declaration search after structural attempts", "compiled": true, "instructions": [158, 158], "structural": 88, "positional": 125, "fuzzy": 64.99367, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 76.18169, "total_code": "2752", "matched_code": "684", "matched_code_percent": 24.85465, "total_data": "2800", "matched_data": "2800", "matched_data_percent": 100.0, "total_functions": 9, "matched_functions": 6, "matched_functions_percent": 66.66667, "total_units": 1}, "context": "/tmp/sol-high-context-102.txt"}
{"event": "attempt", "unit": "libs/RevoEX/src/net/aes", "function": "AESiEncryptBlock", "label": "assign all scalar state after independent declarations", "compiled": true, "instructions": [158, 158], "structural": 103, "positional": 134, "fuzzy": 60.348103, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 75.11482, "total_code": "2752", "matched_code": "684", "matched_code_percent": 24.85465, "total_data": "2800", "matched_data": "2800", "matched_data_percent": 100.0, "total_functions": 9, "matched_functions": 6, "matched_functions_percent": 66.66667, "total_units": 1}, "context": "/tmp/sol-high-context-103.txt"}
{"event": "attempt", "unit": "libs/RevoEX/src/net/aes", "function": "AESiEncryptBlock", "label": "block encryption inline implementation boundary", "compiled": true, "instructions": [158, 158], "structural": 84, "positional": 131, "fuzzy": 61.468353, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 75.37209, "total_code": "2752", "matched_code": "684", "matched_code_percent": 24.85465, "total_data": "2800", "matched_data": "2800", "matched_data_percent": 100.0, "total_functions": 9, "matched_functions": 6, "matched_functions_percent": 66.66667, "total_units": 1}, "context": "/tmp/sol-high-context-104.txt"}
{"event": "begin", "unit": "libs/RevoEX/src/net/aes", "function": "AESiDecryptBlock", "origin": "137edaff42e9f87a6e9ecd05ddffc235aa76667a", "remote_source_identical": true, "diagnosis": "Target 251 instructions versus 249, same 0x40 frame and savegpr20. Target creates separate keys base and round offset before inverse-mix loop; source advances absolute keys pointer. Target mutates doubled-byte intermediates through rotated XOR chain. Test inverse-mix temporary lifetimes and key indexing before declaration search.", "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": "mutate inverse-mix factors in target XOR dependency order", "compiled": true, "instructions": [249, 251], "structural": 139, "positional": 244, "fuzzy": 62.74502, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 75.57268, "total_code": "2752", "matched_code": "684", "matched_code_percent": 24.85465, "total_data": "2800", "matched_data": "2800", "matched_data_percent": 100.0, "total_functions": 9, "matched_functions": 6, "matched_functions_percent": 66.66667, "total_units": 1}, "context": "/tmp/sol-high-context-105.txt"}
{"event": "attempt", "unit": "libs/RevoEX/src/net/aes", "function": "AESiDecryptBlock", "label": "index key words relative to context across each round", "compiled": true, "instructions": [249, 251], "structural": 132, "positional": 244, "fuzzy": 62.151394, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 75.3561, "total_code": "2752", "matched_code": "684", "matched_code_percent": 24.85465, "total_data": "2800", "matched_data": "2800", "matched_data_percent": 100.0, "total_functions": 9, "matched_functions": 6, "matched_functions_percent": 66.66667, "total_units": 1}, "context": "/tmp/sol-high-context-106.txt"}
{"event": "attempt", "unit": "libs/RevoEX/src/net/aes", "function": "AESiDecryptBlock", "label": "retain initial key base before adding last-round offset", "compiled": true, "instructions": [251, 251], "structural": 133, "positional": 224, "fuzzy": 65.09164, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 76.42878, "total_code": "2752", "matched_code": "684", "matched_code_percent": 24.85465, "total_data": "2800", "matched_data": "2800", "matched_data_percent": 100.0, "total_functions": 9, "matched_functions": 6, "matched_functions_percent": 66.66667, "total_units": 1}, "context": "/tmp/sol-high-context-107.txt"}
{"event": "begin", "unit": "libs/RevoEX/src/net/aes", "function": "NETAESCreateEx", "origin": "137edaff42e9f87a6e9ecd05ddffc235aa76667a", "remote_source_identical": true, "diagnosis": "Target 108 instructions versus 107 and matching 0x20 frame. Target rounds conversion is rotate-right2 masked to27bits, while words conversion later is ordinary shift-right2. This is byte count times8 divided32 for rounds, unlike keyLength/4 CSE in ours. Target shares words/result register and XOR substitution groups differently. Test byte-to-bit round conversion before operands and temporaries.", "fuzzy": 88.98148}
{"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": "NETAESCreateEx", "label": "round count through byte-to-bit conversion before dividing word bits", "compiled": true, "instructions": [112, 108], "structural": 30, "positional": 109, "fuzzy": 74.10185, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 72.77907, "total_code": "2752", "matched_code": "684", "matched_code_percent": 24.85465, "total_data": "2800", "matched_data": "2800", "matched_data_percent": 100.0, "total_functions": 9, "matched_functions": 6, "matched_functions_percent": 66.66667, "total_units": 1}, "context": "/tmp/sol-high-context-108.txt"}
{"event": "attempt", "unit": "libs/RevoEX/src/net/aes", "function": "NETAESCreateEx", "label": "word count uses explicit shift after IV initialization", "compiled": true, "instructions": [112, 108], "structural": 30, "positional": 109, "fuzzy": 74.10185, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 72.77907, "total_code": "2752", "matched_code": "684", "matched_code_percent": 24.85465, "total_data": "2800", "matched_data": "2800", "matched_data_percent": 100.0, "total_functions": 9, "matched_functions": 6, "matched_functions_percent": 66.66667, "total_units": 1}, "context": "/tmp/sol-high-context-109.txt"}
{"event": "attempt", "unit": "libs/RevoEX/src/net/aes", "function": "NETAESCreateEx", "label": "byte-to-bit round calculation and target substitution XOR groups", "compiled": true, "instructions": [112, 108], "structural": 28, "positional": 108, "fuzzy": 72.01852, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 72.452034, "total_code": "2752", "matched_code": "684", "matched_code_percent": 24.85465, "total_data": "2800", "matched_data": "2800", "matched_data_percent": 100.0, "total_functions": 9, "matched_functions": 6, "matched_functions_percent": 66.66667, "total_units": 1}, "context": "/tmp/sol-high-context-110.txt"}
{"event": "attempt", "unit": "libs/RevoEX/src/net/aes", "function": "NETAESCreateEx", "label": "set transform bit before round count field", "compiled": true, "instructions": [112, 108], "structural": 26, "positional": 110, "fuzzy": 77.85185, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 73.36773, "total_code": "2752", "matched_code": "684", "matched_code_percent": 24.85465, "total_data": "2800", "matched_data": "2800", "matched_data_percent": 100.0, "total_functions": 9, "matched_functions": 6, "matched_functions_percent": 66.66667, "total_units": 1}, "context": "/tmp/sol-high-context-111.txt"}
{"event": "attempt", "unit": "libs/RevoEX/src/net/aes", "function": "NETAESCreateEx", "label": "explicit bits temporary for round count", "compiled": true, "instructions": [112, 108], "structural": 30, "positional": 109, "fuzzy": 74.10185, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 72.77907, "total_code": "2752", "matched_code": "684", "matched_code_percent": 24.85465, "total_data": "2800", "matched_data": "2800", "matched_data_percent": 100.0, "total_functions": 9, "matched_functions": 6, "matched_functions_percent": 66.66667, "total_units": 1}, "context": "/tmp/sol-high-context-112.txt"}
{"event": "attempt", "unit": "libs/RevoEX/src/net/aes", "function": "NETAESCreateEx", "label": "inline context round setup boundary with byte-to-bit conversion", "compiled": true, "instructions": [112, 108], "structural": 30, "positional": 109, "fuzzy": 74.10185, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 72.77907, "total_code": "2752", "matched_code": "684", "matched_code_percent": 24.85465, "total_data": "2800", "matched_data": "2800", "matched_data_percent": 100.0, "total_functions": 9, "matched_functions": 6, "matched_functions_percent": 66.66667, "total_units": 1}, "context": "/tmp/sol-high-context-113.txt"}
{"event": "declsearch", "unit": "libs/RevoEX/src/net/aes", "function": "NETAESCreateEx", "output": "declaration block:\n BOOL result = FALSE;\n u32 words;\n u32 index;\n u32 value;\n u32* schedule;\nstart (30, 109)\nimproved (12, 25)\nbest (12, 25) after 26 builds; kept in source:\n u32* schedule;\n u32 words;\n u32 index;\n u32 value;\n BOOL result = FALSE;\n", "error": ""}
{"event": "attempt", "unit": "libs/RevoEX/src/net/aes", "function": "NETAESCreateEx", "label": "creation local declaration search after bit and helper attempts", "compiled": true, "instructions": [108, 108], "structural": 12, "positional": 25, "fuzzy": 90.97222, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 75.42732, "total_code": "2752", "matched_code": "684", "matched_code_percent": 24.85465, "total_data": "2800", "matched_data": "2800", "matched_data_percent": 100.0, "total_functions": 9, "matched_functions": 6, "matched_functions_percent": 66.66667, "total_units": 1}, "context": "/tmp/sol-high-context-114.txt"}
{"event": "attempt", "unit": "src/keyboard/tiPcKeyboard", "function": "onReleasedShift__Q49textinput8keyboard6pctype12LayoutByNW4RFv", "label": "release caller independent declarations at modifier update boundary", "compiled": true, "instructions": [39, 39], "structural": 0, "positional": 0, "fuzzy": 100.0, "pool": 0, "regressions": ["main/src/keyboard/tiPcKeyboard:updateInput__Q49textinput8keyboard6pctype12LayoutByNW4RFiffUlUlUlPv"], "measures": {"fuzzy_match_percent": 99.98034, "total_code": "28484", "matched_code": "27504", "matched_code_percent": 96.55947, "total_data": "18564", "matched_data": "18548", "matched_data_percent": 99.91381, "total_functions": 141, "matched_functions": 139, "matched_functions_percent": 98.58156, "total_units": 1}, "context": "/tmp/sol-high-context-115.txt"}
{"event": "declsearch", "unit": "src/keyboard/tiPcKeyboard", "function": "onReleasedShift__Q49textinput8keyboard6pctype12LayoutByNW4RFv", "output": "declaration block:\n u32 currentFlags;\n u32 flags;\n Base* keyboard;\nstart (0, 7)\nimproved (0, 0)\nbest (0, 0) after 2 builds; kept in source:\n u32 flags;\n u32 currentFlags;\n Base* keyboard;\n", "error": ""}
{"event": "attempt", "unit": "src/keyboard/tiPcKeyboard", "function": "onReleasedShift__Q49textinput8keyboard6pctype12LayoutByNW4RFv", "label": "final release caller declaration search", "compiled": true, "instructions": [39, 39], "structural": 0, "positional": 0, "fuzzy": 100.0, "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-context-116.txt"}
{"event": "attempt", "unit": "libs/RevoEX/src/net/aes", "function": "NETAESCreateEx", "label": "balanced rotated substitution and nested plain substitution", "compiled": true, "instructions": [108, 108], "structural": 10, "positional": 31, "fuzzy": 88.888885, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 75.10029, "total_code": "2752", "matched_code": "684", "matched_code_percent": 24.85465, "total_data": "2800", "matched_data": "2800", "matched_data_percent": 100.0, "total_functions": 9, "matched_functions": 6, "matched_functions_percent": 66.66667, "total_units": 1}, "context": "/tmp/sol-high-context-117.txt"}
{"event": "attempt", "unit": "libs/RevoEX/src/net/aes", "function": "NETAESCreateEx", "label": "balanced substitutions with transform flag before rounds setup", "compiled": true, "instructions": [108, 108], "structural": 6, "positional": 26, "fuzzy": 92.638885, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 75.68896, "total_code": "2752", "matched_code": "684", "matched_code_percent": 24.85465, "total_data": "2800", "matched_data": "2800", "matched_data_percent": 100.0, "total_functions": 9, "matched_functions": 6, "matched_functions_percent": 66.66667, "total_units": 1}, "context": "/tmp/sol-high-context-118.txt"}
{"event": "attempt", "unit": "libs/RevoEX/src/net/aes", "function": "NETAESCreateEx", "label": "explicit rotate then substitute key word with separate Rcon XOR", "compiled": true, "instructions": [108, 108], "structural": 12, "positional": 23, "fuzzy": 91.06481, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 75.441864, "total_code": "2752", "matched_code": "684", "matched_code_percent": 24.85465, "total_data": "2800", "matched_data": "2800", "matched_data_percent": 100.0, "total_functions": 9, "matched_functions": 6, "matched_functions_percent": 66.66667, "total_units": 1}, "context": "/tmp/sol-high-context-119.txt"}
{"event": "declsearch", "unit": "libs/RevoEX/src/net/aes", "function": "NETAESCreateEx", "output": "declaration block:\n u32* schedule;\n u32 words;\n u32 index;\n u32 value;\n BOOL result = FALSE;\nstart (6, 26)\nbest (6, 26) after 23 builds; source restored; best order was:\n u32* schedule;\n u32 words;\n u32 index;\n u32 value;\n BOOL result = FALSE;\n", "error": ""}
{"event": "attempt", "unit": "libs/RevoEX/src/net/aes", "function": "NETAESCreateEx", "label": "final creation declarations after substitution structural repairs", "compiled": true, "instructions": [108, 108], "structural": 6, "positional": 26, "fuzzy": 92.638885, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 75.68896, "total_code": "2752", "matched_code": "684", "matched_code_percent": 24.85465, "total_data": "2800", "matched_data": "2800", "matched_data_percent": 100.0, "total_functions": 9, "matched_functions": 6, "matched_functions_percent": 66.66667, "total_units": 1}, "context": "/tmp/sol-high-context-120.txt"}
{"event": "attempt", "unit": "libs/RevoEX/src/net/aes", "function": "NETAESCreateEx", "label": "balanced rotated substitution with named round result", "compiled": true, "instructions": [108, 108], "structural": 6, "positional": 15, "fuzzy": 93.42593, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 75.8125, "total_code": "2752", "matched_code": "684", "matched_code_percent": 24.85465, "total_data": "2800", "matched_data": "2800", "matched_data_percent": 100.0, "total_functions": 9, "matched_functions": 6, "matched_functions_percent": 66.66667, "total_units": 1}, "context": "/tmp/sol-high-context-121.txt"}
{"event": "attempt", "unit": "libs/RevoEX/src/net/aes", "function": "NETAESCreateEx", "label": "separate balanced substitution from round-constant application", "compiled": true, "instructions": [108, 108], "structural": 6, "positional": 13, "fuzzy": 93.51852, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 75.827034, "total_code": "2752", "matched_code": "684", "matched_code_percent": 24.85465, "total_data": "2800", "matched_data": "2800", "matched_data_percent": 100.0, "total_functions": 9, "matched_functions": 6, "matched_functions_percent": 66.66667, "total_units": 1}, "context": "/tmp/sol-high-context-122.txt"}
{"event": "attempt", "unit": "libs/RevoEX/src/net/aes", "function": "NETAESCreateEx", "label": "name rotated substitution byte terms in target pair groups", "compiled": true, "instructions": [108, 108], "structural": 0, "positional": 0, "fuzzy": 100.0, "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-context-123.txt"}
{"event": "attempt", "unit": "libs/RevoEX/src/net/aes", "function": "NETAESCreateEx", "label": "format exact key setup and substitution for review", "compiled": true, "instructions": [108, 108], "structural": 0, "positional": 0, "fuzzy": 100.0, "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-context-124.txt"}
{"event": "begin", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "origin": "137edaff42e9f87a6e9ecd05ddffc235aa76667a", "remote_source_identical": true, "diagnosis": "AES key setup matched after naming individual byte terms and fixing compound-expression boundaries. Test same defined local-byte decomposition for master boot sector. Target starts with high24 load, then low16+low0, high24+low8; only two saved GPRs. Keep pointer/array traversal and preliminary zero store intact.", "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": "name all partition start/count byte terms before grouped sums", "compiled": true, "instructions": [86, 84], "structural": 26, "positional": 84, "fuzzy": 85.22619, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.483315, "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-context-125.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "accumulate high and low half sums in target sequence", "compiled": true, "instructions": [84, 84], "structural": 14, "positional": 47, "fuzzy": 84.2381, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.393974, "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-context-126.txt"}
{"event": "attempt", "unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "label": "target sum sequence with pointer declarations before loop index", "compiled": true, "instructions": [84, 84], "structural": 14, "positional": 47, "fuzzy": 84.2381, "pool": 0, "regressions": [], "measures": {"fuzzy_match_percent": 93.393974, "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-context-127.txt"}
{"event": "completeness_audit", "remaining": [{"unit": "src/keyboard/tiPcKeyboard", "function": "setTranslateMode__Q49textinput8keyboard6pctype4BaseFQ59textinput8keyboard6pctype4Base13TranslateMode", "fuzzy": 99.04762, "distinct_compiled_attempts": 3}, {"unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_is_master_boot_sector", "fuzzy": 86.5, "distinct_compiled_attempts": 60}, {"unit": "libs/RVL_SDK/src/fa/pdm_partition", "function": "pdm_part_get_start_sector", "fuzzy": 82.56159, "distinct_compiled_attempts": 6}, {"unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "function": "__InitParams", "fuzzy": 69.9127, "distinct_compiled_attempts": 6}, {"unit": "libs/RevoEX/src/net/aes", "function": "AESiEncryptBlock", "fuzzy": 60.348103, "distinct_compiled_attempts": 6}, {"unit": "libs/RevoEX/src/net/aes", "function": "AESiDecryptBlock", "fuzzy": 61.49004, "distinct_compiled_attempts": 3}], "compiled_attempts": 125}
{"event": "final_full_gate", "comparison": [{"unit": "src/keyboard/tiPcKeyboard", "before_exact": 138, "after_exact": 140, "total_functions": 141, "before_code": 27712, "after_code": 28064, "total_code": 28484, "before_data": 18548, "after_data": 18548, "total_data": 18564}, {"unit": "libs/RVL_SDK/src/fa/pdm_partition", "before_exact": 18, "after_exact": 18, "total_functions": 20, "before_code": 2276, "after_code": 2276, "total_code": 3716, "before_data": 0, "after_data": 0, "total_data": 0}, {"unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "before_exact": 5, "after_exact": 6, "total_functions": 7, "before_code": 1920, "after_code": 2180, "total_code": 2684, "before_data": 48, "after_data": 48, "total_data": 48}, {"unit": "libs/RevoEX/src/net/aes", "before_exact": 6, "after_exact": 7, "total_functions": 9, "before_code": 684, "after_code": 1116, "total_code": 2752, "before_data": 2800, "after_data": 2800, "total_data": 2800}], "remaining": [{"unit": "src/keyboard/tiPcKeyboard", "name": "setTranslateMode__Q49textinput8keyboard6pctype4BaseFQ59textinput8keyboard6pctype4Base13TranslateMode", "fuzzy": 99.04762, "attempts": 3, "why": "Source 106/target 105 instructions. Sole extra move initializes keyMode for invalid enums; target reads an undefined saved register for that case. Defined switch variants were restored."}, {"unit": "libs/RVL_SDK/src/fa/pdm_partition", "name": "pdm_part_is_master_boot_sector", "fuzzy": 86.5, "attempts": 60, "why": "Source 86/target 84 instructions. Source frame 0x40 saves three GPRs; target frame 0x30 saves two. Endian byte loads and pointer/index allocation differ. Best structural variants still have 14 structural differences."}, {"unit": "libs/RVL_SDK/src/fa/pdm_partition", "name": "pdm_part_get_start_sector", "fuzzy": 82.56159, "attempts": 6, "why": "Both 276 instructions with aligned 0x2e0 frame. Primary/extended partition word byte grouping, operand evaluation order, and scalar lifetimes differ. Loop and inline-boundary variants did not match."}, {"unit": "libs/RVL_SDK/src/axfx/AXFXChorusExp", "name": "__InitParams", "fuzzy": 69.9127, "attempts": 6, "why": "Both 126 instructions and 0x30 frame. Explicit history stores schedule before conversions, and comparison/gradient scheduling differs. History-loop and period variants reached 97.81746% but retained 16 positional differences."}, {"unit": "libs/RevoEX/src/net/aes", "name": "AESiEncryptBlock", "fuzzy": 60.348103, "attempts": 6, "why": "Both 158 instructions and 0x40 frame. State setup, table lookup/rotation scheduling, and XOR temporary lifetimes differ. Structural and declaration variants remained non-exact."}, {"unit": "libs/RevoEX/src/net/aes", "name": "AESiDecryptBlock", "fuzzy": 61.49004, "attempts": 3, "why": "Source 249/target 251 instructions with 0x40 frame. Initial key base, inverse-mix XOR dependencies, round indexing, and table state lifetimes differ. Closest key-base variant had 251 instructions but remained non-exact."}], "gate": "tools/decomp-assist/sol-high-structural-oct2.final-gate.txt", "dol_sha1": "26116613f624061ba99c8d1a299aaa6efa85670d", "result": "GATE PASS", "regressions": 0, "forbidden_patterns": 0, "readability_warnings": 0}

View File

@@ -0,0 +1,47 @@
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 27712/28484 data 18548 functions 138 fuzzy 99.9733
[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/RVL_SDK/src/axfx/AXFXChorusExp] pool: IDENTICAL
[libs/RVL_SDK/src/axfx/AXFXChorusExp] objdiff: code 2180/2684 data 48/48 functions 6/7 fuzzy 94.3502 linked code 0
[libs/RVL_SDK/src/axfx/AXFXChorusExp] instruction-exact functions: 6/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 94.35023
[libs/RVL_SDK/src/axfx/AXFXChorusExp] below 100: __InitParams 69.9127
[libs/RVL_SDK/src/axfx/AXFXChorusExp] baseline: code 1920/2684 data 48 functions 5 fuzzy 91.3025
[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 684/2752 data 2800 functions 6 fuzzy 75.1148
regressions vs baseline: 0
global matched_code_percent: 88.24768 -> 88.28254
global fuzzy_match_percent: 99.38681 -> 99.39125
global complete_code_percent: 62.52416 -> 62.52416
global matched_data_percent: 92.11517 -> 92.11517
forbidden patterns added (net, per file): 0
readability warnings (net, per file; must be 0 in the final result): 0
GATE PASS

View File

@@ -0,0 +1,42 @@
GATE PASS
Final full gate over all four units passed a clean 43U rebuild, the DOL hash, zero regressions, zero forbidden patterns, and zero readability warnings. All four pools are identical. The four new matches and the existing updateInput caller have zero ctxdiff differences.
| Unit | Instruction-exact before -> after | Objdiff code bytes before -> after | Objdiff data bytes before -> after |
| --- | --- | --- | --- |
| src/keyboard/tiPcKeyboard | 138/141 -> 140/141 | 27712/28484 -> 28064/28484 | 18548/18564 -> 18548/18564 |
| libs/RVL_SDK/src/fa/pdm_partition | 18/20 -> 18/20 | 2276/3716 -> 2276/3716 | 0/0 -> 0/0 |
| libs/RVL_SDK/src/axfx/AXFXChorusExp | 5/7 -> 6/7 | 1920/2684 -> 2180/2684 | 48/48 -> 48/48 |
| libs/RevoEX/src/net/aes | 6/9 -> 7/9 | 684/2752 -> 1116/2752 | 2800/2800 -> 2800/2800 |
Remaining functions, with current objdiff scores and distinct compiled attempts:
- `setTranslateMode__Q49textinput8keyboard6pctype4BaseFQ59textinput8keyboard6pctype4Base13TranslateMode`, 99.04762%, 3 attempts, best experiment 98.09524%. Source 106/target 105 instructions. Sole extra move initializes keyMode for invalid enums; target reads an undefined saved register for that case. Defined switch variants were restored.
- `pdm_part_is_master_boot_sector`, 86.5%, 60 attempts, best experiment 88.86905%. Source 86/target 84 instructions. Source frame 0x40 saves three GPRs; target frame 0x30 saves two. Endian byte loads and pointer/index allocation differ. Best structural variants still have 14 structural differences.
- `pdm_part_get_start_sector`, 82.56159%, 6 attempts, best experiment 84.76087%. Both 276 instructions with aligned 0x2e0 frame. Primary/extended partition word byte grouping, operand evaluation order, and scalar lifetimes differ. Loop and inline-boundary variants did not match.
- `__InitParams`, 69.9127%, 6 attempts, best experiment 97.81746%. Both 126 instructions and 0x30 frame. Explicit history stores schedule before conversions, and comparison/gradient scheduling differs. History-loop and period variants reached 97.81746% but retained 16 positional differences.
- `AESiEncryptBlock`, 60.348103%, 6 attempts, best experiment 64.99367%. Both 158 instructions and 0x40 frame. State setup, table lookup/rotation scheduling, and XOR temporary lifetimes differ. Structural and declaration variants remained non-exact.
- `AESiDecryptBlock`, 61.49004%, 3 attempts, best experiment 65.09164%. Source 249/target 251 instructions with 0x40 frame. Initial key base, inverse-mix XOR dependencies, round indexing, and table state lifetimes differ. Closest key-base variant had 251 instructions but remained non-exact.
Changed source and local commits:
- [src/keyboard/tiPcKeyboard.cpp](/mnt/drive2/projects/wii-ipl-workers/sol-high/src/keyboard/tiPcKeyboard.cpp:2114), `bab40302` and `2dae31dd`. Pressed/released modifier update lifetimes match; updateInput preserves its existing exact code.
- [libs/RVL_SDK/src/axfx/AXFXChorusExp.c](/mnt/drive2/projects/wii-ipl-workers/sol-high/libs/RVL_SDK/src/axfx/AXFXChorusExp.c:200), `6feffd9d`. Native signed64 LFO products, fixed sample traversal, and local declaration order match.
- [libs/RevoEX/src/net/aes.c](/mnt/drive2/projects/wii-ipl-workers/sol-high/libs/RevoEX/src/net/aes.c:236), `af77141a`. Byte-to-bit round calculation and named substitution byte terms match.
- `tools/decomp-assist/sol-high-structural-oct2.attempts.jsonl`, `tools/decomp-assist/sol-high-structural-oct2.final-gate.txt`, and this report contain the attempt and validation evidence.
Uncertainty: tiPcKeyboard retains 16 unscored .bss data bytes. Objdiff gives that section no match percentage. No linking/configuration changes were made.
Final 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/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/axfx/AXFXChorusExp] objdiff: code 2180/2684 data 48/48 functions 6/7 fuzzy 94.3502 linked code 0
[libs/RVL_SDK/src/axfx/AXFXChorusExp] instruction-exact functions: 6/7
[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
```