Compare commits
17 Commits
agent/bitt
...
agent/w092
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
abb54b1f4a | ||
|
|
4f77bbd2ae | ||
|
|
9c6416820d | ||
|
|
4bfa1b6c4c | ||
|
|
cbed5f6d77 | ||
|
|
f8da383802 | ||
|
|
18786d6b7d | ||
|
|
e7e35742dd | ||
|
|
73a89b06e5 | ||
|
|
f0d938021e | ||
|
|
e9545f74d5 | ||
|
|
d0a9514c9b | ||
|
|
c653415d77 | ||
|
|
f98ffd0da3 | ||
|
|
c31af38e0e | ||
|
|
9aef037505 | ||
|
|
72cf3991b2 |
@@ -53,9 +53,9 @@ Progress
|
||||
<!-- progress:start -->
|
||||
| Decompiled | Matched | Linked | Data |
|
||||
|:---:|:---:|:---:|:---:|
|
||||
| 99.52% | 89.16% | 66.24% | 99.37% |
|
||||
| 99.53% | 89.30% | 67.08% | 99.37% |
|
||||
|
||||
units 940/1027 complete, functions 12301/12563 matched.
|
||||
units 944/1027 complete, functions 12312/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 -->
|
||||
|
||||
@@ -21493,7 +21493,7 @@ lbl_81695998 = .sdata2:0x81695998; // type:object size:0x1 data:byte
|
||||
lbl_81695999 = .sdata2:0x81695999; // type:object size:0x1 data:byte
|
||||
lbl_8169599C = .sdata2:0x8169599C; // type:object size:0x1 data:byte
|
||||
lbl_8169599D = .sdata2:0x8169599D; // type:object size:0x1 data:byte
|
||||
lbl_816959A0 = .sdata2:0x816959A0; // type:object size:0x8 data:byte
|
||||
lbl_816959A0 = .sdata2:0x816959A0; // type:object size:0x1 data:byte
|
||||
@3654 = .sdata2:0x816959A8; // type:object size:0x4 scope:local align:4 data:float
|
||||
@3714 = .sdata2:0x816959AC; // type:object size:0x4 scope:local align:4 data:float
|
||||
lbl_816959B0 = .sdata2:0x816959B0; // type:object size:0x8 align:8 data:double
|
||||
|
||||
12
configure.py
12
configure.py
@@ -772,7 +772,7 @@ config.libs = [
|
||||
]
|
||||
),
|
||||
IPLSection("channelTitle", [
|
||||
Object(Equivalent, "scene/channelTitle/iplChannelTitle.cpp"),
|
||||
Object(Matching, "scene/channelTitle/iplChannelTitle.cpp"),
|
||||
]
|
||||
),
|
||||
IPLSection("faceSelect", [
|
||||
@@ -850,7 +850,7 @@ config.libs = [
|
||||
),
|
||||
IPLSection("sdChannelSelect", [
|
||||
Object(NonMatching, "scene/sdChannelSelect/iplSDChannelSelect.cpp"),
|
||||
Object(NonMatching, "scene/sdChannelSelect/iplSDChannelObj.cpp"),
|
||||
Object(Matching, "scene/sdChannelSelect/iplSDChannelObj.cpp"),
|
||||
]
|
||||
),
|
||||
IPLSection("sdChannelTitle", [
|
||||
@@ -1062,7 +1062,7 @@ config.libs = [
|
||||
Object(Matching, "nhttp/NHTTP_response.c"),
|
||||
Object(Matching, "nhttp/NHTTP_socket_RVL.c"),
|
||||
Object(NonMatching, "nhttp/NHTTP_stdlib_RVL.c"),
|
||||
Object(NonMatching, "nhttp/NHTTP_thread.c"),
|
||||
Object(Matching, "nhttp/NHTTP_thread.c"),
|
||||
Object(Matching, "nhttp/d_nhttp_private.c"),
|
||||
Object(Matching, "nhttp/d_nhttp.c"),
|
||||
Object(Matching, "nhttp/d_nhttp_common.c"),
|
||||
@@ -1692,7 +1692,7 @@ config.libs = [
|
||||
Object(Matching, "fa/pdm_disk.c"),
|
||||
Object(NonMatching, "fa/pdm_partition.c"),
|
||||
Object(NonMatching, "fa/pf_cache.c"),
|
||||
Object(NonMatching, "fa/pf_cluster.c"),
|
||||
Object(Matching, "fa/pf_cluster.c"),
|
||||
Object(NonMatching, "fa/pf_dir.c"),
|
||||
Object(Matching, "fa/pf_entry.c"),
|
||||
Object(NonMatching, "fa/pf_entry_iterator.c"),
|
||||
@@ -1860,7 +1860,7 @@ config.libs = [
|
||||
|
||||
Object(Matching, "fa/msc/puh_msc.c"),
|
||||
Object(Matching, "fa/msc/puh_msc_cmd.c"),
|
||||
Object(NonMatching, "fa/msc/puh_msc_blk.c"),
|
||||
Object(Matching, "fa/msc/puh_msc_blk.c"),
|
||||
]
|
||||
),
|
||||
RVLSDKLib("sdi", [
|
||||
@@ -1908,7 +1908,7 @@ config.libs = [
|
||||
[
|
||||
Object(Matching, "core/eggAllocator.cpp"),
|
||||
Object(Matching, "core/eggAudioArcPlayerMgr.cpp"),
|
||||
Object(Equivalent, "core/eggAudioExpMgr.cpp"),
|
||||
Object(Matching, "core/eggAudioExpMgr.cpp"),
|
||||
Object(Matching, "core/eggAudioFxMgr.cpp"),
|
||||
Object(Matching, "core/eggAudioMgr.cpp"),
|
||||
Object(Matching, "core/eggAudioHeapMgr.cpp"),
|
||||
|
||||
@@ -34,14 +34,14 @@ namespace gui {
|
||||
virtual void draw(Mtx& mtx) {} // 0x14 (0x05)
|
||||
virtual void draw() {} // 0x18 (0x06)
|
||||
|
||||
#if defined(IPL_CHANNEL_TITLE_NOVTABLE) || defined(IPL_GC_SAVEDATA_NOVTABLE) || defined(IPL_MEMORY_CARD_NOVTABLE)
|
||||
#if defined(IPL_GC_SAVEDATA_NOVTABLE) || defined(IPL_MEMORY_CARD_NOVTABLE)
|
||||
virtual ~Interface(); // 0x1C (0x07)
|
||||
#else
|
||||
virtual ~Interface() {} // 0x1C (0x07)
|
||||
#endif
|
||||
};
|
||||
|
||||
#if defined(IPL_CHANNEL_TITLE_NOVTABLE) || defined(IPL_GC_WINDOW_NOVTABLE) || defined(IPL_GC_SAVEDATA_NOVTABLE) || defined(IPL_MEMORY_CARD_NOVTABLE)
|
||||
#if defined(IPL_GC_WINDOW_NOVTABLE) || defined(IPL_GC_SAVEDATA_NOVTABLE) || defined(IPL_MEMORY_CARD_NOVTABLE)
|
||||
class __declspec(novtable) EventHandler {
|
||||
#else
|
||||
class EventHandler {
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace ipl {
|
||||
mbDisableCon(bDisableCon) {}
|
||||
#endif
|
||||
|
||||
#if defined(IPL_CHANNEL_TITLE_NOVTABLE) || defined(IPL_GC_SAVEDATA_NOVTABLE) || defined(IPL_MEMORY_CARD_NOVTABLE)
|
||||
#if defined(IPL_GC_SAVEDATA_NOVTABLE) || defined(IPL_MEMORY_CARD_NOVTABLE)
|
||||
virtual ~PaneManager();
|
||||
#else
|
||||
virtual ~PaneManager() {}
|
||||
|
||||
@@ -103,7 +103,11 @@ namespace ipl {
|
||||
*/
|
||||
Object(EGG::Heap* heap, nand::LayoutFile* file, const char* directory, const char* fileName);
|
||||
|
||||
#ifdef IPL_CHANNEL_TITLE_NOVTABLE
|
||||
virtual ~Object() {}
|
||||
#else
|
||||
virtual ~Object();
|
||||
#endif
|
||||
|
||||
void initLocationAdjust();
|
||||
|
||||
|
||||
@@ -145,6 +145,13 @@ namespace ipl {
|
||||
mpCommonFile = commonFile;
|
||||
mpLangFile = langFile;
|
||||
}
|
||||
#ifdef IPL_CHANNEL_TITLE_NOVTABLE
|
||||
virtual ~LangFile() {}
|
||||
virtual void read() {}
|
||||
virtual bool isFinished() { return false; }
|
||||
virtual int checkData() { return 0; }
|
||||
virtual bool isFatalError() { return false; }
|
||||
#else
|
||||
virtual ~LangFile(); // 0x08
|
||||
|
||||
virtual void read(); // 0x0C
|
||||
@@ -152,6 +159,7 @@ namespace ipl {
|
||||
virtual bool isFinished(); // 0x14
|
||||
virtual int checkData(); // 0x18
|
||||
virtual bool isFatalError(); // 0x1C
|
||||
#endif
|
||||
|
||||
File* getCmnFile() const { return mpCommonFile; }
|
||||
File* getLangFile() const { return mpLangFile; }
|
||||
@@ -165,7 +173,11 @@ namespace ipl {
|
||||
public:
|
||||
LayoutFile(EGG::Heap* heap, const char* dirName, const char* fileName, ARCHandle* arc, bool bIsNandFile);
|
||||
LayoutFile(File* commonFile, File* langFile = NULL) : LangFile(commonFile, langFile) {}
|
||||
#ifdef IPL_CHANNEL_TITLE_NOVTABLE
|
||||
virtual ~LayoutFile() {} // 0x08
|
||||
#else
|
||||
virtual ~LayoutFile(); // 0x08
|
||||
#endif
|
||||
};
|
||||
} // namespace nand
|
||||
} // namespace ipl
|
||||
|
||||
@@ -38,6 +38,19 @@ namespace EGG {
|
||||
|
||||
virtual void calc(); // 0x30
|
||||
|
||||
#ifdef EGG_AUDIO_EXPMGR_NO_INLINE_VIRTUALS
|
||||
virtual bool startSound(nw4r::snd::SoundHandle* pHandle, u32 id); // 0x34
|
||||
virtual bool startSound(nw4r::snd::SoundHandle* pHandle, unsigned int id); // 0x38
|
||||
virtual bool startSound(nw4r::snd::SoundHandle* pHandle, const char* pName); // 0x3C
|
||||
|
||||
virtual bool prepareSound(nw4r::snd::SoundHandle* pHandle, u32 id); // 0x44
|
||||
virtual bool prepareSound(nw4r::snd::SoundHandle* pHandle, unsigned int id); // 0x44
|
||||
virtual bool prepareSound(nw4r::snd::SoundHandle* pHandle, const char* pName); // 0x48
|
||||
|
||||
virtual bool holdSound(nw4r::snd::SoundHandle* pHandle, u32 id); // 0x50
|
||||
virtual bool holdSound(nw4r::snd::SoundHandle* pHandle, unsigned int id); // 0x50
|
||||
virtual bool holdSound(nw4r::snd::SoundHandle* pHandle, const char* pName); // 0x58
|
||||
#else
|
||||
virtual bool startSound(nw4r::snd::SoundHandle* pHandle, u32 id) { return mSoundArchivePlayer.StartSound(pHandle, id); } // 0x34
|
||||
virtual bool startSound(nw4r::snd::SoundHandle* pHandle, unsigned int id) { return mSoundArchivePlayer.StartSound(pHandle, id); } // 0x38
|
||||
virtual bool startSound(nw4r::snd::SoundHandle* pHandle, const char* pName) NO_INLINE {
|
||||
@@ -66,6 +79,7 @@ namespace EGG {
|
||||
u32 id = changeNameToId(pName);
|
||||
return mSoundArchivePlayer.HoldSound(pHandle, id);
|
||||
} // 0x58
|
||||
#endif
|
||||
|
||||
u32 changeNameToId(const char* pName) { return mpArchive->ConvertLabelStringToSoundId(pName); }
|
||||
const char* changeIdToName(u32 id) { return mpArchive->GetSoundLabelString(id); }
|
||||
|
||||
@@ -19,6 +19,10 @@ namespace EGG {
|
||||
|
||||
~SoundHeapMgr() { destroySoundHeap(); }
|
||||
|
||||
#ifdef EGG_AUDIO_EXPMGR_NO_INLINE_VIRTUALS
|
||||
virtual bool loadState(s32 id); // 0x08
|
||||
virtual s32 getCurrentLevel(); // 0x0C
|
||||
#else
|
||||
virtual bool loadState(s32 id) {
|
||||
#ifdef IPL_SOUND_MATCHING
|
||||
if (id > 0 && mHeap.GetCurrentLevel() >= id) {
|
||||
@@ -35,6 +39,7 @@ namespace EGG {
|
||||
} // 0x08
|
||||
|
||||
virtual s32 getCurrentLevel() { return mHeap.GetCurrentLevel(); } // 0x0C
|
||||
#endif
|
||||
|
||||
s32 saveState() { return mHeap.SaveState(); }
|
||||
|
||||
|
||||
@@ -1,6 +1,20 @@
|
||||
#define EGG_AUDIO_EXPMGR_NO_INLINE_VIRTUALS
|
||||
|
||||
#include <egg/core.h>
|
||||
|
||||
namespace EGG {
|
||||
class Sample : public SimpleAudioMgrWithFx {
|
||||
public:
|
||||
Sample();
|
||||
virtual ~Sample();
|
||||
};
|
||||
|
||||
Sample::Sample() {
|
||||
}
|
||||
|
||||
Sample::~Sample() {
|
||||
}
|
||||
|
||||
SimpleAudioMgrWithFx::SimpleAudioMgrWithFx() {
|
||||
}
|
||||
|
||||
|
||||
@@ -19,8 +19,13 @@ namespace nw4r {
|
||||
template <typename T>
|
||||
class AutoLock : private NonCopyable {
|
||||
public:
|
||||
#ifdef EGG_AUDIO_EXPMGR_NO_INLINE_VIRTUALS
|
||||
explicit AutoLock(T& rLockObj);
|
||||
~AutoLock();
|
||||
#else
|
||||
explicit AutoLock(T& rLockObj) : mLockObj(rLockObj) { Lock(rLockObj); }
|
||||
~AutoLock() { Unlock(mLockObj); }
|
||||
#endif
|
||||
|
||||
private:
|
||||
T& mLockObj; // 0x00
|
||||
|
||||
@@ -147,15 +147,18 @@ void TMCJPEGDEC_IdctBlock4x4_Col(s32* sp, u8* conv_row_ptr, u16 pitch, s32 zigza
|
||||
s32 evdiff1 = a1 - c1;
|
||||
s32 rot1 = (odddiff1 * 0xB5) >> 8;
|
||||
|
||||
dst[0] = evsum0 + (oddsum0 + rot0);
|
||||
s32 oddrot0 = oddsum0 + rot0;
|
||||
s32 oddrot1 = oddsum1 + rot1;
|
||||
|
||||
dst[0] = evsum0 + oddrot0;
|
||||
dst[1] = evdiff0 + rot0;
|
||||
dst[2] = evdiff0 - rot0;
|
||||
dst[3] = evsum0 - (oddsum0 + rot0);
|
||||
dst[3] = evsum0 - oddrot0;
|
||||
|
||||
dst[-8] = evsum1 + (oddsum1 + rot1);
|
||||
dst[-8] = evsum1 + oddrot1;
|
||||
dst[-7] = evdiff1 + rot1;
|
||||
dst[-6] = evdiff1 - rot1;
|
||||
dst[-5] = evsum1 - (oddsum1 + rot1);
|
||||
dst[-5] = evsum1 - oddrot1;
|
||||
|
||||
src -= 16;
|
||||
dst -= 16;
|
||||
|
||||
@@ -140,8 +140,7 @@ matched:
|
||||
}
|
||||
if (language == 1) {
|
||||
byteOutput = (ziU8*)output;
|
||||
index = 0;
|
||||
for (copied = 0; index < (ziS32)wordSize && copied < capacity; copied++) {
|
||||
for (index = copied = 0; index < (ziS32)wordSize && copied < capacity; copied++) {
|
||||
byteOutput[index] = word[index];
|
||||
index++;
|
||||
byteOutput[index] = word[index];
|
||||
|
||||
@@ -15,11 +15,11 @@ void Zi8Memset(ziPtr, ziU32, ziU32);
|
||||
|
||||
ziBool Zi8_81480224(ziUserWord* word ZI_NEED_WORK) {
|
||||
ziU8 length;
|
||||
ziU8 position;
|
||||
ziUwdNode* previous;
|
||||
ziUwdNode* current;
|
||||
ziUwdNode* added;
|
||||
ziUserWord* candidate;
|
||||
ziU8 position;
|
||||
if (ZI_WORK->uwdCount >= 32) {
|
||||
Zi8LogError(0x19D, __zi8_work_data);
|
||||
return 0;
|
||||
@@ -56,8 +56,7 @@ ziBool Zi8_81480224(ziUserWord* word ZI_NEED_WORK) {
|
||||
previous = current;
|
||||
current = current->next;
|
||||
}
|
||||
length = ZI_WORK->uwdCount++;
|
||||
added = &ZI_WORK->uwdNodes[length];
|
||||
added = &ZI_WORK->uwdNodes[ZI_WORK->uwdCount++];
|
||||
if (previous == 0) {
|
||||
ZI_WORK->uwdList = added;
|
||||
added->next = current;
|
||||
|
||||
@@ -22,10 +22,10 @@ ziU32 ZiDAWGGetChild(ziU32 node) {
|
||||
node += offset;
|
||||
if (((ziU32)header & 2) != 0) {
|
||||
if ((*(ziU8*)node & 0x80) != 0) {
|
||||
offset = (*(ziU8*)node & 0x7f) * 0x10000 + ((ziU32)*((ziU8*)node + 1) & 0xffff) * 0x100 + *((ziU8*)node + 2) + 0x8000;
|
||||
offset = ((*(ziU8*)node & 0x7f) << 16) +
|
||||
((((ziU32)*((ziU8*)node + 1) & 0xffff) << 8) + *((ziU8*)node + 2)) + 0x8000;
|
||||
} else {
|
||||
offset = ((ziU32)*(ziU8*)node & 0xffff) * 0x100;
|
||||
offset += (ziU32)*((ziU8*)node + 1);
|
||||
offset = (((ziU32)*(ziU8*)node & 0xffff) << 8) + (ziU32)*((ziU8*)node + 1);
|
||||
}
|
||||
} else if (((ziU32)header & 8) != 0) {
|
||||
if ((*(ziU8*)node & 0x80) != 0) {
|
||||
@@ -70,8 +70,8 @@ ziU8* ZiDAWGGetSibling(ziU8* cursor) {
|
||||
}
|
||||
|
||||
if ((*cursor & 0x80) != 0) {
|
||||
node += (*cursor & 0x7f) * 0x10000 + (ziU32)cursor[1] * 0x100 +
|
||||
(ziU32)cursor[2] + 0x8000;
|
||||
node += (*cursor & 0x7f) * 0x10000 +
|
||||
(((ziU32)cursor[1] << 8) + (ziU32)cursor[2]) + 0x8000;
|
||||
} else {
|
||||
node = cursor[1] + (node + (ziU16)*cursor * 0x100);
|
||||
}
|
||||
|
||||
@@ -86,9 +86,14 @@ s32 uhf_msc_blk_mount(FADisk* disk) {
|
||||
return ((device->flags >> 2) & 1) - 1;
|
||||
}
|
||||
|
||||
static inline u16 ReadTransferBlocks(u32 remaining, u32 limit) {
|
||||
u16 count = limit;
|
||||
if (remaining <= limit) { count = remaining; }
|
||||
return count;
|
||||
}
|
||||
|
||||
s32 uhf_msc_blk_pread(FADisk* disk, u8* buffer, u32 sector, u32 blocks, u32* completed) {
|
||||
UHF_MSC_DEVICE* device;
|
||||
u16 transfer_blocks;
|
||||
struct { UHF_MSC_DEVICE* device; u16 blocks; } transfer;
|
||||
s32 error;
|
||||
u32 block_size;
|
||||
u8* transfer_buffer;
|
||||
@@ -103,24 +108,24 @@ s32 uhf_msc_blk_pread(FADisk* disk, u8* buffer, u32 sector, u32 blocks, u32* com
|
||||
if (blocks == 0) {
|
||||
return 0;
|
||||
}
|
||||
device = NULL;
|
||||
transfer.device = NULL;
|
||||
{
|
||||
u32 index;
|
||||
UHF_MSC_DEVICE* candidate;
|
||||
for (candidate = uhg_msc_blk_device_tbl, index = 0; index < 8; candidate++, index++) {
|
||||
if (candidate->disk == disk) {
|
||||
device = &uhg_msc_blk_device_tbl[index];
|
||||
transfer.device = &uhg_msc_blk_device_tbl[index];
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (device == NULL) {
|
||||
if (transfer.device == NULL) {
|
||||
return -1;
|
||||
}
|
||||
if (!(device->flags & 4)) {
|
||||
if (!(transfer.device->flags & 4)) {
|
||||
return -1;
|
||||
}
|
||||
block_size = device->block_size;
|
||||
block_size = transfer.device->block_size;
|
||||
if (block_size == 0) {
|
||||
return -1;
|
||||
}
|
||||
@@ -138,21 +143,18 @@ s32 uhf_msc_blk_pread(FADisk* disk, u8* buffer, u32 sector, u32 blocks, u32* com
|
||||
transfer_buffer = buffer;
|
||||
}
|
||||
do {
|
||||
transfer_blocks = transfer_limit;
|
||||
if (blocks <= transfer_limit) {
|
||||
transfer_blocks = blocks;
|
||||
}
|
||||
error = usbh_msc_read10(device, sector, transfer_blocks, transfer_buffer, sense);
|
||||
transfer.blocks = ReadTransferBlocks(blocks, transfer_limit);
|
||||
error = usbh_msc_read10(transfer.device, sector, transfer.blocks, transfer_buffer, sense);
|
||||
if (error == 0) {
|
||||
if (!cacheable) {
|
||||
memcpy(buffer, transfer_buffer, transfer_blocks * block_size);
|
||||
buffer += transfer_blocks * block_size;
|
||||
memcpy(buffer, transfer_buffer, transfer.blocks * block_size);
|
||||
buffer += transfer.blocks * block_size;
|
||||
} else {
|
||||
transfer_buffer += transfer_blocks * block_size;
|
||||
transfer_buffer += transfer.blocks * block_size;
|
||||
}
|
||||
blocks -= transfer_blocks;
|
||||
sector += transfer_blocks;
|
||||
*completed += transfer_blocks;
|
||||
blocks -= transfer.blocks;
|
||||
sector += transfer.blocks;
|
||||
*completed += transfer.blocks;
|
||||
if (blocks == 0) {
|
||||
break;
|
||||
}
|
||||
@@ -162,8 +164,8 @@ s32 uhf_msc_blk_pread(FADisk* disk, u8* buffer, u32 sector, u32 blocks, u32* com
|
||||
case 11:
|
||||
break;
|
||||
case 34:
|
||||
if (device->disk != NULL) {
|
||||
pdm_disk_notify_media_insert(device->disk);
|
||||
if (transfer.device->disk != NULL) {
|
||||
pdm_disk_notify_media_insert(transfer.device->disk);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
||||
@@ -726,25 +726,29 @@ pf_s32 PFENT_ITER_GetEntryOfIter(PFITER_ENT_ITER* p_iter, PF_DIR_ENT* p_ent) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
static inline pf_u32 CopyLongNameFragment(PFITER_ENT_ITER* iter, pf_u8* destination, pf_u32 offset) {
|
||||
pf_memcpy(destination, &iter->buf[1], 10);
|
||||
pf_memcpy(destination + 10, &iter->buf[14], 12);
|
||||
pf_memcpy(destination + 22, &iter->buf[28], 4);
|
||||
return offset + 26;
|
||||
}
|
||||
|
||||
pf_s32 PFENT_ITER_GetLFNEntryName(PFITER_ENT_ITER* p_iter, PF_DIR_ENT* p_ent) {
|
||||
pf_u32 i;
|
||||
pf_u32 index;
|
||||
pf_u8* destination;
|
||||
pf_u32 i;
|
||||
pf_s32 err;
|
||||
if (p_ent->num_entry_LFNs != 0 && !(p_ent->small_letter_flag & 0x18)) {
|
||||
index = 0;
|
||||
for (i = 0; i < p_ent->num_entry_LFNs; ++i) {
|
||||
pf_u16* destination;
|
||||
i = 0;
|
||||
for (index = 0; i < p_ent->num_entry_LFNs; ++i) {
|
||||
err = PFENT_ITER_Retreat(p_iter, 0);
|
||||
if (err != 0) return err;
|
||||
err = PFENT_ITER_LoadEntry(p_iter);
|
||||
if (err != 0) return err;
|
||||
destination = &p_ent->long_name[index];
|
||||
pf_memcpy(destination, &p_iter->buf[1], 10);
|
||||
pf_memcpy(destination + 5, &p_iter->buf[14], 12);
|
||||
pf_memcpy(destination + 11, &p_iter->buf[28], 4);
|
||||
index += 13;
|
||||
destination = (pf_u8*)p_ent->long_name + index;
|
||||
index = CopyLongNameFragment(p_iter, destination, index);
|
||||
}
|
||||
p_ent->long_name[index] = 0;
|
||||
p_ent->long_name[(p_ent->num_entry_LFNs * 26U) >> 1] = 0;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -225,7 +225,6 @@ typedef struct PFVOL_SET {
|
||||
PFVOL_SET pf_vol_set;
|
||||
|
||||
static s8 default_volume_label[12] = "NO NAME ";
|
||||
static const u8 deleted_entry_mark[8] = {0xE5};
|
||||
extern s32 PFDRV_mount(PFVOL_VOLUME* volume);
|
||||
extern s32 PFDRV_unmount(PFVOL_VOLUME* volume, u32 mode);
|
||||
extern s32 PFDRV_format(PFVOL_VOLUME* volume, const u8* format_options);
|
||||
@@ -588,7 +587,7 @@ s32 PFVOL_p_rmvvol(PFVOL_VOLUME* volume) {
|
||||
u32 logical_position;
|
||||
u32 entry_position;
|
||||
u32 processed;
|
||||
u8 deleted = deleted_entry_mark[0];
|
||||
u8 deleted[1] = {0xE5};
|
||||
s32 error;
|
||||
|
||||
error = PFENT_GetRootDir(volume, &root_entry);
|
||||
@@ -603,7 +602,7 @@ s32 PFVOL_p_rmvvol(PFVOL_VOLUME* volume) {
|
||||
return error;
|
||||
}
|
||||
if (entry_position != 999999) {
|
||||
error = PFSEC_WriteData(volume, &deleted, entry.entry_sector, entry.entry_offset, 1, &processed, 0);
|
||||
error = PFSEC_WriteData(volume, deleted, entry.entry_sector, entry.entry_offset, 1, &processed, 0);
|
||||
if (error != 0) {
|
||||
return error;
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ static inline NWC24Err SelectMBox(const NWC24MsgObjPrivate* msg, NWC24MBoxType*
|
||||
}
|
||||
|
||||
NWC24Err NWC24ReadMsgField(const NWC24MsgObj* msg, char* fieldName, u8* output, u32 capacity) {
|
||||
const NWC24MsgObjPrivate* privateMsg = (const NWC24MsgObjPrivate*)msg;
|
||||
NWC24MsgObjPrivate* privateMsg = (NWC24MsgObjPrivate*)msg;
|
||||
NWC24File file;
|
||||
NWC24FileStream stream;
|
||||
char* field;
|
||||
@@ -268,7 +268,7 @@ NWC24Err NWC24ReadMsgMBOptOutFlag(const NWC24MsgObj* msg, BOOL* optOut, u32* app
|
||||
}
|
||||
|
||||
NWC24Err NWC24ReadMsgFromAddr(const NWC24MsgObj* msg, char* address, u32 capacity) {
|
||||
const NWC24MsgObjPrivate* privateMsg = (const NWC24MsgObjPrivate*)msg;
|
||||
NWC24MsgObjPrivate* privateMsg = (NWC24MsgObjPrivate*)msg;
|
||||
NWC24MBoxType type;
|
||||
NWC24File file;
|
||||
NWC24FileStream stream;
|
||||
@@ -312,7 +312,7 @@ NWC24Err NWC24ReadMsgFromAddr(const NWC24MsgObj* msg, char* address, u32 capacit
|
||||
}
|
||||
|
||||
NWC24Err NWC24ReadMsgSubject(const NWC24MsgObj* msg, char* subject, u32 capacity) {
|
||||
const NWC24MsgObjPrivate* privateMsg = (const NWC24MsgObjPrivate*)msg;
|
||||
NWC24MsgObjPrivate* privateMsg = (NWC24MsgObjPrivate*)msg;
|
||||
NWC24MBoxType type;
|
||||
NWC24File file;
|
||||
u32 length;
|
||||
@@ -386,14 +386,14 @@ NWC24Err NWC24ReadMsgTextEx(const NWC24MsgObj* msg, char* text, u32 capacity, ch
|
||||
}
|
||||
|
||||
static NWC24Err ReadMsgTextInternal(const NWC24MsgObj* msg, char* text, u32 capacity, char* charset, u32 charsetCapacity, NWC24Encoding* encoding) {
|
||||
const NWC24MsgObjPrivate* privateMsg = (const NWC24MsgObjPrivate*)msg;
|
||||
u32 length;
|
||||
NWC24MBoxType type;
|
||||
NWC24File file;
|
||||
NWC24Err result, closeResult;
|
||||
NWC24Err overflow = NWC24_OK;
|
||||
u32 length;
|
||||
u32 decodedSize;
|
||||
char* buffer;
|
||||
u32 decodedSize;
|
||||
NWC24MsgObjPrivate* privateMsg = (NWC24MsgObjPrivate*)msg;
|
||||
if (!NWC24IsMsgLibOpened() && !NWC24IsMsgLibOpenedByTool())
|
||||
return NWC24_ERR_LIB_NOT_OPENED;
|
||||
if (!(privateMsg->type & 0x200))
|
||||
@@ -415,8 +415,8 @@ static NWC24Err ReadMsgTextInternal(const NWC24MsgObj* msg, char* text, u32 capa
|
||||
if (length == 0)
|
||||
return NWC24_ERR_NULL;
|
||||
if (length > capacity - 1) {
|
||||
overflow = NWC24_ERR_OVERFLOW;
|
||||
length = capacity - 1;
|
||||
overflow = NWC24_ERR_OVERFLOW;
|
||||
}
|
||||
result = NWC24iMBoxOpenStoredMsg(type, privateMsg->msgId, &file);
|
||||
switch (result) {
|
||||
@@ -452,13 +452,16 @@ static NWC24Err ReadMsgTextInternal(const NWC24MsgObj* msg, char* text, u32 capa
|
||||
result = NWC24FRead(text, length, &file);
|
||||
text[length] = 0;
|
||||
break;
|
||||
case 2:
|
||||
case 2: {
|
||||
NWC24Err decodeResult;
|
||||
decodedSize = 0;
|
||||
result = ReadBase64Data(&file, &privateMsg->text, (u8*)text, length, &decodedSize);
|
||||
if (result == NWC24_OK && decodedSize != privateMsg->textSize)
|
||||
result = NWC24_ERR_FORMAT;
|
||||
decodeResult = ReadBase64Data(&file, &privateMsg->text, (u8*)text, length, &decodedSize);
|
||||
if (decodeResult == NWC24_OK && decodedSize != privateMsg->textSize)
|
||||
decodeResult = NWC24_ERR_FORMAT;
|
||||
result = decodeResult;
|
||||
text[length] = 0;
|
||||
break;
|
||||
}
|
||||
case 3:
|
||||
result = ReadQPText(privateMsg, &file, text, length);
|
||||
break;
|
||||
@@ -478,7 +481,7 @@ close:
|
||||
}
|
||||
|
||||
NWC24Err NWC24ReadMsgAttached(const NWC24MsgObj* msg, u32 index, u8* output, u32 capacity) {
|
||||
const NWC24MsgObjPrivate* privateMsg = (const NWC24MsgObjPrivate*)msg;
|
||||
NWC24MsgObjPrivate* privateMsg = (NWC24MsgObjPrivate*)msg;
|
||||
NWC24File file;
|
||||
NWC24MBoxType type;
|
||||
u32 decodedSize;
|
||||
@@ -507,11 +510,8 @@ NWC24Err NWC24ReadMsgAttached(const NWC24MsgObj* msg, u32 index, u8* output, u32
|
||||
}
|
||||
decodedSize = 0;
|
||||
result = ReadBase64Data(&file, &privateMsg->attached[index], output, capacity, &decodedSize);
|
||||
switch (result) {
|
||||
case NWC24_OK:
|
||||
if (decodedSize != privateMsg->attachedSize[index]) { result = NWC24_ERR_FORMAT; }
|
||||
break;
|
||||
default: break;
|
||||
if (result == NWC24_OK) {
|
||||
if (decodedSize != ((const NWC24MsgObjPrivate*)msg)->attachedSize[index]) result = NWC24_ERR_FORMAT;
|
||||
}
|
||||
closeResult = NWC24iMBoxCloseMsg(&file);
|
||||
if (result == NWC24_OK)
|
||||
|
||||
@@ -743,15 +743,16 @@ NWC24Err NWC24iSetMsgSubjectQP(NWC24MsgObj* msg, const u16* subject, u32 subject
|
||||
u32 workSize, NWC24Charset charset, char* charsetName) {
|
||||
u32 workHalf;
|
||||
u32 sourceOffset;
|
||||
u32 secondSize;
|
||||
u32 charsetLength;
|
||||
u8* second;
|
||||
u32 subjectLength;
|
||||
u32 lineLength;
|
||||
u32 outputLength;
|
||||
u32 secondSize;
|
||||
u32 total;
|
||||
u32 combinedLength;
|
||||
u32 i;
|
||||
u32 charsetLength;
|
||||
u32 outputLength;
|
||||
u32 firstCharsetLength;
|
||||
NWC24Err result;
|
||||
|
||||
secondSize = workSize - (workSize >> 1);
|
||||
@@ -770,8 +771,8 @@ NWC24Err NWC24iSetMsgSubjectQP(NWC24MsgObj* msg, const u16* subject, u32 subject
|
||||
work[i] = ' ';
|
||||
}
|
||||
}
|
||||
charsetLength = strlen(charsetName);
|
||||
NWC24iDetectBreakPoint(&lineLength, charset, work, subjectLength, (0x38 - charsetLength) / 3);
|
||||
firstCharsetLength = strlen(charsetName);
|
||||
NWC24iDetectBreakPoint(&lineLength, charset, work, subjectLength, (0x38 - firstCharsetLength) / 3);
|
||||
result = NWC24EncodeWord(second, secondSize, &outputLength, charsetName, 0x40, 'Q', work, lineLength);
|
||||
switch (result) {
|
||||
default:
|
||||
|
||||
@@ -1704,6 +1704,9 @@ void ipl::scene::AddressEdit::stt_wait_btn_fadein() {
|
||||
}
|
||||
|
||||
void ipl::scene::AddressEdit::stt_wait_btn_fadeout() {
|
||||
nw4r::lyt::Pane* label;
|
||||
const wchar_t* message;
|
||||
ipl::utility::FrameController* animator;
|
||||
bool friendFinished;
|
||||
if (mpFriendCache->getInfo(mSelectedFriend).attr.status == 2) {
|
||||
friendFinished = !mpCodeLayout->getAnim(0x15)->isPlaying();
|
||||
@@ -1715,11 +1718,11 @@ void ipl::scene::AddressEdit::stt_wait_btn_fadeout() {
|
||||
friendFinished &= !mpCodeLayout->getAnim(0x17)->isPlaying();
|
||||
|
||||
if (friendFinished) {
|
||||
nw4r::lyt::Pane* label = mpCodeLayout->getNW4RLyt()->GetRootPane()->FindPaneByName("T_card_msg_00", true);
|
||||
const wchar_t* message = ipl::System::getMessage(0x30);
|
||||
label = mpCodeLayout->getNW4RLyt()->GetRootPane()->FindPaneByName("T_card_msg_00", true);
|
||||
message = ipl::System::getMessage(0x30);
|
||||
set_textbox(label, message);
|
||||
ipl::System::getDialog()->callS2Btn2(0x142, 0x141, true);
|
||||
ipl::layout::Animator* animator = mpCodeLayout->getAnim(0x1c);
|
||||
animator = mpCodeLayout->getAnim(0x1c);
|
||||
animator->initFrame();
|
||||
animator->restart();
|
||||
mState = 4;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#include <private/os.h>
|
||||
#include <private/wpad.h>
|
||||
|
||||
#pragma dont_instantiate ipl::math::HermiteIntp<float>
|
||||
|
||||
|
||||
#undef IPL_CHANNEL_TITLE_NOVTABLE
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
396
tools/decomp-assist/fz16.attempts.md
Normal file
396
tools/decomp-assist/fz16.attempts.md
Normal file
@@ -0,0 +1,396 @@
|
||||
# fz16 attempts
|
||||
Baseline origin/main ae5f904c0b95d2c8811b3eb5f0e409bd8389fdd0
|
||||
|
||||
src/scene/address/iplAddressEdit POOL IDENTICAL up to 57 (mine=57 base=57)
|
||||
|
||||
src/scene/sdChannelSelect/iplSDChannelSelect POOL IDENTICAL up to 101 (mine=101 base=101)
|
||||
|
||||
libs/RVLMiddleware/TMC_JPEG/src/reschange/idct_resolution_change_var POOL IDENTICAL up to 0 (mine=0 base=0)
|
||||
|
||||
libs/RVL_SDK/src/kpad/KPAD POOL IDENTICAL up to 0 (mine=0 base=0)
|
||||
|
||||
## src/scene/address/iplAddressEdit create__Q33ipl5scene11AddressEditFv
|
||||
Fetch origin/main 36d651fe72c2aeca7ca08982f3df16d6409def4f. Initial assembly diagnosis: (19, 323) structural/positional differences; instructions 820/820
|
||||
|
||||
## src/scene/address/iplAddressEdit create__Q33ipl5scene11AddressEditFv
|
||||
Fetch origin/main 36d651fe72c2aeca7ca08982f3df16d6409def4f. Initial assembly diagnosis: (19, 323) structural/positional differences; instructions 820/820
|
||||
- declare layout and event locals before construction: (19, 323) structural/positional; instructions 820/820; restored.
|
||||
- use member layout for first label lookup: (19, 323) structural/positional; instructions 820/820; restored.
|
||||
- reuse bLayout variable for second layout: (19, 323) structural/positional; instructions 820/820; restored.
|
||||
|
||||
## src/scene/address/iplAddressEdit stt_wait_btn_fadeout__Q33ipl5scene11AddressEditFv
|
||||
Fetch origin/main 36d651fe72c2aeca7ca08982f3df16d6409def4f. Initial assembly diagnosis: (0, 5) structural/positional differences; instructions 94/94
|
||||
- cache animation before testing branch: (0, 5) structural/positional; instructions 94/94; restored.
|
||||
- split remaining animation completion temporaries: (0, 5) structural/positional; instructions 94/94; restored.
|
||||
- declare final animator before completion boolean: (0, 5) structural/positional; instructions 94/94; restored.
|
||||
|
||||
## src/scene/address/iplAddressEdit start_point_event__Q33ipl5scene11AddressEditFPCcPQ33ipl10controller9Interface
|
||||
Fetch origin/main d8937f9e82e1531440b8a15d4e38d0fe19a46b7e. Initial assembly diagnosis: (8, 166) structural/positional differences; instructions 181/182
|
||||
- split grouped button cases: (8, 166) structural/positional; instructions 181/182; restored.
|
||||
- explicit negative button case: (19, 69) structural/positional; instructions 185/182; restored.
|
||||
- use unsigned switch discriminant: (8, 166) structural/positional; instructions 181/182; restored.
|
||||
|
||||
## src/scene/address/iplAddressEdit start_left_event__Q33ipl5scene11AddressEditFPCc
|
||||
Fetch origin/main d8937f9e82e1531440b8a15d4e38d0fe19a46b7e. Initial assembly diagnosis: (8, 82) structural/positional differences; instructions 95/96
|
||||
- split grouped button cases: (8, 82) structural/positional; instructions 95/96; restored.
|
||||
- explicit negative button case: (21, 36) structural/positional; instructions 99/96; restored.
|
||||
- use unsigned switch discriminant: (8, 82) structural/positional; instructions 95/96; restored.
|
||||
|
||||
## src/scene/address/iplAddressEdit get_friendinfo__Q33ipl5scene11AddressEditFv
|
||||
Fetch origin/main d8937f9e82e1531440b8a15d4e38d0fe19a46b7e. Initial assembly diagnosis: (10, 68) structural/positional differences; instructions 82/84
|
||||
- hoist display string pointers before cache copy: (10, 68) structural/positional; instructions 82/84; restored.
|
||||
- evaluate source cache entry before memcpy destination: (10, 68) structural/positional; instructions 82/84; restored.
|
||||
- single union for mutually exclusive text buffers: build failed e\address\iplAddressEdit.cpp # --------------------------------------------- # 314: return; # Warning: ^ # (10184) return value expected ### mwcceppc.exe Compiler: # 317: } # Warning: ^ # (10184) return value expected ### mwcceppc.exe Compiler: # 2863: e::AddressEdit::wiiid_utf16(ipl::scene::sFriendInfo.addr.wiiId, wiiNo); # Error: ^^^^^ # (10140) undefined identifier 'wiiNo' # Too many errors printed, aborting program User break, cancelled... ninja: build stopped: subcommand failed. ; restored.
|
||||
|
||||
## src/scene/address/iplAddressEdit update_friendinfo__Q33ipl5scene11AddressEditFv
|
||||
Fetch origin/main d8937f9e82e1531440b8a15d4e38d0fe19a46b7e. Initial assembly diagnosis: (2, 2) structural/positional differences; instructions 38/38
|
||||
- cache mii id source before memcpy: (2, 2) structural/positional; instructions 38/38; restored.
|
||||
- copy mii id through typed assignment: build failed ess\iplAddressEdit.cpp # --------------------------------------------- # 314: return; # Warning: ^ # (10184) return value expected ### mwcceppc.exe Compiler: # 317: } # Warning: ^ # (10184) return value expected ### mwcceppc.exe Compiler: # 2881: ipl::scene::sFriendInfo.attr.fdId = mCreateID; # Error: ^ # (10209) illegal implicit conversion from 'RFLCreateID' to # 'unsigned long long' # Too many errors printed, aborting program User break, cancelled... ninja: build stopped: subcommand failed. ; restored.
|
||||
- hoist name source before destination clear: (2, 2) structural/positional; instructions 38/38; restored.
|
||||
|
||||
## src/scene/address/iplAddressEdit set_err_msg__Q33ipl5scene11AddressEditFPwUl8NWC24Err
|
||||
Fetch origin/main d8937f9e82e1531440b8a15d4e38d0fe19a46b7e. Initial assembly diagnosis: (1, 30) structural/positional differences; instructions 76/75
|
||||
- remove redundant server case assignment: (17, 27) structural/positional; instructions 72/75; restored.
|
||||
- network condition instead of switch: (12, 29) structural/positional; instructions 67/75; restored.
|
||||
- assign message in all switch branches: (4, 22) structural/positional; instructions 77/75; restored.
|
||||
|
||||
## src/scene/sdChannelSelect/iplSDChannelSelect create__Q33ipl5scene15SDChannelSelectFv
|
||||
Fetch origin/main d8937f9e82e1531440b8a15d4e38d0fe19a46b7e. Initial assembly diagnosis: (4, 39) structural/positional differences; instructions 145/146
|
||||
- split elapsed tick subtraction temporary: (6, 20) structural/positional; instructions 146/146; restored.
|
||||
- hoist start tick declaration: (4, 39) structural/positional; instructions 145/146; restored.
|
||||
- separate bs2 manager lookup: build failed \mnt\drive2\projects\wii-ipl-workers\data-d5\include\iplSceneUI.h:11 # Z:\mnt\drive2\projects\wii-ipl-workers\data- # d5\src\scene\sdChannelSelect\iplSDChannelSelect.cpp:6) ### mwcceppc.exe Compiler: # File: src\scene\sdChannelSelect\iplSDChannelSelect.cpp # --------------------------------------------------------- # 244: BS2Manager* manager = System::getBS2Manager(); # Error: ^^^^^^^^^^ # (10140) undefined identifier 'BS2Manager' # Too many errors printed, aborting program User break, cancelled... ninja: build stopped: subcommand failed. ; restored.
|
||||
|
||||
## src/scene/sdChannelSelect/iplSDChannelSelect handleSDTitleListResult__Q33ipl5scene15SDChannelSelectFv
|
||||
Fetch origin/main d8937f9e82e1531440b8a15d4e38d0fe19a46b7e. Initial assembly diagnosis: (4, 143) structural/positional differences; instructions 170/171
|
||||
- switch result with shared success cases: (8, 143) structural/positional; instructions 172/171; restored.
|
||||
- swap result comparison order: (6, 143) structural/positional; instructions 170/171; restored.
|
||||
- declare added flag before loop indices: (4, 143) structural/positional; instructions 170/171; restored.
|
||||
|
||||
## src/scene/sdChannelSelect/iplSDChannelSelect collectTitlesByUsage__Q33ipl5scene15SDChannelSelectFPClPClPUxPcPUl
|
||||
Fetch origin/main d8937f9e82e1531440b8a15d4e38d0fe19a46b7e. Initial assembly diagnosis: (2, 4) structural/positional differences; instructions 101/101
|
||||
- increment count with compound assignment: (2, 4) structural/positional; instructions 101/101; restored.
|
||||
- increment count using explicit value assignment: (2, 4) structural/positional; instructions 101/101; restored.
|
||||
- read usage threshold before count increment: (2, 5) structural/positional; instructions 101/101; restored.
|
||||
|
||||
## src/scene/sdChannelSelect/iplSDChannelSelect collectTitlesFromNandUsage__Q33ipl5scene15SDChannelSelectFPClPClPUxPcPUl
|
||||
Fetch origin/main d8937f9e82e1531440b8a15d4e38d0fe19a46b7e. Initial assembly diagnosis: (2, 4) structural/positional differences; instructions 102/102
|
||||
- increment count with compound assignment: (2, 4) structural/positional; instructions 102/102; restored.
|
||||
- increment count using explicit value assignment: (2, 4) structural/positional; instructions 102/102; restored.
|
||||
- read usage threshold before count increment: (2, 5) structural/positional; instructions 102/102; restored.
|
||||
|
||||
## src/scene/sdChannelSelect/iplSDChannelSelect collectTitlesByChannelOrder__Q33ipl5scene15SDChannelSelectFPClPClPUxPcPUl
|
||||
Fetch origin/main d8937f9e82e1531440b8a15d4e38d0fe19a46b7e. Initial assembly diagnosis: (2, 22) structural/positional differences; instructions 126/126
|
||||
- increment count with compound assignment: (2, 22) structural/positional; instructions 126/126; restored.
|
||||
- increment count using explicit value assignment: (2, 22) structural/positional; instructions 126/126; restored.
|
||||
- read usage threshold before count increment: (2, 23) structural/positional; instructions 126/126; restored.
|
||||
|
||||
## src/scene/sdChannelSelect/iplSDChannelSelect collectTitlesBySpecialChannels__Q33ipl5scene15SDChannelSelectFPClPClPUxPcPUl
|
||||
Fetch origin/main d8937f9e82e1531440b8a15d4e38d0fe19a46b7e. Initial assembly diagnosis: (8, 16) structural/positional differences; instructions 361/361
|
||||
- increment count with compound assignment: (8, 16) structural/positional; instructions 361/361; restored.
|
||||
- increment count using explicit value assignment: (8, 16) structural/positional; instructions 361/361; restored.
|
||||
- read usage threshold before count increment: (8, 20) structural/positional; instructions 361/361; restored.
|
||||
|
||||
## src/scene/sdChannelSelect/iplSDChannelSelect flushSaveDataAndMountSD__Q33ipl5scene15SDChannelSelectFv
|
||||
Fetch origin/main d8937f9e82e1531440b8a15d4e38d0fe19a46b7e. Initial assembly diagnosis: (2, 2) structural/positional differences; instructions 35/35
|
||||
- cache flush heap before save manager: (2, 2) structural/positional; instructions 35/35; restored.
|
||||
- cache save manager before flush heap: build failed ojects\wii-ipl-workers\data-d5\include\iplSceneUI.h:11 # Z:\mnt\drive2\projects\wii-ipl-workers\data- # d5\src\scene\sdChannelSelect\iplSDChannelSelect.cpp:6) ### mwcceppc.exe Compiler: # File: src\scene\sdChannelSelect\iplSDChannelSelect.cpp # --------------------------------------------------------- # 1649: SaveDataManager* saveData = System::getSaveData(); # Error: ^^^^^^^^^^^^^^^ # (10140) undefined identifier 'SaveDataManager' # Too many errors printed, aborting program User break, cancelled... ninja: build stopped: subcommand failed. ; restored.
|
||||
- split flush result assignment: (2, 2) structural/positional; instructions 35/35; restored.
|
||||
|
||||
## src/scene/sdChannelSelect/iplSDChannelSelect calcCommon__Q33ipl5scene15SDChannelSelectFv
|
||||
Fetch origin/main d8937f9e82e1531440b8a15d4e38d0fe19a46b7e. Initial assembly diagnosis: (4, 89) structural/positional differences; instructions 109/108
|
||||
- explicit null opt-out handler: (4, 89) structural/positional; instructions 109/108; restored.
|
||||
- named initialized opt-out handler: (4, 89) structural/positional; instructions 109/108; restored.
|
||||
- split scene lookup and button cast: (4, 89) structural/positional; instructions 109/108; restored.
|
||||
|
||||
## src/scene/sdChannelSelect/iplSDChannelSelect initializeNormalPage__Q33ipl5scene15SDChannelSelectFv
|
||||
Fetch origin/main d8937f9e82e1531440b8a15d4e38d0fe19a46b7e. Initial assembly diagnosis: (3, 47) structural/positional differences; instructions 95/94
|
||||
- explicit null opt-out handler: (3, 47) structural/positional; instructions 95/94; restored.
|
||||
- named initialized opt-out handler: (3, 47) structural/positional; instructions 95/94; restored.
|
||||
- split scene lookup and button cast: (3, 47) structural/positional; instructions 95/94; restored.
|
||||
|
||||
## src/scene/sdChannelSelect/iplSDChannelSelect selectChannel__Q33ipl5scene15SDChannelSelectFii
|
||||
Fetch origin/main d8937f9e82e1531440b8a15d4e38d0fe19a46b7e. Initial assembly diagnosis: (1, 19) structural/positional differences; instructions 60/59
|
||||
- explicit null opt-out handler: (1, 19) structural/positional; instructions 60/59; restored.
|
||||
- named initialized opt-out handler: (1, 19) structural/positional; instructions 60/59; restored.
|
||||
- split scene lookup and button cast: (1, 19) structural/positional; instructions 60/59; restored.
|
||||
|
||||
## src/scene/sdChannelSelect/iplSDChannelSelect setChannelScissor__Q33ipl5scene15SDChannelSelectCFPCQ33ipl5scene12SDChannelObj
|
||||
Fetch origin/main d8937f9e82e1531440b8a15d4e38d0fe19a46b7e. Initial assembly diagnosis: (23, 68) structural/positional differences; instructions 233/233
|
||||
- declare projection before position: (46, 216) structural/positional; instructions 234/233; restored.
|
||||
- declare scales before initializing: (23, 68) structural/positional; instructions 233/233; restored.
|
||||
- load vertical scales before horizontal: (38, 72) structural/positional; instructions 233/233; restored.
|
||||
|
||||
## src/scene/sdChannelSelect/iplSDChannelSelect onEventDerived__Q43ipl5scene32@unnamed@iplSDChannelSelect_cpp@33SDChannelSelectButtonEventHandlerFUlUlPCQ33ipl10controller9Interface
|
||||
Fetch origin/main d8937f9e82e1531440b8a15d4e38d0fe19a46b7e. Initial assembly diagnosis: (9, 57) structural/positional differences; instructions 144/144
|
||||
- guard nonzero event with early return: build failed s\data- # d5\include\scene\iplSceneManager.h:14 # Z:\mnt\drive2\projects\wii-ipl-workers\data-d5\include\iplSceneUI.h:11 # Z:\mnt\drive2\projects\wii-ipl-workers\data- # d5\src\scene\sdChannelSelect\iplSDChannelSelect.cpp:6) ### mwcceppc.exe Compiler: # File: src\scene\sdChannelSelect\iplSDChannelSelect.cpp # --------------------------------------------------------- # 3508: } else { # Error: ^^^^ # (10141) expression syntax error # Too many errors printed, aborting program User break, cancelled... ninja: build stopped: subcommand failed. ; restored.
|
||||
- reuse state temporary after special case dispatch: (9, 57) structural/positional; instructions 144/144; restored.
|
||||
- invert state and preserve nested block: (9, 57) structural/positional; instructions 144/144; restored.
|
||||
|
||||
## libs/RVL_SDK/src/kpad/KPAD reset_kpad
|
||||
Fetch origin/main d8937f9e82e1531440b8a15d4e38d0fe19a46b7e. Initial assembly diagnosis: (0, 10) structural/positional differences; instructions 117/117
|
||||
- load reference distance before constants: (0, 10) structural/positional; instructions 117/117; restored.
|
||||
- divide direct reference field for distance: (0, 10) structural/positional; instructions 117/117; restored.
|
||||
- move distance quotient before initialization stores: (8, 110) structural/positional; instructions 118/117; restored.
|
||||
|
||||
## libs/RVL_SDK/src/kpad/KPAD KPADGetProjectionPos
|
||||
Fetch origin/main d8937f9e82e1531440b8a15d4e38d0fe19a46b7e. Initial assembly diagnosis: (0, 9) structural/positional differences; instructions 19/19
|
||||
- match multiplication operand order: (0, 10) structural/positional; instructions 19/19; restored.
|
||||
- declare scale last after scalar temporaries: build failed de/private/bte -DNDEBUG=1 -DTARGET_RVL -ipa file -fp_contract off -lang=c -MMD -c libs/RVL_SDK/src/kpad/KPAD.c -o build/43U/src/libs/RVL_SDK/src/kpad && "/usr/bin/python3" tools/transform_dep.py build/43U/src/libs/RVL_SDK/src/kpad/KPAD.d build/43U/src/libs/RVL_SDK/src/kpad/KPAD.d ### mwcceppc.exe Compiler: # File: libs\RVL_SDK\src\kpad\KPAD.c # ------------------------------------- # 360: f64 scaled = 0.908 * scale; # Error: ^^^ # (10141) expression syntax error # Too many errors printed, aborting program User break, cancelled... ninja: build stopped: subcommand failed. ; restored.
|
||||
- compute double scale first with matching operands: (0, 14) structural/positional; instructions 19/19; restored.
|
||||
|
||||
## libs/RVL_SDK/src/kpad/KPAD KPADSetSensorHeight
|
||||
Fetch origin/main d8937f9e82e1531440b8a15d4e38d0fe19a46b7e. Initial assembly diagnosis: (0, 7) structural/positional differences; instructions 52/52
|
||||
- compute diagonal square before zero store: (0, 7) structural/positional; instructions 52/52; restored.
|
||||
- declare square temporaries after widths: (0, 10) structural/positional; instructions 52/52; restored.
|
||||
- derive squared diagonal at sqrt call: (0, 4) structural/positional; instructions 52/52; restored.
|
||||
|
||||
## libs/RVL_SDK/src/kpad/KPAD calc_acc_horizon
|
||||
Fetch origin/main d8937f9e82e1531440b8a15d4e38d0fe19a46b7e. Initial assembly diagnosis: (2, 35) structural/positional differences; instructions 101/101
|
||||
- separate magnitude computation from declaration: (2, 35) structural/positional; instructions 101/101; restored.
|
||||
- declare normalized axes before magnitude: (2, 35) structural/positional; instructions 101/101; restored.
|
||||
- compute vertical target before product: build failed DEBUG=1 -DTARGET_RVL -ipa file -fp_contract off -lang=c -MMD -c libs/RVL_SDK/src/kpad/KPAD.c -o build/43U/src/libs/RVL_SDK/src/kpad && "/usr/bin/python3" tools/transform_dep.py build/43U/src/libs/RVL_SDK/src/kpad/KPAD.d build/43U/src/libs/RVL_SDK/src/kpad/KPAD.d ### mwcceppc.exe Compiler: # File: libs\RVL_SDK\src\kpad\KPAD.c # ------------------------------------- # 500: f32 productY = targetY * normalizedY; # Error: ^^^ # (10141) expression syntax error # Too many errors printed, aborting program User break, cancelled... ninja: build stopped: subcommand failed. ; restored.
|
||||
|
||||
## libs/RVL_SDK/src/kpad/KPAD read_kpad_acc
|
||||
Fetch origin/main d8937f9e82e1531440b8a15d4e38d0fe19a46b7e. Initial assembly diagnosis: (16, 66) structural/positional differences; instructions 400/400
|
||||
- declare previous vector before raw vector: (32, 82) structural/positional; instructions 400/400; restored.
|
||||
- split core speed delta assignments: (16, 66) structural/positional; instructions 400/400; restored.
|
||||
- name core squared magnitude before sqrt: build failed src/kpad/KPAD.c -o build/43U/src/libs/RVL_SDK/src/kpad && "/usr/bin/python3" tools/transform_dep.py build/43U/src/libs/RVL_SDK/src/kpad/KPAD.d build/43U/src/libs/RVL_SDK/src/kpad/KPAD.d ### mwcceppc.exe Compiler: # File: libs\RVL_SDK\src\kpad\KPAD.c # ------------------------------------- # 613: f32 squaredMagnitude = kpad->status.acc.z * kpad->status.acc.z + (kpad->status.acc.x * kpad->status.acc.x + kpad->status.ac # Error: ^^^ # (10141) expression syntax error # Too many errors printed, aborting program User break, cancelled... ninja: build stopped: subcommand failed. ; restored.
|
||||
|
||||
## libs/RVL_SDK/src/kpad/KPAD select_1obj_first
|
||||
Fetch origin/main d8937f9e82e1531440b8a15d4e38d0fe19a46b7e. Initial assembly diagnosis: (2, 26) structural/positional differences; instructions 109/109
|
||||
- declare end pointer before current object: (4, 27) structural/positional; instructions 109/109; restored.
|
||||
- initialize scan pointer after offsets: (4, 27) structural/positional; instructions 109/109; restored.
|
||||
- for loop over objects instead of do loop: (14, 113) structural/positional; instructions 115/109; restored.
|
||||
|
||||
## libs/RVL_SDK/src/kpad/KPAD select_1obj_continue
|
||||
Fetch origin/main d8937f9e82e1531440b8a15d4e38d0fe19a46b7e. Initial assembly diagnosis: (0, 17) structural/positional differences; instructions 93/93
|
||||
- declare direction components before scalar inputs: (2, 14) structural/positional; instructions 93/93; restored.
|
||||
- calculate tangent products before axis products: (6, 17) structural/positional; instructions 93/93; restored.
|
||||
- compute direction assignment before offset scaling: (0, 17) structural/positional; instructions 93/93; restored.
|
||||
|
||||
## libs/RVL_SDK/src/kpad/KPAD calc_dpd_variable
|
||||
Fetch origin/main d8937f9e82e1531440b8a15d4e38d0fe19a46b7e. Initial assembly diagnosis: (14, 45) structural/positional differences; instructions 250/250
|
||||
- declare delta vector before point: (40, 71) structural/positional; instructions 250/250; restored.
|
||||
- separate horizon products into temporaries: (14, 49) structural/positional; instructions 250/250; restored.
|
||||
- explicit negative distance branch: (14, 45) structural/positional; instructions 250/250; restored.
|
||||
|
||||
## libs/RVL_SDK/src/kpad/KPAD KPADRead
|
||||
Fetch origin/main d8937f9e82e1531440b8a15d4e38d0fe19a46b7e. Initial assembly diagnosis: (11, 89) structural/positional differences; instructions 459/459
|
||||
- defer inside pointer lookup until status checked: (23, 105) structural/positional; instructions 459/459; restored.
|
||||
- declare sample before status output: (11, 89) structural/positional; instructions 459/459; restored.
|
||||
- declare channel pointer after integer locals: (11, 146) structural/positional; instructions 459/459; restored.
|
||||
|
||||
## libs/RVL_SDK/src/kpad/KPAD KPADInit
|
||||
Fetch origin/main d8937f9e82e1531440b8a15d4e38d0fe19a46b7e. Initial assembly diagnosis: (9, 81) structural/positional differences; instructions 185/185
|
||||
- declare matrix and channel before float locals: (9, 81) structural/positional; instructions 185/185; restored.
|
||||
- initialize loop pointer before matrix: (9, 81) structural/positional; instructions 185/185; restored.
|
||||
- defer constant initialization to loop scope: (34, 155) structural/positional; instructions 184/185; restored.
|
||||
|
||||
## libs/RVLMiddleware/TMC_JPEG/src/reschange/idct_resolution_change_var TMCJPEGDEC_IdctBlock4x4
|
||||
Fetch origin/main d8937f9e82e1531440b8a15d4e38d0fe19a46b7e. Initial assembly diagnosis: (19, 93) structural/positional differences; instructions 136/136
|
||||
- load odd coefficients and emit output in index order: (39, 93) structural/positional; instructions 136/136; restored.
|
||||
- interleave odd butterfly with row stores and reuse coefficient locals: (37, 93) structural/positional; instructions 136/136; candidate kept.
|
||||
- odd rotation sum operand order reversed: (37, 93) structural/positional; instructions 136/136; restored.
|
||||
|
||||
## libs/RVLMiddleware/TMC_JPEG/src/reschange/idct_resolution_change_var TMCJPEGDEC_IdctBlock4x4_Col
|
||||
Fetch origin/main d8937f9e82e1531440b8a15d4e38d0fe19a46b7e. Initial assembly diagnosis: (33, 134) structural/positional differences; instructions 139/137
|
||||
- load odd coefficients and emit output in index order: (33, 134) structural/positional; instructions 139/137; restored.
|
||||
- interleave odd butterfly with row stores and reuse coefficient locals: (38, 136) structural/positional; instructions 139/137; candidate kept.
|
||||
- odd rotation sum operand order reversed: (38, 136) structural/positional; instructions 139/137; restored.
|
||||
|
||||
Data audit: AddressEdit 2560/2560, SDChannelSelect 2960/2960, KPAD 8032/8032; JPEG has no data. No symbol rename or extent correction needed.
|
||||
SDK C89 build failures require declarations at block start; failed candidates restored.
|
||||
SDButton handler target omits initialization of optOutEvent r5 in calcCommon, initializeNormalPage, selectChannel. Keeping initialized calls rather than fabricating an uninitialized argument.
|
||||
|
||||
## src/scene/address/iplAddressEdit stt_wait_btn_fadeout__Q33ipl5scene11AddressEditFv
|
||||
Fetch origin/main d8937f9e82e1531440b8a15d4e38d0fe19a46b7e. Initial assembly diagnosis: (0, 5) structural/positional differences; instructions 94/94
|
||||
- separate first combined completion result: (11, 15) structural/positional; instructions 94/94; restored.
|
||||
- hoist label and message locals before boolean: (0, 2) structural/positional; instructions 94/94; restored.
|
||||
|
||||
## src/scene/address/iplAddressEdit get_friendinfo__Q33ipl5scene11AddressEditFv
|
||||
Fetch origin/main d8937f9e82e1531440b8a15d4e38d0fe19a46b7e. Initial assembly diagnosis: (10, 68) structural/positional differences; instructions 82/84
|
||||
- combine textbox calls with nested pane lookup: (10, 68) structural/positional; instructions 82/84; restored.
|
||||
- use one text buffer for mutually exclusive conversion: (19, 71) structural/positional; instructions 82/84; restored.
|
||||
|
||||
## src/scene/address/iplAddressEdit stt_wait_btn_fadeout__Q33ipl5scene11AddressEditFv
|
||||
Fetch origin/main 72cf3991b21de46366320f26bce5fbdf81392394. Initial assembly diagnosis: (0, 5) structural/positional differences; instructions 94/94
|
||||
- declare pane message and animator before completion: (0, 2) structural/positional; instructions 94/94; candidate kept.
|
||||
- use FrameController play inline boundary: (0, 2) structural/positional; instructions 94/94; restored.
|
||||
|
||||
## libs/RVL_SDK/src/kpad/KPAD KPADGetProjectionPos
|
||||
Fetch origin/main c31af38e0e6ba02e457c527950fb14e76e54b9eb. Initial assembly diagnosis: (0, 9) structural/positional differences; instructions 19/19
|
||||
- separate scalar declarations with target multiplication operand order: (0, 11) structural/positional; instructions 19/19; candidate kept.
|
||||
|
||||
## src/scene/sdChannelSelect/iplSDChannelSelect onEventDerived__Q43ipl5scene32@unnamed@iplSDChannelSelect_cpp@33SDChannelSelectButtonEventHandlerFUlUlPCQ33ipl10controller9Interface
|
||||
Fetch origin/main c653415d7727c951163de0f9415f5d697b4ebed2. Initial assembly diagnosis: (9, 57) structural/positional differences; instructions 144/144
|
||||
- flatten nonzero event guard: build failed s\data- # d5\include\scene\iplSceneManager.h:14 # Z:\mnt\drive2\projects\wii-ipl-workers\data-d5\include\iplSceneUI.h:11 # Z:\mnt\drive2\projects\wii-ipl-workers\data- # d5\src\scene\sdChannelSelect\iplSDChannelSelect.cpp:6) ### mwcceppc.exe Compiler: # File: src\scene\sdChannelSelect\iplSDChannelSelect.cpp # --------------------------------------------------------- # 3508: } else { # Error: ^^^^ # (10141) expression syntax error # Too many errors printed, aborting program User break, cancelled... ninja: build stopped: subcommand failed. ; restored.
|
||||
- reuse state temporary after special state switch: (9, 57) structural/positional; instructions 144/144; restored.
|
||||
- flatten normal state guard: (9, 57) structural/positional; instructions 144/144; restored.
|
||||
|
||||
## libs/RVL_SDK/src/kpad/KPAD KPADGetProjectionPos
|
||||
Fetch origin/main d0a9514c9b9fe8ce0f7e891d570ca93b3cda79f1. Initial assembly diagnosis: (0, 10) structural/positional differences; instructions 19/19
|
||||
- height then half-height multiplier operand order: (0, 10) structural/positional; instructions 19/19; candidate kept.
|
||||
- inline double scale in final projection product: (0, 10) structural/positional; instructions 19/19; restored.
|
||||
- evaluate double scale before projection components: (0, 14) structural/positional; instructions 19/19; restored.
|
||||
|
||||
## src/scene/sdChannelSelect/iplSDChannelSelect onEventDerived__Q43ipl5scene32@unnamed@iplSDChannelSelect_cpp@33SDChannelSelectButtonEventHandlerFUlUlPCQ33ipl10controller9Interface
|
||||
Fetch origin/main d0a9514c9b9fe8ce0f7e891d570ca93b3cda79f1. Initial assembly diagnosis: (9, 57) structural/positional differences; instructions 144/144
|
||||
- switch dispatch for normal button event: (9, 60) structural/positional; instructions 145/144; restored.
|
||||
- valid early return for nonzero button event: (9, 57) structural/positional; instructions 144/144; restored.
|
||||
|
||||
## src/scene/address/iplAddressEdit stt_wait_btn_fadeout__Q33ipl5scene11AddressEditFv
|
||||
Fetch origin/main d0a9514c9b9fe8ce0f7e891d570ca93b3cda79f1. Initial assembly diagnosis: (0, 2) structural/positional differences; instructions 94/94
|
||||
- direct inline play on animation lookup: (0, 2) structural/positional; instructions 94/94; restored.
|
||||
- use base frame controller pointer for animation: (0, 0) structural/positional; instructions 94/94; candidate kept.
|
||||
- limit final animation local scope: (0, 2) structural/positional; instructions 94/94; restored.
|
||||
- minimal base-controller type change without declaration hoisting: (0, 3) structural/positional; instructions 94/94; restored.
|
||||
|
||||
Register searches after structural trials: reset_kpad 71 declaration-order builds, best structural 0/positional 10, restored; stt_wait_btn_fadeout 13 builds, best 0/2, followed by base FrameController pointer reaching 0/0. KPADGetProjectionPos 26 builds, best 0/10 after operand-order changes; restored.
|
||||
JPEG interleaved butterfly candidates and projection partials were restored to HEAD: no exact gain.
|
||||
|
||||
AddressEdit clean full gate:
|
||||
```
|
||||
full build: ok
|
||||
main.dol sha1: 26116613f624061ba99c8d1a299aaa6efa85670d
|
||||
[src/scene/address/iplAddressEdit] pool: IDENTICAL
|
||||
[src/scene/address/iplAddressEdit] objdiff: code 21932/27112 data 2560/2560 functions 88/94 fuzzy 99.4923 linked code 0
|
||||
[src/scene/address/iplAddressEdit] instruction-exact functions: 88/94
|
||||
[src/scene/address/iplAddressEdit] section .bss size 320 match 100.0
|
||||
[src/scene/address/iplAddressEdit] section .data size 2152 match 100.0
|
||||
[src/scene/address/iplAddressEdit] section .rodata size 40 match 100.0
|
||||
[src/scene/address/iplAddressEdit] section .sdata size 24 match 100.0
|
||||
[src/scene/address/iplAddressEdit] section .sdata2 size 24 match 100.0
|
||||
[src/scene/address/iplAddressEdit] section .text size 27112 match 99.492325
|
||||
[src/scene/address/iplAddressEdit] below 100: create__Q33ipl5scene11AddressEditFv 97.44634
|
||||
[src/scene/address/iplAddressEdit] below 100: start_point_event__Q33ipl5scene11AddressEditFPCcPQ33ipl10controller9Interface 99.34066
|
||||
[src/scene/address/iplAddressEdit] below 100: start_left_event__Q33ipl5scene11AddressEditFPCc 98.958336
|
||||
[src/scene/address/iplAddressEdit] below 100: get_friendinfo__Q33ipl5scene11AddressEditFv 88.03571
|
||||
[src/scene/address/iplAddressEdit] below 100: update_friendinfo__Q33ipl5scene11AddressEditFv 99.42105
|
||||
[src/scene/address/iplAddressEdit] below 100: set_err_msg__Q33ipl5scene11AddressEditFPwUl8NWC24Err 98.666664
|
||||
[src/scene/address/iplAddressEdit] baseline: code 21556/27112 data 2560 functions 87 fuzzy 99.4886
|
||||
regressions vs baseline: 0
|
||||
global matched_code_percent: 89.13947 -> 89.15202
|
||||
global fuzzy_match_percent: 99.52161 -> 99.52165
|
||||
global complete_code_percent: 66.03058 -> 66.03058
|
||||
global matched_data_percent: 99.36508 -> 99.36508
|
||||
forbidden patterns added (net, per file): 0
|
||||
readability warnings (net, per file; must be 0 in the final result): 0
|
||||
GATE PASS
|
||||
```
|
||||
|
||||
## Final remaining-function audit
|
||||
Final fetch detected a concurrent remote JPEG _Col source change after these trials began. It was not imported. AddressEdit differs from remote only by this candidate; SDChannelSelect and KPAD remain unchanged. Gate baseline is the branch merge-base snapshot, as implemented by gate.py. Three distinct source-level attempts logged for every initially open function; failed compilations are marked and restored.
|
||||
- create__Q33ipl5scene11AddressEditFv: 97.44634%; 3 logged attempts; equal 820 instructions; constant/base register allocation and instruction scheduling.
|
||||
- start_point_event__Q33ipl5scene11AddressEditFPCcPQ33ipl10controller9Interface: 99.34066%; 3 logged attempts; 181/182 instructions; missing unconditional default-dispatch branch.
|
||||
- start_left_event__Q33ipl5scene11AddressEditFPCc: 98.958336%; 3 logged attempts; 95/96 instructions; missing unconditional default-dispatch branch.
|
||||
- get_friendinfo__Q33ipl5scene11AddressEditFv: 88.03571%; 5 logged attempts; 82/84 instructions; display-string pointer lifetimes and cache-copy argument setup.
|
||||
- update_friendinfo__Q33ipl5scene11AddressEditFv: 99.42105%; 3 logged attempts; 38/38 instructions; memcpy source/destination address setup order.
|
||||
- set_err_msg__Q33ipl5scene11AddressEditFPwUl8NWC24Err: 98.666664%; 3 logged attempts; 76/75 instructions; redundant server message-id load.
|
||||
- create__Q33ipl5scene15SDChannelSelectFv: 97.73972%; 3 logged attempts; 145/146 instructions; tick-duration arithmetic setup and scheduling.
|
||||
- handleSDTitleListResult__Q33ipl5scene15SDChannelSelectFv: 99.15205%; 3 logged attempts; 170/171 instructions; result-dispatch branch and compaction counter allocation.
|
||||
- collectTitlesByUsage__Q33ipl5scene15SDChannelSelectFPClPClPUxPcPUl: 97.81188%; 3 logged attempts; 101/101 instructions; count store versus usage-threshold load scheduling.
|
||||
- collectTitlesFromNandUsage__Q33ipl5scene15SDChannelSelectFPClPClPUxPcPUl: 97.833336%; 3 logged attempts; 102/102 instructions; count store versus usage-threshold load scheduling.
|
||||
- collectTitlesByChannelOrder__Q33ipl5scene15SDChannelSelectFPClPClPUxPcPUl: 97.29365%; 3 logged attempts; 126/126 instructions; page/order register allocation and count/threshold scheduling.
|
||||
- collectTitlesBySpecialChannels__Q33ipl5scene15SDChannelSelectFPClPClPUxPcPUl: 97.55125%; 3 logged attempts; 361/361 instructions; four count-store versus threshold-load schedules.
|
||||
- flushSaveDataAndMountSD__Q33ipl5scene15SDChannelSelectFv: 99.65714%; 3 logged attempts; 35/35 instructions; save-manager/flush-heap argument load order.
|
||||
- calcCommon__Q33ipl5scene15SDChannelSelectFv: 99.07407%; 3 logged attempts; 109/108 instructions; target has no initialized opt-out-handler r5 argument, initialized source retained.
|
||||
- initializeNormalPage__Q33ipl5scene15SDChannelSelectFv: 98.93617%; 3 logged attempts; 95/94 instructions; target has no initialized opt-out-handler r5 argument, initialized source retained.
|
||||
- selectChannel__Q33ipl5scene15SDChannelSelectFii: 98.305084%; 3 logged attempts; 60/59 instructions; target has no initialized opt-out-handler r5 argument, initialized source retained.
|
||||
- setChannelScissor__Q33ipl5scene15SDChannelSelectCFPCQ33ipl5scene12SDChannelObj: 93.4721%; 3 logged attempts; 233/233 instructions; float local allocation, load scheduling and multiplication operands.
|
||||
- onEventDerived__Q43ipl5scene32@unnamed@iplSDChannelSelect_cpp@33SDChannelSelectButtonEventHandlerFUlUlPCQ33ipl10controller9Interface: 98.541664%; 8 logged attempts; 144/144 instructions; event-dispatch branch direction and nested condition scheduling.
|
||||
- TMCJPEGDEC_IdctBlock4x4: 85.625%; 3 logged attempts; 136/136 instructions; integer butterfly reassociation, row-store scheduling and register allocation.
|
||||
- TMCJPEGDEC_IdctBlock4x4_Col: 83.240875%; 3 logged attempts; 139/137 instructions; extra saved-register pair plus butterfly scheduling and allocation.
|
||||
- reset_kpad: 99.48718%; 3 logged attempts; 117/117 instructions; float-register allocation, 71 declaration-order builds made no improvement.
|
||||
- KPADGetProjectionPos: 96.57895%; 7 logged attempts; 19/19 instructions; floating-point operands and register allocation; declaration search plateau.
|
||||
- KPADSetSensorHeight: 99.23077%; 3 logged attempts; 52/52 instructions; diagonal-square temporary and inside-array register allocation.
|
||||
- calc_acc_horizon: 97.27723%; 3 logged attempts; 101/101 instructions; floating-point allocation and product scheduling.
|
||||
- read_kpad_acc: 98.15%; 3 logged attempts; 400/400 instructions; smoothing-helper floating-point allocation and operand scheduling.
|
||||
- select_1obj_first: 98.348625%; 3 logged attempts; 109/109 instructions; scan pointer and floating-point local allocation.
|
||||
- select_1obj_continue: 98.49462%; 3 logged attempts; 93/93 instructions; tangent/direction floating-point allocation.
|
||||
- calc_dpd_variable: 94.82%; 3 logged attempts; 250/250 instructions; smoothing floating-point temporary scheduling and allocation.
|
||||
- KPADRead: 97.52723%; 3 logged attempts; 459/459 instructions; inline-helper boundaries, ring state and register allocation.
|
||||
- KPADInit: 96.51351%; 3 logged attempts; 185/185 instructions; array-base registers and initialization-store scheduling.
|
||||
|
||||
No remaining data gaps in the owned units; no data renames or extent edits. Final instruction counts are measured independently by the full gate. No claim that a register-only plateau is impossible to solve.
|
||||
|
||||
Final full gate over all four units:
|
||||
```
|
||||
full build: ok
|
||||
main.dol sha1: 26116613f624061ba99c8d1a299aaa6efa85670d
|
||||
[src/scene/address/iplAddressEdit] pool: IDENTICAL
|
||||
[src/scene/address/iplAddressEdit] objdiff: code 21932/27112 data 2560/2560 functions 88/94 fuzzy 99.4923 linked code 0
|
||||
[src/scene/address/iplAddressEdit] instruction-exact functions: 88/94
|
||||
[src/scene/address/iplAddressEdit] section .bss size 320 match 100.0
|
||||
[src/scene/address/iplAddressEdit] section .data size 2152 match 100.0
|
||||
[src/scene/address/iplAddressEdit] section .rodata size 40 match 100.0
|
||||
[src/scene/address/iplAddressEdit] section .sdata size 24 match 100.0
|
||||
[src/scene/address/iplAddressEdit] section .sdata2 size 24 match 100.0
|
||||
[src/scene/address/iplAddressEdit] section .text size 27112 match 99.492325
|
||||
[src/scene/address/iplAddressEdit] below 100: create__Q33ipl5scene11AddressEditFv 97.44634
|
||||
[src/scene/address/iplAddressEdit] below 100: start_point_event__Q33ipl5scene11AddressEditFPCcPQ33ipl10controller9Interface 99.34066
|
||||
[src/scene/address/iplAddressEdit] below 100: start_left_event__Q33ipl5scene11AddressEditFPCc 98.958336
|
||||
[src/scene/address/iplAddressEdit] below 100: get_friendinfo__Q33ipl5scene11AddressEditFv 88.03571
|
||||
[src/scene/address/iplAddressEdit] below 100: update_friendinfo__Q33ipl5scene11AddressEditFv 99.42105
|
||||
[src/scene/address/iplAddressEdit] below 100: set_err_msg__Q33ipl5scene11AddressEditFPwUl8NWC24Err 98.666664
|
||||
[src/scene/address/iplAddressEdit] baseline: code 21556/27112 data 2560 functions 87 fuzzy 99.4886
|
||||
[src/scene/sdChannelSelect/iplSDChannelSelect] pool: IDENTICAL
|
||||
[src/scene/sdChannelSelect/iplSDChannelSelect] objdiff: code 27108/33828 data 2960/2960 functions 117/129 fuzzy 99.5051 linked code 0
|
||||
[src/scene/sdChannelSelect/iplSDChannelSelect] instruction-exact functions: 117/129
|
||||
[src/scene/sdChannelSelect/iplSDChannelSelect] section .data size 2736 match 100.0
|
||||
[src/scene/sdChannelSelect/iplSDChannelSelect] section .rodata size 64 match 100.0
|
||||
[src/scene/sdChannelSelect/iplSDChannelSelect] section .sdata size 80 match 100.0
|
||||
[src/scene/sdChannelSelect/iplSDChannelSelect] section .sdata2 size 80 match 100.0
|
||||
[src/scene/sdChannelSelect/iplSDChannelSelect] section .text size 33828 match 99.50514
|
||||
[src/scene/sdChannelSelect/iplSDChannelSelect] below 100: create__Q33ipl5scene15SDChannelSelectFv 97.73972
|
||||
[src/scene/sdChannelSelect/iplSDChannelSelect] below 100: handleSDTitleListResult__Q33ipl5scene15SDChannelSelectFv 99.15205
|
||||
[src/scene/sdChannelSelect/iplSDChannelSelect] below 100: collectTitlesByUsage__Q33ipl5scene15SDChannelSelectFPClPClPUxPcPUl 97.81188
|
||||
[src/scene/sdChannelSelect/iplSDChannelSelect] below 100: collectTitlesFromNandUsage__Q33ipl5scene15SDChannelSelectFPClPClPUxPcPUl 97.833336
|
||||
[src/scene/sdChannelSelect/iplSDChannelSelect] below 100: collectTitlesByChannelOrder__Q33ipl5scene15SDChannelSelectFPClPClPUxPcPUl 97.29365
|
||||
[src/scene/sdChannelSelect/iplSDChannelSelect] below 100: collectTitlesBySpecialChannels__Q33ipl5scene15SDChannelSelectFPClPClPUxPcPUl 97.55125
|
||||
[src/scene/sdChannelSelect/iplSDChannelSelect] below 100: flushSaveDataAndMountSD__Q33ipl5scene15SDChannelSelectFv 99.65714
|
||||
[src/scene/sdChannelSelect/iplSDChannelSelect] below 100: calcCommon__Q33ipl5scene15SDChannelSelectFv 99.07407
|
||||
[src/scene/sdChannelSelect/iplSDChannelSelect] below 100: initializeNormalPage__Q33ipl5scene15SDChannelSelectFv 98.93617
|
||||
[src/scene/sdChannelSelect/iplSDChannelSelect] below 100: selectChannel__Q33ipl5scene15SDChannelSelectFii 98.305084
|
||||
[src/scene/sdChannelSelect/iplSDChannelSelect] below 100: setChannelScissor__Q33ipl5scene15SDChannelSelectCFPCQ33ipl5scene12SDChannelObj 93.4721
|
||||
[src/scene/sdChannelSelect/iplSDChannelSelect] below 100: onEventDerived__Q43ipl5scene32@unnamed@iplSDChannelSelect_cpp@33SDChannelSelectButtonEventHandlerFUlUlPCQ33ipl10controller9Interface 98.541664
|
||||
[src/scene/sdChannelSelect/iplSDChannelSelect] baseline: code 27108/33828 data 2960 functions 117 fuzzy 99.5051
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/reschange/idct_resolution_change_var] pool: IDENTICAL
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/reschange/idct_resolution_change_var] objdiff: code 712/1804 data None/None functions 4/6 fuzzy 90.5743 linked code 0
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/reschange/idct_resolution_change_var] instruction-exact functions: 4/6
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/reschange/idct_resolution_change_var] section .text size 1804 match 90.57428
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/reschange/idct_resolution_change_var] below 100: TMCJPEGDEC_IdctBlock4x4 85.625
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/reschange/idct_resolution_change_var] below 100: TMCJPEGDEC_IdctBlock4x4_Col 83.240875
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/reschange/idct_resolution_change_var] baseline: code 712/1804 data None functions 4 fuzzy 90.5743
|
||||
[libs/RVL_SDK/src/kpad/KPAD] pool: IDENTICAL
|
||||
[libs/RVL_SDK/src/kpad/KPAD] objdiff: code 5916/13056 data 8032/8032 functions 19/29 fuzzy 98.5983 linked code 0
|
||||
[libs/RVL_SDK/src/kpad/KPAD] instruction-exact functions: 19/29
|
||||
[libs/RVL_SDK/src/kpad/KPAD] section .bss size 7680 match 100.0
|
||||
[libs/RVL_SDK/src/kpad/KPAD] section .data size 88 match 100.0
|
||||
[libs/RVL_SDK/src/kpad/KPAD] section .sbss size 32 match 100.0
|
||||
[libs/RVL_SDK/src/kpad/KPAD] section .sdata size 112 match 100.0
|
||||
[libs/RVL_SDK/src/kpad/KPAD] section .sdata2 size 120 match 100.0
|
||||
[libs/RVL_SDK/src/kpad/KPAD] section .text size 13056 match 98.59834
|
||||
[libs/RVL_SDK/src/kpad/KPAD] below 100: reset_kpad 99.48718
|
||||
[libs/RVL_SDK/src/kpad/KPAD] below 100: KPADGetProjectionPos 96.57895
|
||||
[libs/RVL_SDK/src/kpad/KPAD] below 100: KPADSetSensorHeight 99.23077
|
||||
[libs/RVL_SDK/src/kpad/KPAD] below 100: calc_acc_horizon 97.27723
|
||||
[libs/RVL_SDK/src/kpad/KPAD] below 100: read_kpad_acc 98.15
|
||||
[libs/RVL_SDK/src/kpad/KPAD] below 100: select_1obj_first 98.348625
|
||||
[libs/RVL_SDK/src/kpad/KPAD] below 100: select_1obj_continue 98.49462
|
||||
[libs/RVL_SDK/src/kpad/KPAD] below 100: calc_dpd_variable 94.82
|
||||
[libs/RVL_SDK/src/kpad/KPAD] below 100: KPADRead 97.52723
|
||||
[libs/RVL_SDK/src/kpad/KPAD] below 100: KPADInit 96.51351
|
||||
[libs/RVL_SDK/src/kpad/KPAD] baseline: code 5916/13056 data 8032 functions 19 fuzzy 98.5983
|
||||
regressions vs baseline: 0
|
||||
global matched_code_percent: 89.13947 -> 89.15202
|
||||
global fuzzy_match_percent: 99.52161 -> 99.52165
|
||||
global complete_code_percent: 66.03058 -> 66.03058
|
||||
global matched_data_percent: 99.36508 -> 99.36508
|
||||
forbidden patterns added (net, per file): 0
|
||||
readability warnings (net, per file; must be 0 in the final result): 0
|
||||
GATE PASS
|
||||
```
|
||||
|
||||
Before -> after instruction-exact: AddressEdit 87 -> 88; SDChannelSelect 117 -> 117; JPEG 4 -> 4; KPAD 19 -> 19.
|
||||
Before -> after matched code bytes: AddressEdit 21556 -> 21932; SDChannelSelect 27108 -> 27108; JPEG 712 -> 712; KPAD 5916 -> 5916. Data remains 2560/2560, 2960/2960, none, 8032/8032 respectively.
|
||||
Source commit: 7e34636b.
|
||||
@@ -827,3 +827,520 @@ PFVOL_attach: 98.72159%; 174/176 instructions; inline clear_mount return boundar
|
||||
PFVOL_regctx: 99.0%; 15 register-only status/free-index differences
|
||||
|
||||
Changed source files: libs/RevoEX/src/so/SOOption.c and libs/RVL_SDK/src/fa/pf_volume.c; attempts log tools/decomp-assist/fz3.attempts.md. Commits43b95ca5/d4a8860d. No config/symbol edits. Full clean gate PASS; pool identical across7 units; regressions0, forbidden0, readability0, target DOL SHA1 preserved.
|
||||
|
||||
# Round 5 HIGH; fresh HEAD 2039813c, owned seven units only
|
||||
libs/RevoEX/src/so/SOOption: POOL IDENTICAL up to 0 (mine=0 base=0)
|
||||
libs/RVL_SDK/src/fa/pf_volume: POOL IDENTICAL up to 1 (mine=1 base=1)
|
||||
libs/RVL_SDK/src/fa/pf_entry_iterator: POOL IDENTICAL up to 0 (mine=0 base=0)
|
||||
src/keyboard/tiString: POOL IDENTICAL up to 0 (mine=0 base=0)
|
||||
src/keyboard/tiSignWindow: POOL IDENTICAL up to 30 (mine=30 base=30)
|
||||
libs/RVL_SDK/src/fa/msc/puh_msc_blk: POOL IDENTICAL up to 0 (mine=0 base=0)
|
||||
libs/RVLMiddleware/TMC_JPEG/src/reschange/idct_resolution_change_var: POOL IDENTICAL up to 0 (mine=0 base=0)
|
||||
|
||||
SOGetInterfaceOpt current origin/main source identical after fetch; structural diagnosis: frame0x30 119/119 instructions; five parameter-color differences only; target reuses level storage for returnedLength and option storage for reply. Data0/0, no pool.
|
||||
SOGetInterfaceOpt | R5 scope reply and returnedLength at payload lifetime | 119/119 instructions; structural/exact differences (0, 5)
|
||||
SOGetInterfaceOpt | R5 snapshot requested option after prepare before validation | 119/119 instructions; structural/exact differences (0, 5)
|
||||
SOGetInterfaceOpt | R5 isolate result of ioctl from prepare and allocation error | BUILD FAIL uto -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/so/SOOption.c -o build/43U/src/libs/RevoEX/src/so && "/usr/bin/python3" tools/transform_dep.py build/43U/src/libs/RevoEX/src/so/SOOption.d build/43U/src/libs/RevoEX/src/so/SOOption.d
|
||||
### mwcceppc.exe Compiler:
|
||||
# File: libs\RevoEX\src\so\SOOption.c
|
||||
# --------------------------------------
|
||||
# 125: int ioctlResult;
|
||||
# Error: ^^^
|
||||
# (10141) expression syntax error
|
||||
# Too many errors printed, aborting program
|
||||
|
||||
User break, cancelled...
|
||||
ninja: build stopped: subcommand failed.
|
||||
|
||||
R5 SO restored: 119/119 instructions; structural/exact differences (0, 5)
|
||||
SOGetInterfaceOpt | R5 ioctl result block with valid C89 declaration | 119/119 instructions; structural/exact differences (0, 5)
|
||||
R5 declaration search60 builds (0,5), no improvement; 119/119 instructions; structural/exact differences (0, 5)
|
||||
|
||||
R5 PFVOL_p_rmvvol fetch rc=1 ; origin/main d34e09d5dcb0dd67dd34a4a3b41c6238fe499689; source identical=True; baseline open per fresh report. 64/64 frame0x500. Folded scalar initializer li versus target lbz template; four prolog scheduling differences. Real deleted byte template currently8byte extent, no rename/extent proof sufficient, data210976/210976.
|
||||
PFVOL_p_rmvvol | R5 const deleted scalar with explicit initializer | 64/64 instructions; structural/exact differences (2, 4)
|
||||
PFVOL_p_rmvvol | R5 byte marker in directory byte field struct initializer | 64/64 instructions; structural/exact differences (0, 0)
|
||||
PFVOL_p_rmvvol | R5 byte marker array copied from template via initializer | BUILD FAIL -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/fa/pf_volume.c -o build/43U/src/libs/RVL_SDK/src/fa && "/usr/bin/python3" tools/transform_dep.py build/43U/src/libs/RVL_SDK/src/fa/pf_volume.d build/43U/src/libs/RVL_SDK/src/fa/pf_volume.d
|
||||
### mwcceppc.exe Compiler:
|
||||
# File: libs\RVL_SDK\src\fa\pf_volume.c
|
||||
# ----------------------------------------
|
||||
# 591: u8 deleted[1] = {deleted_entry_mark[0]};
|
||||
# Error: ^
|
||||
# (10124) illegal constant expression
|
||||
# Too many errors printed, aborting program
|
||||
|
||||
User break, cancelled...
|
||||
ninja: build stopped: subcommand failed.
|
||||
|
||||
R5 PFVOL_p_rmvvol restored: 64/64 instructions; structural/exact differences (2, 4)
|
||||
PFVOL_p_rmvvol | R5 byte marker array aggregate with literal initializer | 64/64 instructions; structural/exact differences (0, 0)
|
||||
PFVOL_p_rmvvol | R5 deleted-field struct using named mark initializer | BUILD FAIL ontract 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/fa/pf_volume.c -o build/43U/src/libs/RVL_SDK/src/fa && "/usr/bin/python3" tools/transform_dep.py build/43U/src/libs/RVL_SDK/src/fa/pf_volume.d build/43U/src/libs/RVL_SDK/src/fa/pf_volume.d
|
||||
### mwcceppc.exe Compiler:
|
||||
# File: libs\RVL_SDK\src\fa\pf_volume.c
|
||||
# ----------------------------------------
|
||||
# 591: struct { u8 first_byte; } deleted = {deleted_entry_mark[0]};
|
||||
# Error: ^
|
||||
# (10124) illegal constant expression
|
||||
# Too many errors printed, aborting program
|
||||
|
||||
User break, cancelled...
|
||||
ninja: build stopped: subcommand failed.
|
||||
|
||||
R5 PFVOL_p_rmvvol aggregate exact candidate rejected: extra local template would leave old mark as unused object; removing old mark regresses section data. No padding or extent change justified solely by one byte access. 64/64 instructions; structural/exact differences (2, 4)
|
||||
|
||||
R5 PFVOL_attach fetch rc=0 ; origin/main 78d682775730a945bd3c3211dd704cc170f82b4b; source identical=True; baseline open per fresh report. 174/176 frame0x20. Caller ignores mount helper return, target still materializes its success/error into r0; ours collapses inline boundary and tests r3 from final void call. Other clear_mount consumers already exact, use attach-only helper variants.
|
||||
PFVOL_attach | R5 flatten mount helper with explicit retained mount status | 176/176 instructions; structural/exact differences (10, 22)
|
||||
PFVOL_attach | R5 mount result as helper state record | 174/176 instructions; structural/exact differences (10, 39)
|
||||
PFVOL_attach | R5 successful mount branch first in attach helper | 174/176 instructions; structural/exact differences (19, 39)
|
||||
R5 attach restored 174/176 instructions; structural/exact differences (10, 39)
|
||||
PFVOL_attach | R5 explicit mount status join through shared completion label | 173/176 instructions; structural/exact differences (11, 39)
|
||||
PFVOL_attach | R5 attach-only clear helper with status output parameter | 174/176 instructions; structural/exact differences (10, 39)
|
||||
PFVOL_attach | R5 attach-only aggregate mount return | 174/176 instructions; structural/exact differences (10, 39)
|
||||
R5 attach final restored 174/176 instructions; structural/exact differences (10, 39)
|
||||
|
||||
R5 PFVOL_regctx fetch rc=0 ; origin/main 1ce1b0458a9bb25cdfd7828882f9c2baf4e84ef6; source identical=True; baseline open per fresh report. 75/75 frame0x10 identical unrolled branches, target free index r8 status r5 versus ours r5/r8; declarations last. All owned data exact, no label renames warranted.
|
||||
PFVOL_regctx | R5 signed iteration index with unchanged context bounds | 75/75 instructions; structural/exact differences (1, 16)
|
||||
PFVOL_regctx | R5 status declaration alongside error before loop | 75/75 instructions; structural/exact differences (0, 15)
|
||||
PFVOL_regctx | R5 per-iteration typed context reference before status extraction | 75/75 instructions; structural/exact differences (0, 18)
|
||||
R5 regctx restored 75/75 instructions; structural/exact differences (0, 15)
|
||||
|
||||
R5 PFENT_ITER_FindCluster fetch rc=0 ; origin/main a2abf248541b955965816157d0c0412cdb7f3f62; source identical=True; baseline open per fresh report. 237/237 frame0xa0. Same locals/branches/inline LoadEntry, eight register-only differences between constant1 and entriesPerSector. Data24/24 exact.
|
||||
PFENT_ITER_FindCluster | R5 shared typed first-cluster value for iterator and hint initialization | 237/237 instructions; structural/exact differences (0, 8)
|
||||
PFENT_ITER_FindCluster | R5 entriesPerSector lifetime scoped to initialized iterator | 237/237 instructions; structural/exact differences (0, 11)
|
||||
PFENT_ITER_FindCluster | R5 signed entries-per-sector temporary for positive power-of-two count | 237/237 instructions; structural/exact differences (0, 8)
|
||||
R5 FindCluster restored 237/237 instructions; structural/exact differences (0, 8)
|
||||
|
||||
R5 PFENT_ITER_GetLFNEntryName fetch rc=0 ; origin/main a2abf248541b955965816157d0c0412cdb7f3f62; source identical=True; baseline open per fresh report. 73/73 frame0x30. Target maintains byte offset +=26 in r31 and copy destination r30 computed each iteration. Ours carries pointer; final target reloads numLFNs, multiply26 and clear bit0 before sthx. Inline LoadEntry boundary otherwise same.
|
||||
PFENT_ITER_GetLFNEntryName | R5 byte-address offset and terminator from live LFN count | 76/73 instructions; structural/exact differences (26, 75)
|
||||
PFENT_ITER_GetLFNEntryName | R5 byte destinations for all three LFN fragments | 76/73 instructions; structural/exact differences (26, 75)
|
||||
PFENT_ITER_GetLFNEntryName | R5 byte offset converted through UTF16 index at destination | 74/73 instructions; structural/exact differences (11, 34)
|
||||
R5 GetLFNEntryName restored 73/73 instructions; structural/exact differences (9, 43)
|
||||
R5 GetLFN shift-index candidate has extra rlwinm alignment mask and multiply13+slwi versus target multiply26+clearbit; restored 73/73 instructions; structural/exact differences (9, 43)
|
||||
|
||||
R5 inputChar__Q39textinput8tistring9DecolatedFw fetch rc=0 ; origin/main a2abf248541b955965816157d0c0412cdb7f3f62; source identical=True; baseline open per fresh report. 125/136 frame0x30. Main Kana and insertion blocks structurally match. Hangul branch target retains dynamic append count, initialNUL and dead newline comparison from inline converter; source folds count1 directstores. Data288/288 exact; no data pairing gaps.
|
||||
inputChar__Q39textinput8tistring9DecolatedFw | R5 Hangul append with advancing output pointer and count | 125/136 instructions; structural/exact differences (18, 73)
|
||||
inputChar__Q39textinput8tistring9DecolatedFw | R5 Hangul conversion local32bit length and explicit initial terminator | 126/136 instructions; structural/exact differences (17, 73)
|
||||
inputChar__Q39textinput8tistring9DecolatedFw | R5 Hangul typed append helper carrying current UTF16 length | 125/136 instructions; structural/exact differences (18, 73)
|
||||
R5 tiString restored 125/136 instructions; structural/exact differences (18, 73)
|
||||
|
||||
R5 create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator fetch rc=0 ; origin/main d0c3d43000a96839d7d74dee39c3998cc4a99aa4; source identical=True; baseline open per fresh report. 221/221 frame0x50, branches and all constructors/calls same; 34 differences are hoisted pane vtable/constants and animation count/table registers. Data3468/3468 and pool30 strings exact.
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R5 count and forceName declared at animation-binding phase | 221/221 instructions; structural/exact differences (0, 61)
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R5 widened loop state with explicit16bit animation lookup boundary | 221/221 instructions; structural/exact differences (0, 34)
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R5 placement-construction helper separates pane lookup from constructor inline scope | 221/221 instructions; structural/exact differences (42, 73)
|
||||
R5 SignWindow restored 221/221 instructions; structural/exact differences (0, 34)
|
||||
R5 SignWindow declaration search24 budget completed after structural/source trials; baseline coloring retained.
|
||||
|
||||
R5 uhf_msc_blk_pread fetch rc=0 From https://github.com/coah80/wii-ipl
|
||||
d0c3d430..65cd387b main -> origin/main; origin/main 65cd387bcb48559396b79257ab6069fcda9bf259; source identical=True; baseline open per fresh report. 129/129 frame0x40. Same find-device and read/retry branches, only10 differences swapping transfer_blocks r25/product r27 against target r27/r25. Data424/424 exact.
|
||||
uhf_msc_blk_pread | R5 transfer count lifetime restricted to each read iteration | 129/129 instructions; structural/exact differences (0, 27)
|
||||
uhf_msc_blk_pread | R5 byte-count product ordered block-size then transfer count | 129/129 instructions; structural/exact differences (0, 10)
|
||||
uhf_msc_blk_pread | R5 byte-count temporary scoped to copied noncacheable transfer | BUILD FAIL 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/fa/msc/puh_msc_blk.c -o build/43U/src/libs/RVL_SDK/src/fa/msc && "/usr/bin/python3" tools/transform_dep.py build/43U/src/libs/RVL_SDK/src/fa/msc/puh_msc_blk.d build/43U/src/libs/RVL_SDK/src/fa/msc/puh_msc_blk.d
|
||||
### mwcceppc.exe Compiler:
|
||||
# File: libs\RVL_SDK\src\fa\msc\puh_msc_blk.c
|
||||
# ----------------------------------------------
|
||||
# 152: transfer_buffer += transfer_bytes;
|
||||
# Error: ^^^^^^^^^^^^^^
|
||||
# (10140) undefined identifier 'transfer_bytes'
|
||||
# Too many errors printed, aborting program
|
||||
|
||||
User break, cancelled...
|
||||
ninja: build stopped: subcommand failed.
|
||||
|
||||
R5 pread restored 129/129 instructions; structural/exact differences (0, 10)
|
||||
uhf_msc_blk_pread | R5 corrected byte-count temporary in copy branch only | 129/129 instructions; structural/exact differences (0, 33)
|
||||
R5 pread declaration search71 builds no improvement; restored 129/129 instructions; structural/exact differences (0, 10)
|
||||
|
||||
R5 TMCJPEGDEC_IdctBlock4x4 fetch rc=0 ; origin/main 65cd387bcb48559396b79257ab6069fcda9bf259; source identical=True; baseline open per fresh report. 136/136 frame0x120, row loads, arithmetic scheduling and store order differ19 structural/93 exact. Target first pass reuses row temporaries and stores0,1,2,3; d+b operand order. Column clamp/pitch schedule shape same. No data sections.
|
||||
TMCJPEGDEC_IdctBlock4x4 | R5 reusable row temporaries with canonical four-store order and d+b operand | 136/136 instructions; structural/exact differences (37, 93)
|
||||
TMCJPEGDEC_IdctBlock4x4 | R5 delay even coefficient loads until odd rotation expression | 130/136 instructions; structural/exact differences (45, 134)
|
||||
TMCJPEGDEC_IdctBlock4x4 | R5 odd sum before rotation with same store boundaries | 136/136 instructions; structural/exact differences (37, 93)
|
||||
R5 luma restored 136/136 instructions; structural/exact differences (19, 93)
|
||||
TMCJPEGDEC_IdctBlock4x4 | R5 native-int arithmetic locals at coefficient conversion boundaries | 136/136 instructions; structural/exact differences (37, 93)
|
||||
TMCJPEGDEC_IdctBlock4x4 | R5 named odd difference and multiplication before delayed rotation shift | 136/136 instructions; structural/exact differences (37, 93)
|
||||
TMCJPEGDEC_IdctBlock4x4 | R5 commuted butterfly addition operands for both row stores | 136/136 instructions; structural/exact differences (37, 93)
|
||||
R5 luma after extra structural probes restored 136/136 instructions; structural/exact differences (19, 93)
|
||||
PFVOL_p_rmvvol | R5 named const marker definition after functions, preserving actual object and references | 64/64 instructions; structural/exact differences (2, 4)
|
||||
R5 const definition-order probe restored 64/64 instructions; structural/exact differences (2, 4)
|
||||
|
||||
R5 TMCJPEGDEC_IdctBlock4x4_Col fetch rc=0 ; origin/main 65cd387bcb48559396b79257ab6069fcda9bf259; source identical=True; baseline open per fresh report. 139/137 frame0x120, extra saved r28 and epilog reload plus reassociated odd sums; target reuses row variables and stores0..3; column arithmetic operand order d+b. No data sections.
|
||||
TMCJPEGDEC_IdctBlock4x4_Col | R5 common odd rotation locals reused in positive and negative butterfly outputs | 137/137 instructions; structural/exact differences (31, 48)
|
||||
TMCJPEGDEC_IdctBlock4x4_Col | R5 target odd-sum and rotated-sum operand order on shared temporaries | 137/137 instructions; structural/exact differences (31, 48)
|
||||
TMCJPEGDEC_IdctBlock4x4_Col | R5 reuse row coefficients and butterfly state across both column rows | 135/137 instructions; structural/exact differences (47, 136)
|
||||
R5 Col restored 139/137 instructions; structural/exact differences (33, 134)
|
||||
PFVOL_p_rmvvol | R5 external linkage for named readonly marker, same8byte definition | 64/64 instructions; structural/exact differences (2, 4)
|
||||
R5 restored after linkage probe 64/64 instructions; structural/exact differences (2, 4)
|
||||
TMCJPEGDEC_IdctBlock4x4 | R5 common row helper with named butterfly intermediates | 136/136 instructions; structural/exact differences (31, 93)
|
||||
TMCJPEGDEC_IdctBlock4x4 | R5 row helper output parameter before readonly input | 136/136 instructions; structural/exact differences (31, 93)
|
||||
TMCJPEGDEC_IdctBlock4x4 | R5 row helper coefficient locals before butterfly state | 136/136 instructions; structural/exact differences (31, 93)
|
||||
TMCJPEGDEC_IdctBlock4x4_Col | R5 common row helper with named butterfly intermediates | 137/137 instructions; structural/exact differences (31, 54)
|
||||
TMCJPEGDEC_IdctBlock4x4_Col | R5 row helper output parameter before readonly input | 137/137 instructions; structural/exact differences (31, 54)
|
||||
TMCJPEGDEC_IdctBlock4x4_Col | R5 row helper coefficient locals before butterfly state | 137/137 instructions; structural/exact differences (31, 54)
|
||||
R5 helper probes restored 139/137 instructions; structural/exact differences (33, 134)
|
||||
PFENT_ITER_GetLFNEntryName | R5 directory-name address plus byte offset and byte-length terminator conversion | 76/73 instructions; structural/exact differences (24, 75)
|
||||
R5 integer-address probe restored 73/73 instructions; structural/exact differences (9, 43)
|
||||
TMCJPEGDEC_IdctBlock4x4 | R5 single rotation expression reused in first-row butterfly | 136/136 instructions; structural/exact differences (13, 93)
|
||||
TMCJPEGDEC_IdctBlock4x4 | R5 single rotation with fourth-plus-second sum order | 136/136 instructions; structural/exact differences (13, 93)
|
||||
TMCJPEGDEC_IdctBlock4x4 | R5 single rotation and target first-row output-store order | 136/136 instructions; structural/exact differences (39, 93)
|
||||
R5 luma narrowed rotation restored 136/136 instructions; structural/exact differences (19, 93)
|
||||
R5 IDCT luma single objdiff 90.43459 function 85.161766 136/136 instructions; structural/exact differences (13, 93)
|
||||
R5 IDCT luma single reverse objdiff 90.412415 function 85.088234 136/136 instructions; structural/exact differences (13, 93)
|
||||
R5 IDCT Col shared oddrot objdiff 90.773834 function 83.89781 137/137 instructions; structural/exact differences (31, 48)
|
||||
SOGetInterfaceOpt | R5 command-return helper with option and level ordered by validation lifetime | 119/119 instructions; structural/exact differences (0, 14)
|
||||
R5 SO payload helper restored 119/119 instructions; structural/exact differences (0, 5)
|
||||
R5 luma full local block declaration search: declaration block:
|
||||
s32 bd;
|
||||
s32 d;
|
||||
s32 c;
|
||||
s32 a;
|
||||
s32 b;
|
||||
|
||||
s32* sp;
|
||||
s32* dp;
|
||||
|
||||
s32 tmp[64];
|
||||
s32 i;
|
||||
|
||||
s32 evsum, rot, oddrot, cd;
|
||||
start (19, 93)
|
||||
best (19, 93) after 120 builds; source restored; best order was:
|
||||
s32 bd;
|
||||
s32 d;
|
||||
s32 c;
|
||||
s32 a;
|
||||
s32 b;
|
||||
|
||||
s32* sp;
|
||||
s32* dp;
|
||||
|
||||
s32 tmp[64];
|
||||
s32 i;
|
||||
|
||||
s32 evsum, rot, oddrot, cd;
|
||||
|
||||
R5 Col leading declaration search13 builds no improvement, retained shared oddRotation expressions:137/137 instructions,31 structural48 exact; no new exact function claimed. objdiff83.240875->83.89781.
|
||||
R5 data ownership audit: all seven units already have100% matched_data, owned sections unchanged; SOOption/IDCT have no data, volume210976,iterator24,tiString288,SignWindow3468,MSC424 exact. No symbol rename or extent change made: no name-pairing gap in these units. Weak emitted vtables ignored. All source experiments confined to owned units and restored except reusable IDCT odd-rotation locals.
|
||||
|
||||
R5 completeness audit of every open function, count of distinct successful source attempts this round:
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator: 3 successful distinct source attempts; remains open.
|
||||
inputChar__Q39textinput8tistring9DecolatedFw: 3 successful distinct source attempts; remains open.
|
||||
SOGetInterfaceOpt: 4 successful distinct source attempts; remains open.
|
||||
TMCJPEGDEC_IdctBlock4x4: 12 successful distinct source attempts; remains open.
|
||||
TMCJPEGDEC_IdctBlock4x4_Col: 6 successful distinct source attempts; remains open.
|
||||
PFENT_ITER_FindCluster: 3 successful distinct source attempts; remains open.
|
||||
PFENT_ITER_GetLFNEntryName: 4 successful distinct source attempts; remains open.
|
||||
PFVOL_p_rmvvol: 5 successful distinct source attempts; remains open.
|
||||
PFVOL_attach: 6 successful distinct source attempts; remains open.
|
||||
PFVOL_regctx: 3 successful distinct source attempts; remains open.
|
||||
uhf_msc_blk_pread: 3 successful distinct source attempts; remains open.
|
||||
|
||||
R5 precommit quick gate over all seven owned units: GATE PASS; regressions0, forbidden0, readability0, all pools identical. Retained only column-IDCT shared odd rotations, removes extra saved-register save/restore,139->137 instructions. Exact counts/code bytes/data bytes unchanged.
|
||||
|
||||
R5 final full clean gate is running after code commit650cc87e. No source edits while it builds. Live before-run metrics normalized missing data to0:
|
||||
main/src/keyboard/tiSignWindow: 55/56 exact; code6300/7184; data3468/3468
|
||||
main/src/keyboard/tiString: 41/42 exact; code4632/5176; data288/288
|
||||
main/libs/RevoEX/src/so/SOOption: 3/4 exact; code816/1292; data0/0
|
||||
main/libs/RVLMiddleware/TMC_JPEG/src/reschange/idct_resolution_change_var: 4/6 exact; code712/1804; data0/0
|
||||
main/libs/RVL_SDK/src/fa/pf_entry_iterator: 14/16 exact; code6640/7880; data24/24
|
||||
main/libs/RVL_SDK/src/fa/pf_volume: 34/37 exact; code16732/17992; data210976/210976
|
||||
main/libs/RVL_SDK/src/fa/msc/puh_msc_blk: 10/11 exact; code1556/2072; data424/424
|
||||
|
||||
## Round5 final full clean gate, copied verbatim
|
||||
```
|
||||
full build: ok
|
||||
main.dol sha1: 26116613f624061ba99c8d1a299aaa6efa85670d
|
||||
[libs/RevoEX/src/so/SOOption] pool: IDENTICAL
|
||||
[libs/RevoEX/src/so/SOOption] objdiff: code 816/1292 data None/None functions 3/4 fuzzy 99.9226 linked code 0
|
||||
[libs/RevoEX/src/so/SOOption] instruction-exact functions: 3/4
|
||||
[libs/RevoEX/src/so/SOOption] section .text size 1292 match 99.9226
|
||||
[libs/RevoEX/src/so/SOOption] below 100: SOGetInterfaceOpt 99.78992
|
||||
[libs/RevoEX/src/so/SOOption] baseline: code 816/1292 data None functions 3 fuzzy 99.9226
|
||||
[libs/RVL_SDK/src/fa/pf_volume] pool: IDENTICAL
|
||||
[libs/RVL_SDK/src/fa/pf_volume] objdiff: code 16732/17992 data 210976/210976 functions 34/37 fuzzy 99.8755 linked code 0
|
||||
[libs/RVL_SDK/src/fa/pf_volume] instruction-exact functions: 34/37
|
||||
[libs/RVL_SDK/src/fa/pf_volume] section .bss size 210944 match 100.0
|
||||
[libs/RVL_SDK/src/fa/pf_volume] section .data size 16 match 100.0
|
||||
[libs/RVL_SDK/src/fa/pf_volume] section .sdata size 8 match 100.0
|
||||
[libs/RVL_SDK/src/fa/pf_volume] section .sdata2 size 8 match 100.0
|
||||
[libs/RVL_SDK/src/fa/pf_volume] section .text size 17992 match 99.8755
|
||||
[libs/RVL_SDK/src/fa/pf_volume] below 100: PFVOL_p_rmvvol 95.9375
|
||||
[libs/RVL_SDK/src/fa/pf_volume] below 100: PFVOL_attach 98.72159
|
||||
[libs/RVL_SDK/src/fa/pf_volume] below 100: PFVOL_regctx 99.0
|
||||
[libs/RVL_SDK/src/fa/pf_volume] baseline: code 16732/17992 data 210976 functions 34 fuzzy 99.8755
|
||||
[libs/RVL_SDK/src/fa/pf_entry_iterator] pool: IDENTICAL
|
||||
[libs/RVL_SDK/src/fa/pf_entry_iterator] objdiff: code 6640/7880 data 24/24 functions 14/16 fuzzy 99.6264 linked code 0
|
||||
[libs/RVL_SDK/src/fa/pf_entry_iterator] instruction-exact functions: 14/16
|
||||
[libs/RVL_SDK/src/fa/pf_entry_iterator] section .sdata size 24 match 100.0
|
||||
[libs/RVL_SDK/src/fa/pf_entry_iterator] section .text size 7880 match 99.626396
|
||||
[libs/RVL_SDK/src/fa/pf_entry_iterator] below 100: PFENT_ITER_FindCluster 99.81013
|
||||
[libs/RVL_SDK/src/fa/pf_entry_iterator] below 100: PFENT_ITER_GetLFNEntryName 90.53425
|
||||
[libs/RVL_SDK/src/fa/pf_entry_iterator] baseline: code 6640/7880 data 24 functions 14 fuzzy 99.6264
|
||||
[src/keyboard/tiString] pool: IDENTICAL
|
||||
[src/keyboard/tiString] objdiff: code 4632/5176 data 288/288 functions 41/42 fuzzy 98.9629 linked code 0
|
||||
[src/keyboard/tiString] instruction-exact functions: 41/42
|
||||
[src/keyboard/tiString] section .data size 288 match 100.0
|
||||
[src/keyboard/tiString] section .text size 5176 match 98.962906
|
||||
[src/keyboard/tiString] below 100: inputChar__Q39textinput8tistring9DecolatedFw 90.132355
|
||||
[src/keyboard/tiString] baseline: code 4632/5176 data 288 functions 41 fuzzy 98.9629
|
||||
[src/keyboard/tiSignWindow] pool: IDENTICAL
|
||||
[src/keyboard/tiSignWindow] objdiff: code 6300/7184 data 3468/3468 functions 55/56 fuzzy 99.8914 linked code 0
|
||||
[src/keyboard/tiSignWindow] instruction-exact functions: 55/56
|
||||
[src/keyboard/tiSignWindow] section .ctors size 4 match 100.0
|
||||
[src/keyboard/tiSignWindow] section .data size 2672 match 100.0
|
||||
[src/keyboard/tiSignWindow] section .rodata size 784 match 100.0
|
||||
[src/keyboard/tiSignWindow] section .sdata size 8 match 100.0
|
||||
[src/keyboard/tiSignWindow] section .text size 7184 match 99.891426
|
||||
[src/keyboard/tiSignWindow] below 100: create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator 99.117645
|
||||
[src/keyboard/tiSignWindow] baseline: code 6300/7184 data 3468 functions 55 fuzzy 99.8914
|
||||
[libs/RVL_SDK/src/fa/msc/puh_msc_blk] pool: IDENTICAL
|
||||
[libs/RVL_SDK/src/fa/msc/puh_msc_blk] objdiff: code 1556/2072 data 424/424 functions 10/11 fuzzy 99.8938 linked code 0
|
||||
[libs/RVL_SDK/src/fa/msc/puh_msc_blk] instruction-exact functions: 10/11
|
||||
[libs/RVL_SDK/src/fa/msc/puh_msc_blk] section .bss size 384 match 100.0
|
||||
[libs/RVL_SDK/src/fa/msc/puh_msc_blk] section .data size 32 match 100.0
|
||||
[libs/RVL_SDK/src/fa/msc/puh_msc_blk] section .sbss size 8 match 100.0
|
||||
[libs/RVL_SDK/src/fa/msc/puh_msc_blk] section .text size 2072 match 99.89382
|
||||
[libs/RVL_SDK/src/fa/msc/puh_msc_blk] below 100: uhf_msc_blk_pread 99.57365
|
||||
[libs/RVL_SDK/src/fa/msc/puh_msc_blk] baseline: code 1556/2072 data 424 functions 10 fuzzy 99.8938
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/reschange/idct_resolution_change_var] pool: IDENTICAL
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/reschange/idct_resolution_change_var] objdiff: code 712/1804 data None/None functions 4/6 fuzzy 90.7738 linked code 0
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/reschange/idct_resolution_change_var] instruction-exact functions: 4/6
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/reschange/idct_resolution_change_var] section .text size 1804 match 90.773834
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/reschange/idct_resolution_change_var] below 100: TMCJPEGDEC_IdctBlock4x4 85.625
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/reschange/idct_resolution_change_var] below 100: TMCJPEGDEC_IdctBlock4x4_Col 83.89781
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/reschange/idct_resolution_change_var] baseline: code 712/1804 data None functions 4 fuzzy 90.5743
|
||||
regressions vs baseline: 0
|
||||
global matched_code_percent: 88.92459 -> 88.92459
|
||||
global fuzzy_match_percent: 99.48913 -> 99.48926
|
||||
global complete_code_percent: 65.19670 -> 65.19670
|
||||
global matched_data_percent: 99.06781 -> 99.06781
|
||||
forbidden patterns added (net, per file): 0
|
||||
readability warnings (net, per file; must be 0 in the final result): 0
|
||||
GATE PASS
|
||||
```
|
||||
|
||||
Round5 exact functions, matched code bytes, matched data bytes before -> after:
|
||||
libs/RevoEX/src/so/SOOption: functions 3/4 -> 3/4; code 816 -> 816/1292; data 0 -> 0/0
|
||||
libs/RVL_SDK/src/fa/pf_volume: functions 34/37 -> 34/37; code 16732 -> 16732/17992; data 210976 -> 210976/210976
|
||||
libs/RVL_SDK/src/fa/pf_entry_iterator: functions 14/16 -> 14/16; code 6640 -> 6640/7880; data 24 -> 24/24
|
||||
src/keyboard/tiString: functions 41/42 -> 41/42; code 4632 -> 4632/5176; data 288 -> 288/288
|
||||
src/keyboard/tiSignWindow: functions 55/56 -> 55/56; code 6300 -> 6300/7184; data 3468 -> 3468/3468
|
||||
libs/RVL_SDK/src/fa/msc/puh_msc_blk: functions 10/11 -> 10/11; code 1556 -> 1556/2072; data 424 -> 424/424
|
||||
libs/RVLMiddleware/TMC_JPEG/src/reschange/idct_resolution_change_var: functions 4/6 -> 4/6; code 712 -> 712/1804; data 0 -> 0/0
|
||||
|
||||
Round5 every remaining open function relisted after final clean build:
|
||||
SOGetInterfaceOpt: 99.78992%; five parameter-register coloring differences; frame/branches/instruction count exact; 4 distinct successful source attempts.
|
||||
PFVOL_p_rmvvol: 95.9375%; constant scalar folds to li; target loads byte initializer template; aggregate exact-code variants need different data and were rejected; 5 distinct successful source attempts.
|
||||
PFVOL_attach: 98.72159%; inline clear_mount result boundary removes two target instructions; success status materialization unresolved; 6 distinct successful source attempts.
|
||||
PFVOL_regctx: 99.0%; 15 free-index/status register-color differences in unrolled loop; 3 distinct successful source attempts.
|
||||
PFENT_ITER_FindCluster: 99.81013%; eight constant-one/entries-per-sector register-color differences; 3 distinct successful source attempts.
|
||||
PFENT_ITER_GetLFNEntryName: 90.53425%; target byte-offset loop versus source pointer induction, plus terminator multiply/clear-bit form; 4 distinct successful source attempts.
|
||||
inputChar__Q39textinput8tistring9DecolatedFw: 90.132355%; Hangul conversion helper boundary folds dynamic append and count;125/136 instructions; 3 distinct successful source attempts.
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator: 99.117645%; 34 hoisted vtable/constants and animation-loop register-color differences; 3 distinct successful source attempts.
|
||||
uhf_msc_blk_pread: 99.57365%; 10 transfer-count/product register-color differences; 3 distinct successful source attempts.
|
||||
TMCJPEGDEC_IdctBlock4x4: 85.625%; row scheduling/store order and operands;136/136 instructions,19 structural93 exact differences; 12 distinct successful source attempts.
|
||||
TMCJPEGDEC_IdctBlock4x4_Col: 83.89781%; row scheduling/operand order;137/137 instructions,31 structural48 exact differences; 6 distinct successful source attempts.
|
||||
|
||||
Files changed: libs/RVLMiddleware/TMC_JPEG/src/reschange/idct_resolution_change_var.c and tools/decomp-assist/fz3.attempts.md; code commit650cc87e. No symbol/config changes, no unowned eZiText changes. Zero new exact functions; retained one honest fuzzy improvement: Col83.240875->83.89781 and139->137 instructions. Full gatePASS, regressions0, forbidden0, readability0; target DOL SHA1 unchanged.
|
||||
Uncertain: original Hangul converter/helper structure, clear_mount inline result materialization, IDCT source scheduling, and whether pure register differences have another real source lever. No full-completion claim.
|
||||
|
||||
# Round6 XHIGH, same branch HEAD98cb7171. Each trial logs first differing instruction and source construct, with original always restored until accepted by gate.
|
||||
SOGetInterfaceOpt first difference instruction5: parameter level moved to r25, targetr26. Register allocation class;119/119 frame0x30 branches operands/helper calls identical. Change full option-helper formal parameter lifetime ordering before declaration-only searches.
|
||||
SOGetInterfaceOpt | R6 full helper with option level length value lifetime order | objdiff 98.32773; 119/119 instructions; structural/exact (4, 42); first (5, ('mr', 'r27, r4'), ('mr', 'r26, r4'))
|
||||
SOGetInterfaceOpt | R6 full helper option before level with unchanged output arguments | objdiff 98.32773; 119/119 instructions; structural/exact (4, 42); first (5, ('mr', 'r27, r4'), ('mr', 'r26, r4'))
|
||||
SOGetInterfaceOpt | R6 initialize request-state locals before preparation | objdiff 99.78992; 119/119 instructions; structural/exact (0, 5); first (5, ('mr', 'r25, r4'), ('mr', 'r26, r4'))
|
||||
SOGetInterfaceOpt | R6 retain option parameter until reply pointer initialization | objdiff 99.78992; 119/119 instructions; structural/exact (0, 5); first (5, ('mr', 'r25, r4'), ('mr', 'r26, r4'))
|
||||
SOGetInterfaceOpt | R6 option command store before level at reply setup boundary | objdiff 99.85714; 119/119 instructions; structural/exact (2, 3); first (5, ('mr', 'r28, r4'), ('mr', 'r26, r4'))
|
||||
SOGetInterfaceOpt | R6 option store precedes level before both reply pointer declarations | objdiff 99.85714; 119/119 instructions; structural/exact (2, 3); first (5, ('mr', 'r28, r4'), ('mr', 'r26, r4'))
|
||||
SOGetInterfaceOpt | R6 selection state fields initialized option before level but command stores in target order | objdiff 99.78992; 119/119 instructions; structural/exact (0, 5); first (5, ('mr', 'r25, r4'), ('mr', 'r26, r4'))
|
||||
SOGetInterfaceOpt | R6 typed command-header aggregate assignment retains8byte command extent | BUILD FAIL /src/so && "/usr/bin/python3" tools/transform_dep.py build/43U/src/libs/RevoEX/src/so/SOOption.d build/43U/src/libs/RevoEX/src/so/SOOption.d ### mwcceppc.exe Compiler: # File: libs\RevoEX\src\so\SOOption.c # -------------------------------------- # 119: InterfaceHeader header = {level, option}; # Error: ^ # (10124) illegal constant expression # Too many errors printed, aborting program User break, cancelled... ninja: build stopped: subcommand failed.
|
||||
SOGetInterfaceOpt | R6 typed command-header copy with C89 field initialization | objdiff 98.0084; 121/119 instructions; structural/exact (12, 82); first (0, ('stwu', 'r1, -0x40(r1)'), ('stwu', 'r1, -0x30(r1)'))
|
||||
SOGetInterfaceOpt | R6 command and response phases share typed local length and reply union state | objdiff 98.23529; 119/119 instructions; structural/exact (0, 41); first (5, ('mr', 'r27, r4'), ('mr', 'r26, r4'))
|
||||
SOGetInterfaceOpt | R6 length validator defined after get implementation using forward declaration | objdiff 99.78992; 119/119 instructions; structural/exact (0, 5); first (5, ('mr', 'r25, r4'), ('mr', 'r26, r4'))
|
||||
SOGetInterfaceOpt | R6 distinct preparation status and operation result lifetimes | objdiff 99.78992; 119/119 instructions; structural/exact (0, 5); first (5, ('mr', 'r25, r4'), ('mr', 'r26, r4'))
|
||||
SOGetInterfaceOpt | R6 separate ioctl result from public API return result | objdiff 99.78992; 119/119 instructions; structural/exact (0, 5); first (5, ('mr', 'r25, r4'), ('mr', 'r26, r4'))
|
||||
SOGetInterfaceOpt | R6 typed response state stores length pointer before data pointer | objdiff 98.94958; 119/119 instructions; structural/exact (0, 24); first (5, ('mr', 'r28, r4'), ('mr', 'r26, r4'))
|
||||
SOGetInterfaceOpt | R6 typed response state stores data pointer before length pointer | objdiff 98.94958; 119/119 instructions; structural/exact (0, 24); first (5, ('mr', 'r28, r4'), ('mr', 'r26, r4'))
|
||||
SOGetInterfaceOpt | R6 command and returned-length pointers grouped as IPC input state | objdiff 99.07563; 119/119 instructions; structural/exact (0, 22); first (5, ('mr', 'r25, r4'), ('mr', 'r26, r4'))
|
||||
SOGetInterfaceOpt | R6 allocation request and response-buffer pointer in shared state record | objdiff 98.94958; 119/119 instructions; structural/exact (0, 24); first (5, ('mr', 'r25, r4'), ('mr', 'r26, r4'))
|
||||
R6 SOGetInterfaceOpt register-only declaration search after helper/state/lifetime trials: declaration block:
|
||||
s32 rm;
|
||||
int temporary;
|
||||
int size;
|
||||
int result;
|
||||
InterfaceOption* request;
|
||||
InterfaceCommand* command;
|
||||
int* returnedLength;
|
||||
u8* reply;
|
||||
start (0, 5)
|
||||
best (0, 5) after 30 builds; source restored; best order was:
|
||||
s32 rm;
|
||||
int temporary;
|
||||
int size;
|
||||
int result;
|
||||
InterfaceOption* request;
|
||||
InterfaceCommand* command;
|
||||
int* returnedLength;
|
||||
u8* reply;
|
||||
|
||||
R6 PFVOL_p_rmvvol first difference instruction3: source li r0,0xe5 before root pointer setup; target addi r4,r1,0x2b0 then SDA lbz at6. Initialization construct folded scalar versus aggregate byte template;64/64 frame0x500. Source on origin/main identical. Inspect real template type/extents, do not add padding or unused objects.
|
||||
PFVOL_p_rmvvol | R6 ordinary memcpy of named marker byte allows builtin constant-size copy | objdiff 89.375; 67/64 instructions; structural/exact (7, 63); first (2, ('li', 'r4, 0'), ('stw', 'r0, 0x504(r1)'))
|
||||
R6 deleted marker data evidence: target .sdata2 aligned8, sole extent8 contains E5 followed7zeros, only code relocation lbz readsbyte0 and PFSEC_WriteData count1. A local one-byte initializer proves compiled template1 but does not independently prove original object1 rather than array8; no extent edits retained without full pairing proof/gate.
|
||||
PFVOL_p_rmvvol | R6 explicit byte view of named readonly marker before root lookup | objdiff 93.75; 64/64 instructions; structural/exact (2, 3); first (4, ('lbz', 'r0, 0(0)'), ('stw', 'r31, 0x4fc(r1)'))
|
||||
PFVOL_p_rmvvol | R6 readonly marker byte view in scalar declaration initializer | objdiff 93.75; 64/64 instructions; structural/exact (2, 3); first (4, ('lbz', 'r0, 0(0)'), ('stw', 'r31, 0x4fc(r1)'))
|
||||
R6 marker byte-view cast generates actual SDA lbz without volatile or new data. Target and ours now both load the same8-byte E5/zero marker through one-byte access; target object lbl_816959A0 vs real source deleted_entry_mark may require permitted name pairing. Investigate relocation names before changing config.
|
||||
PFVOL_p_rmvvol | R6 typed deleted directory-byte field copied through readonly marker view | objdiff 93.75; 64/64 instructions; structural/exact (2, 3); first (4, ('lbz', 'r0, 0(0)'), ('stw', 'r31, 0x4fc(r1)'))
|
||||
PFVOL_p_rmvvol | R6 one-byte directory-mark aggregate copy initialized from named readonly data | objdiff 93.75; 64/64 instructions; structural/exact (2, 3); first (4, ('lbz', 'r0, 0(0)'), ('stw', 'r31, 0x4fc(r1)'))
|
||||
PFVOL_p_rmvvol | R6 natural one-byte local initializer with obsolete8byte constant removed | objdiff 100.0; 64/64 instructions; structural/exact (0, 0); first None
|
||||
EXACT CANDIDATE /tmp/fz3-r6-candidates/PFVOL_p_rmvvol_natural_one_byte_local_initializer_with_obsolete8byte_constant_removed.txt
|
||||
R6 natural local deleted[1]={0xE5} proves byte-template initialization and target64/64 instructions exact. Code100%; original8byte global removed, section may have7 alignment bytes. Testing authorized symbol extent correction only, no addresses or split/section totals will change. Proof: PFVOL_p_rmvvol sole SDA21 relocation lbz reads one byte, stores to stack byte8, WriteData pointer stack8 count1; natural type u8[1] and target next unit alignment8 account for trailing7zero bytes.
|
||||
R6 ACCEPTED data extent proof: PFVOL_p_rmvvol relocation SDA21 at offset0x7a8 reads1 byte of lbl_816959A0; stack byte8 is passed to PFSEC_WriteData count1; local u8[1] initializer compiles identical64 instructions. Correct object extent8->1 at same0x816959A0, leave7 alignment zeros unowned; split .sdata2 remains8 bytes and unit data210976/210976 unchanged. No address or section-total edits.
|
||||
R6 PFVOL_p_rmvvol exact100%, ctxdiff64/64 diffs0, pool identical; volume34/37->35/37, matched code16732->16988/17992; quick full-build gatePASS, regressions0/forbidden0/readability0, DOL SHA1 correct.
|
||||
R6 PFVOL_attach first difference35 is exit branch displacement524 vs532, caused by missing inline return-materialization instructions. First semantic difference142 beq8 vs12, then missing mr r0,r3. Frame0x20 correct, data/pool exact; change attach-only status conversion and helper completion boundary; shared clear_mount consumers must stay exact.
|
||||
PFVOL_attach | R6 native-int attach mount status converts signed-long inline return | objdiff 98.72159; 174/176 instructions; structural/exact (10, 39); first (35, ('b', '524'), ('b', '532'))
|
||||
PFVOL_attach | R6 unsigned attach-status view of inline mount result | objdiff 98.72159; 174/176 instructions; structural/exact (10, 39); first (35, ('b', '524'), ('b', '532'))
|
||||
PFVOL_attach | R6 auto-inline attach-only mount helper preserves returned status boundary | objdiff 98.72159; 174/176 instructions; structural/exact (10, 39); first (35, ('b', '524'), ('b', '532'))
|
||||
PFVOL_attach | R6 auto inline clear_mount boundary | objdiff 98.72159; 174/176 instructions; structural/exact (10, 39); first (35, ('b', '524'), ('b', '532'))
|
||||
PFVOL_attach | R6 single joined mount status after success branch | objdiff 95.142044; 176/176 instructions; structural/exact (10, 22); first (134, ('li', 'r31, 0'), ('ori', 'r0, r0, 0x10'))
|
||||
PFVOL_regctx | R6 fresh origin/main unchanged function; first difference16 free_context_index r5 versus targetr8; frame0x10 and75instructions identical, unrolled-loop stat r8 versus targetr5. Structural diagnosis complete; declaration/temporary experiments next.
|
||||
PFVOL_regctx | R6 context id and free slot state | objdiff 80.36; 83/75 instructions; structural/exact (27, 71); first (12, ('b', '268'), ('b', '236'))
|
||||
PFVOL_regctx | R6 unsigned free slot and signed status temporary | objdiff 99.0; 75/75 instructions; structural/exact (0, 15); first (16, ('li', 'r5, 0'), ('li', 'r8, 0'))
|
||||
PFVOL_regctx | R6 explicit continue after selecting free context | objdiff 99.0; 75/75 instructions; structural/exact (0, 15); first (16, ('li', 'r5, 0'), ('li', 'r8, 0'))
|
||||
PFENT_ITER_FindCluster | R6 origin/main source unchanged; pool identical; first39 li r7,1 vs targetr8,1, with8pure operand diffs/237instructions/frame0xA0; constantone and entries_per_sector interference. Structural initialization boundaries examined before declsearch.
|
||||
PFENT_ITER_FindCluster | R6 initialize FAT hint before iterator fields | objdiff 95.43882; 237/237 instructions; structural/exact (8, 50); first (2, ('li', 'r8, 0'), ('li', 'r6, 0'))
|
||||
PFENT_ITER_FindCluster | R6 inline iterator setup with returned entry count | BUILD FAIL s/RVL_SDK/src/fa && "/usr/bin/python3" tools/transform_dep.py build/43U/src/libs/RVL_SDK/src/fa/pf_entry_iterator.d build/43U/src/libs/RVL_SDK/src/fa/pf_entry_iterator.d ### mwcceppc.exe Compiler: # File: libs\RVL_SDK\src\fa\pf_entry_iterator.c # ------------------------------------------------ # 500: pf_u32 entries_per_sector = 1 << iter->log2_entries_per_sector; # Error: ^^^^^^ # (10141) expression syntax error # Too many errors printed, aborting program User break, cancelled... ninja: build stopped: subcommand failed.
|
||||
PFENT_ITER_FindCluster | R6 C89 inline iterator setup and returned entry count | objdiff 99.81013; 237/237 instructions; structural/exact (0, 8); first (39, ('li', 'r7, 1'), ('li', 'r8, 1'))
|
||||
PFENT_ITER_FindCluster | R6 entry geometry state shares first cluster constant | BUILD FAIL ld/43U/src/libs/RVL_SDK/src/fa/pf_entry_iterator.d build/43U/src/libs/RVL_SDK/src/fa/pf_entry_iterator.d ### mwcceppc.exe Compiler: # File: libs\RVL_SDK\src\fa\pf_entry_iterator.c # ------------------------------------------------ # 513: iter.log2_geometry.entries = p_ent->p_vol->bpb.log2_bytes_per_sector - 5; # Error: ^ # (10393) 'log2_geometry' is not a member of class 'struct PFITER_ENT_ITER' # Too many errors printed, aborting program User break, cancelled... ninja: build stopped: subcommand failed.
|
||||
PFENT_ITER_FindCluster | R6 typed entry geometry shares first cluster constant | objdiff 99.81013; 237/237 instructions; structural/exact (0, 8); first (39, ('li', 'r7, 1'), ('li', 'r8, 1'))
|
||||
PFENT_ITER_GetLFNEntryName | R6 fresh fetch and source check; first13 pointer induction mr r31,r28 versus target zero fragment counter r29. Both73/frame0x30; target keeps byteoffset, calculates destination atloop44, reloadsLFNcount and terminates count*26 masked even. Need fragment-address/terminator constructs, not register edits.
|
||||
PFENT_ITER_GetLFNEntryName | R6 byteoffset destination and count-derived terminator | objdiff 79.328766; 76/73 instructions; structural/exact (24, 75); first (0, ('stwu', 'r1, -0x20(r1)'), ('stwu', 'r1, -0x30(r1)'))
|
||||
PFENT_ITER_GetLFNEntryName | R6 fragment inline helper returns byteoffset | objdiff 99.246574; 73/73 instructions; structural/exact (0, 8); first (14, ('li', 'r30, 0'), ('li', 'r31, 0'))
|
||||
PFENT_ITER_GetLFNEntryName | R6 fragment helper counter initializes before offset | objdiff 99.178085; 73/73 instructions; structural/exact (0, 9); first (13, ('li', 'r30, 0'), ('li', 'r29, 0'))
|
||||
PFENT_ITER_GetLFNEntryName | R6 fragment helper progress fields counter then offset | objdiff 99.38356; 73/73 instructions; structural/exact (0, 7); first (13, ('li', 'r30, 0'), ('li', 'r29, 0'))
|
||||
PFENT_ITER_GetLFNEntryName | R6 fragment progress offset then counter | objdiff 99.38356; 73/73 instructions; structural/exact (0, 7); first (13, ('li', 'r30, 0'), ('li', 'r29, 0'))
|
||||
PFENT_ITER_GetLFNEntryName | R6 fragment helper offset parameter first | objdiff 99.246574; 73/73 instructions; structural/exact (0, 8); first (14, ('li', 'r30, 0'), ('li', 'r31, 0'))
|
||||
PFENT_ITER_GetLFNEntryName | R6 fragment helper updates byteoffset by pointer | objdiff 79.328766; 76/73 instructions; structural/exact (24, 75); first (0, ('stwu', 'r1, -0x20(r1)'), ('stwu', 'r1, -0x30(r1)'))
|
||||
PFENT_ITER_GetLFNEntryName | R6 fragment helper uses UTF16 destination type | objdiff 99.246574; 73/73 instructions; structural/exact (0, 8); first (14, ('li', 'r30, 0'), ('li', 'r31, 0'))
|
||||
PFENT_ITER_GetLFNEntryName | R6 retained ordinary inline fragment copy returning byteoffset, count-derived terminator; source73 target73, structural0, remaining7 registeroperand differences. declsearch6builds moved declaration index beforecounter, best7; no artificial fields retained.
|
||||
PFENT_ITER_GetLFNEntryName | R6 quick gate PASS:99.38356 vs90.53425;14/16 exact unchanged, code6640/7880 data24/24, global regressions0 forbidden0 readability0 DOL26116613f624061ba99c8d1a299aaa6efa85670d. Retain structural correction with7 registerdifferences for future escalation.
|
||||
inputChar__Q39textinput8tistring9DecolatedFw | R6 fresh origin source unchanged poolidentical; first10 branch extent corresponds125vs136/frame0x30; true firstconstruct65 mode3 lacks inlined dynamiccount append, initialNUL, ch==newline comparison. Count truncation also foldedaway; do generic builder helper experiments, no invented newline stub.
|
||||
inputChar__Q39textinput8tistring9DecolatedFw | R6 two inline builder boundaries return input length | objdiff 90.132355; 125/136 instructions; structural/exact (18, 73); first (10, ('beq', '428'), ('beq', '472'))
|
||||
inputChar__Q39textinput8tistring9DecolatedFw | R6 inline append length by C++ reference | objdiff 90.132355; 125/136 instructions; structural/exact (18, 73); first (10, ('beq', '428'), ('beq', '472'))
|
||||
inputChar__Q39textinput8tistring9DecolatedFw | R6 input builder constructor append finish method boundaries | objdiff 90.757355; 126/136 instructions; structural/exact (17, 73); first (10, ('beq', '432'), ('beq', '472'))
|
||||
inputChar__Q39textinput8tistring9DecolatedFw | R6 out of class auto inline input builder methods | objdiff 90.757355; 126/136 instructions; structural/exact (17, 73); first (10, ('beq', '432'), ('beq', '472'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R6 fresh origin source unchanged pool30identical; first48 vtablelisr26 vstarget25;221instructions/frame0x50 and34operandonly differences. Hoistedconstructor vtables and animationCount/animationentry lifetimes interfere; try animation inline boundary.
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R6 animation resource setup in independent inline helper | objdiff 90.22172; 223/221 instructions; structural/exact (45, 158); first (48, ('lis', 'r27, 0'), ('lis', 'r25, 0'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R6 animation inline helper retains owner field reloads | objdiff 97.714935; 221/221 instructions; structural/exact (0, 73); first (48, ('lis', 'r26, 0'), ('lis', 'r25, 0'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R6 pane descriptor pointer instead of reference lifetime | objdiff 99.117645; 221/221 instructions; structural/exact (0, 34); first (48, ('lis', 'r26, 0'), ('lis', 'r25, 0'))
|
||||
uhf_msc_blk_pread | R6 fresh fetch source unchanged poolidentical; first75 clrlwi transfer_blocks r25 vstarget27, productr27 vstarget25;129instructions/frame0x40 and10operand-only differences. Try transfer selection inline boundary and actual read transfer descriptor, then declarations.
|
||||
uhf_msc_blk_pread | R6 inline transfer limit selection returns u16 | objdiff 99.612404; 129/129 instructions; structural/exact (0, 10); first (26, ('li', 'r25, 0'), ('li', 'r26, 0'))
|
||||
uhf_msc_blk_pread | R6 inline selection returns full count caller narrows | objdiff 98.21706; 130/129 instructions; structural/exact (9, 59); first (18, ('b', '424'), ('b', '420'))
|
||||
uhf_msc_blk_pread | R6 read descriptor combines selected device and transfer count | objdiff 100.0; 129/129 instructions; structural/exact (0, 0); first None
|
||||
EXACT CANDIDATE /tmp/fz3-r6-candidates/uhf_msc_blk_pread_read_descriptor_combines_selected_device_and_transfer_count.txt
|
||||
uhf_msc_blk_pread | R6 exact candidate: inline u16 selection fixes count operand at75; ordinary read descriptor {device,blocks} fixes device/product live-range ordering.129/129 instructions0 structural0 operands; no dummy objects, pwrite unchanged.
|
||||
TMCJPEGDEC_IdctBlock4x4 | R6 fresh origin/main function unchanged, poolidentical; first2 addi sp=r3 versus targetr8;136/frame0x120 identical but19instruction-form and93operanddifferences. Reused input/temporary pointers allow parameter coalescing; separate row/column pass scopes before operand tuning.
|
||||
uhf_msc_blk_pread | R6 quick GATE PASS:11/11 vs10/11, code2072/2072 vs1556/2072 data424/424 unchanged, unitall100. Globalregressions0 forbidden0 readability0, ctxdiff129/129diffs0, DOL26116613f624061ba99c8d1a299aaa6efa85670d.
|
||||
TMCJPEGDEC_IdctBlock4x4 | R6 distinct row and column pointer scopes | objdiff 85.84559; 136/136 instructions; structural/exact (19, 89); first (2, ('addi', 'r3, r3, 0x60'), ('addi', 'r8, r3, 0x60'))
|
||||
TMCJPEGDEC_IdctBlock4x4 | R6 IDCT pass descriptor pairs source and temporary pointers | objdiff 85.77206; 136/136 instructions; structural/exact (19, 93); first (2, ('addi', 'r7, r3, 0x60'), ('addi', 'r8, r3, 0x60'))
|
||||
TMCJPEGDEC_IdctBlock4x4 | R6 pass descriptor includes transform loop index | objdiff 85.77206; 136/136 instructions; structural/exact (19, 93); first (2, ('addi', 'r7, r3, 0x60'), ('addi', 'r8, r3, 0x60'))
|
||||
TMCJPEGDEC_IdctBlock4x4 | R6 target order row stores and reusable even differences | objdiff 81.81618; 136/136 instructions; structural/exact (20, 93); first (2, ('addi', 'r3, r3, 0x60'), ('addi', 'r8, r3, 0x60'))
|
||||
TMCJPEGDEC_IdctBlock4x4_Col | R6 fresh origin source differs onlyaccepted oddrot commontemps fromHIGH; poolidentical; actual first8 lwz b r5 vstarget10, pointers7/8alreadymatch,137/frame0x120;31formdiffs/48operands, arithmeticload/store scheduling plus b/c/rot registerswap. Separate pass and row coefficients next.
|
||||
TMCJPEGDEC_IdctBlock4x4_Col | R6 independent row and column source pointer scopes | objdiff 83.38686; 137/137 instructions; structural/exact (31, 54); first (8, ('lwz', 'r5, 4(r7)'), ('lwz', 'r10, 4(r7)'))
|
||||
TMCJPEGDEC_IdctBlock4x4_Col | R6 shared coefficient temporaries row store sequence operand d+b | objdiff 78.948906; 135/137 instructions; structural/exact (47, 136); first (0, ('stwu', 'r1, -0x110(r1)'), ('stwu', 'r1, -0x120(r1)'))
|
||||
TMCJPEGDEC_IdctBlock4x4_Col | R6 inline four-point helper returns arithmetic terms struct | objdiff 74.07299; 155/137 instructions; structural/exact (58, 154); first (0, ('stwu', 'r1, -0x160(r1)'), ('stwu', 'r1, -0x120(r1)'))
|
||||
PFENT_ITER_GetLFNEntryName | R6 fragment helper computes next offset before copies | objdiff 99.38356; 73/73 instructions; structural/exact (0, 7); first (13, ('li', 'r30, 0'), ('li', 'r29, 0'))
|
||||
PFENT_ITER_GetLFNEntryName | R6 fragment position and read status state | objdiff 99.38356; 73/73 instructions; structural/exact (0, 7); first (13, ('li', 'r30, 0'), ('li', 'r29, 0'))
|
||||
PFENT_ITER_GetLFNEntryName | R6 reordered counter initialization after declaration search | objdiff 99.45206; 73/73 instructions; structural/exact (0, 6); first (14, ('li', 'r30, 0'), ('li', 'r31, 0'))
|
||||
PFENT_ITER_GetLFNEntryName | R6 fragment helper accepts caller computed destination | objdiff 99.45206; 73/73 instructions; structural/exact (0, 6); first (14, ('li', 'r30, 0'), ('li', 'r31, 0'))
|
||||
PFENT_ITER_GetLFNEntryName | R6 copy helper fragment destination and byte offset state | objdiff 99.45206; 73/73 instructions; structural/exact (0, 6); first (14, ('li', 'r30, 0'), ('li', 'r31, 0'))
|
||||
PFENT_ITER_GetLFNEntryName | R6 caller scoped fragment destination temporary | objdiff 99.45206; 73/73 instructions; structural/exact (0, 6); first (14, ('li', 'r30, 0'), ('li', 'r31, 0'))
|
||||
PFENT_ITER_GetLFNEntryName | R6 caller destination lifetime plus searched declaration order | objdiff 100.0; 73/73 instructions; structural/exact (0, 0); first None
|
||||
EXACT CANDIDATE /tmp/fz3-r6-candidates/PFENT_ITER_GetLFNEntryName_caller_destination_lifetime_plus_searched_declaration_order.txt
|
||||
PFENT_ITER_GetLFNEntryName | R6 exact: fragment helper accepts computed destination; caller owns destination lifetime; initialization counter before byteoffset; declaration index,destination,counter,error foundby2-builddeclsearch.73/73diffs0 objdiff100. Natural13UTF16/26byte fragment copies and count-derived terminator.
|
||||
R6 declaration followups: SOGetInterfaceOpt30builds remained5, PFVOL_regctx13builds remained15, FindCluster30builds remained8, signcreate6builds remained34. They followed logged structural/source trials; originals restored.
|
||||
PFENT_ITER_GetLFNEntryName | R6 quick GATE PASS:15/16 vs14/16, code6932/7880 vs6640/7880 data24/24,0 regressions forbidden readability, DOL26116613f624061ba99c8d1a299aaa6efa85670d.
|
||||
PFENT_ITER_FindCluster | R6 explicit active FAT hint pointer lifetime | objdiff 98.50211; 237/237 instructions; structural/exact (2, 27); first (2, ('stw', 'r0, 0xa4(r1)'), ('li', 'r6, 0'))
|
||||
PFENT_ITER_FindCluster | R6 iterator file descriptor named pointer temporary | objdiff 99.81013; 237/237 instructions; structural/exact (0, 8); first (39, ('li', 'r7, 1'), ('li', 'r8, 1'))
|
||||
SOGetInterfaceOpt | R6 response header couples level and returned length pointer | objdiff 99.07563; 119/119 instructions; structural/exact (0, 22); first (5, ('mr', 'r25, r4'), ('mr', 'r26, r4'))
|
||||
SOGetInterfaceOpt | R6 option payload state holds selector and returned byte pointer | objdiff 98.94958; 119/119 instructions; structural/exact (0, 24); first (5, ('mr', 'r25, r4'), ('mr', 'r26, r4'))
|
||||
SOGetInterfaceOpt | R6 request descriptor combines header selectors and allocation | objdiff 99.32773; 119/119 instructions; structural/exact (0, 16); first (5, ('mr', 'r25, r4'), ('mr', 'r26, r4'))
|
||||
SOGetInterfaceOpt | R6 inline header stores with selector parameter before level | objdiff 99.78992; 119/119 instructions; structural/exact (0, 5); first (5, ('mr', 'r25, r4'), ('mr', 'r26, r4'))
|
||||
R6 completeness checkpoint: three new exact functions PFVOL_p_rmvvol, uhf_msc_blk_pread, PFENT_ITER_GetLFNEntryName are committed after quick gate PASS. All remaining functions have >=3 distinct successfully compiled R6 source trials; SO19, attach5, regctx3, FindCluster5+, input4, sign3, IDCT4/3. SO/pfvol/string/sign/IDCT rejected candidates restored; no eZiText edits. Data audit ownedunits: all target datascores100, only proven1byte deletion marker extent correction retained; weak duplicated symbols ignored.
|
||||
|
||||
## R6 final full clean gate and completeness audit
|
||||
main.dol sha1: 26116613f624061ba99c8d1a299aaa6efa85670d
|
||||
[libs/RevoEX/src/so/SOOption] pool: IDENTICAL
|
||||
[libs/RevoEX/src/so/SOOption] objdiff: code 816/1292 data None/None functions 3/4 fuzzy 99.9226 linked code 0
|
||||
[libs/RevoEX/src/so/SOOption] instruction-exact functions: 3/4
|
||||
[libs/RevoEX/src/so/SOOption] section .text size 1292 match 99.9226
|
||||
[libs/RevoEX/src/so/SOOption] below 100: SOGetInterfaceOpt 99.78992
|
||||
[libs/RevoEX/src/so/SOOption] baseline: code 816/1292 data None functions 3 fuzzy 99.9226
|
||||
[libs/RVL_SDK/src/fa/pf_volume] pool: IDENTICAL
|
||||
[libs/RVL_SDK/src/fa/pf_volume] objdiff: code 16988/17992 data 210976/210976 functions 35/37 fuzzy 99.9333 linked code 0
|
||||
[libs/RVL_SDK/src/fa/pf_volume] instruction-exact functions: 35/37
|
||||
[libs/RVL_SDK/src/fa/pf_volume] section .bss size 210944 match 100.0
|
||||
[libs/RVL_SDK/src/fa/pf_volume] section .data size 16 match 100.0
|
||||
[libs/RVL_SDK/src/fa/pf_volume] section .sdata size 8 match 100.0
|
||||
[libs/RVL_SDK/src/fa/pf_volume] section .sdata2 size 8 match 100.0
|
||||
[libs/RVL_SDK/src/fa/pf_volume] section .text size 17992 match 99.933304
|
||||
[libs/RVL_SDK/src/fa/pf_volume] below 100: PFVOL_attach 98.72159
|
||||
[libs/RVL_SDK/src/fa/pf_volume] below 100: PFVOL_regctx 99.0
|
||||
[libs/RVL_SDK/src/fa/pf_volume] baseline: code 16732/17992 data 210976 functions 34 fuzzy 99.8755
|
||||
[libs/RVL_SDK/src/fa/pf_entry_iterator] pool: IDENTICAL
|
||||
[libs/RVL_SDK/src/fa/pf_entry_iterator] objdiff: code 6932/7880 data 24/24 functions 15/16 fuzzy 99.9772 linked code 0
|
||||
[libs/RVL_SDK/src/fa/pf_entry_iterator] instruction-exact functions: 15/16
|
||||
[libs/RVL_SDK/src/fa/pf_entry_iterator] section .sdata size 24 match 100.0
|
||||
[libs/RVL_SDK/src/fa/pf_entry_iterator] section .text size 7880 match 99.97716
|
||||
[libs/RVL_SDK/src/fa/pf_entry_iterator] below 100: PFENT_ITER_FindCluster 99.81013
|
||||
[libs/RVL_SDK/src/fa/pf_entry_iterator] baseline: code 6640/7880 data 24 functions 14 fuzzy 99.6264
|
||||
[src/keyboard/tiString] pool: IDENTICAL
|
||||
[src/keyboard/tiString] objdiff: code 4632/5176 data 288/288 functions 41/42 fuzzy 98.9629 linked code 0
|
||||
[src/keyboard/tiString] instruction-exact functions: 41/42
|
||||
[src/keyboard/tiString] section .data size 288 match 100.0
|
||||
[src/keyboard/tiString] section .text size 5176 match 98.962906
|
||||
[src/keyboard/tiString] below 100: inputChar__Q39textinput8tistring9DecolatedFw 90.132355
|
||||
[src/keyboard/tiString] baseline: code 4632/5176 data 288 functions 41 fuzzy 98.9629
|
||||
[src/keyboard/tiSignWindow] pool: IDENTICAL
|
||||
[src/keyboard/tiSignWindow] objdiff: code 6300/7184 data 3468/3468 functions 55/56 fuzzy 99.8914 linked code 0
|
||||
[src/keyboard/tiSignWindow] instruction-exact functions: 55/56
|
||||
[src/keyboard/tiSignWindow] section .ctors size 4 match 100.0
|
||||
[src/keyboard/tiSignWindow] section .data size 2672 match 100.0
|
||||
[src/keyboard/tiSignWindow] section .rodata size 784 match 100.0
|
||||
[src/keyboard/tiSignWindow] section .sdata size 8 match 100.0
|
||||
[src/keyboard/tiSignWindow] section .text size 7184 match 99.891426
|
||||
[src/keyboard/tiSignWindow] below 100: create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator 99.117645
|
||||
[src/keyboard/tiSignWindow] baseline: code 6300/7184 data 3468 functions 55 fuzzy 99.8914
|
||||
[libs/RVL_SDK/src/fa/msc/puh_msc_blk] pool: IDENTICAL
|
||||
[libs/RVL_SDK/src/fa/msc/puh_msc_blk] objdiff: code 2072/2072 data 424/424 functions 11/11 fuzzy 100.0000 linked code 0
|
||||
[libs/RVL_SDK/src/fa/msc/puh_msc_blk] instruction-exact functions: 11/11
|
||||
[libs/RVL_SDK/src/fa/msc/puh_msc_blk] section .bss size 384 match 100.0
|
||||
[libs/RVL_SDK/src/fa/msc/puh_msc_blk] section .data size 32 match 100.0
|
||||
[libs/RVL_SDK/src/fa/msc/puh_msc_blk] section .sbss size 8 match 100.0
|
||||
[libs/RVL_SDK/src/fa/msc/puh_msc_blk] section .text size 2072 match 100.0
|
||||
[libs/RVL_SDK/src/fa/msc/puh_msc_blk] baseline: code 1556/2072 data 424 functions 10 fuzzy 99.8938
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/reschange/idct_resolution_change_var] pool: IDENTICAL
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/reschange/idct_resolution_change_var] objdiff: code 712/1804 data None/None functions 4/6 fuzzy 90.7738 linked code 0
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/reschange/idct_resolution_change_var] instruction-exact functions: 4/6
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/reschange/idct_resolution_change_var] section .text size 1804 match 90.773834
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/reschange/idct_resolution_change_var] below 100: TMCJPEGDEC_IdctBlock4x4 85.625
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/reschange/idct_resolution_change_var] below 100: TMCJPEGDEC_IdctBlock4x4_Col 83.89781
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/reschange/idct_resolution_change_var] baseline: code 712/1804 data None functions 4 fuzzy 90.5743
|
||||
regressions vs baseline: 0
|
||||
forbidden patterns added (net, per file): 0
|
||||
readability warnings (net, per file; must be 0 in the final result): 0
|
||||
GATE PASS
|
||||
libs/RevoEX/src/so/SOOption | R6 before -> after exact 3/4 -> 3/4; objdiff codebytes 816 -> 816/1292; databytes 0 -> 0/0
|
||||
OPEN SOGetInterfaceOpt 99.78992% | 20 distinct compiledR6trials | 119/119 frame0x30;5parameter register differences level/option; all latercode identical.
|
||||
libs/RVL_SDK/src/fa/pf_volume | R6 before -> after exact 34/37 -> 35/37; objdiff codebytes 16732 -> 16988/17992; databytes 210976 -> 210976/210976
|
||||
OPEN PFVOL_attach 98.72159% | 5 distinct compiledR6trials | 174/176 frame0x20; missingerror join materialization mr0,r3 and li0,0 afterinline clear_mount.
|
||||
OPEN PFVOL_regctx 99.0% | 3 distinct compiledR6trials | 75/75 frame0x10;15register differences free slotr5/8 versus statusr8/5 in unrolled contextscan.
|
||||
libs/RVL_SDK/src/fa/pf_entry_iterator | R6 before -> after exact 14/16 -> 15/16; objdiff codebytes 6640 -> 6932/7880; databytes 24 -> 24/24
|
||||
OPEN PFENT_ITER_FindCluster 99.81013% | 5 distinct compiledR6trials | 237/237 frame0xA0;8register differences sharedconstantoner7/8 versus entries-per-sectorr8/7.
|
||||
src/keyboard/tiString | R6 before -> after exact 41/42 -> 41/42; objdiff codebytes 4632 -> 4632/5176; databytes 288 -> 288/288
|
||||
OPEN inputChar__Q39textinput8tistring9DecolatedFw 90.132355% | 4 distinct compiledR6trials | 125/136 frame0x30; mode3input helper dynamicappend missing11instructions; original converter boundary unresolved.
|
||||
src/keyboard/tiSignWindow | R6 before -> after exact 55/56 -> 55/56; objdiff codebytes 6300 -> 6300/7184; databytes 3468 -> 3468/3468
|
||||
OPEN create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator 99.117645% | 3 distinct compiledR6trials | 221/221 frame0x50;34register differences constructor-vtable hoisting, animationCount and animationentry lifetimes.
|
||||
libs/RVL_SDK/src/fa/msc/puh_msc_blk | R6 before -> after exact 10/11 -> 11/11; objdiff codebytes 1556 -> 2072/2072; databytes 424 -> 424/424
|
||||
libs/RVLMiddleware/TMC_JPEG/src/reschange/idct_resolution_change_var | R6 before -> after exact 4/6 -> 4/6; objdiff codebytes 712 -> 712/1804; databytes 0 -> 0/0
|
||||
OPEN TMCJPEGDEC_IdctBlock4x4 85.625% | 4 distinct compiledR6trials | 136/136 frame0x120;19instruction-form and93operand differences source pointer coalescing, arithmetic/store scheduling.
|
||||
OPEN TMCJPEGDEC_IdctBlock4x4_Col 83.89781% | 3 distinct compiledR6trials | 137/137 frame0x120;31instruction-form and48operand differences first-pass oddsum/rotation scheduling, b/c/rotation registerallocation.
|
||||
Finalclean ctxdiff:PFVOL_p_rmvvol64/64diffs0;PFENT_ITER_GetLFNEntryName73/73diffs0;uhf_msc_blk_pread129/129diffs0. No code/data/regression failures. No untried remaining function.
|
||||
R6 files: config/43U/symbols.txt;libs/RVL_SDK/src/fa/pf_volume.c;libs/RVL_SDK/src/fa/pf_entry_iterator.c;libs/RVL_SDK/src/fa/msc/puh_msc_blk.c;tools/decomp-assist/fz3.attempts.md. Commits:2f84a3fe exactvolume+markerextent;5ce59884 iteratorstructuralimprovement;78c76f31 exactMSC;673020e0 exactiterator. HIGH650cc87e/98cb7171 predateR6 retained.
|
||||
Uncertainty: original mode3 Hangul converter source/inline boundary is unavailable; dynamiccounter and dead newline comparison are proven targetinstructions, generic helper/class attempts constant-fold. Marker1-byteextent proof recorded above; no otherdataownership changes.
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user