refactor: remove force-retention and placement tricks; recover real data order (rx67) #1231

Merged
coah80 merged 1 commits from agent/w0929/rx67-land into main 2026-10-05 17:44:19 +00:00
22 changed files with 917 additions and 155 deletions

View File

@@ -1,7 +1,7 @@
#include <private/axfx.h>
#include <revolution/AXFX.h>
#include <revolution/MEM.h>
#include <revolution/OS.h>
#include <revolution/axfx.h>
#include <revolution/mem.h>
#include <revolution/os.h>
#include <math.h>
#include <string.h>
@@ -371,10 +371,9 @@ static void __FreeDelayLine(AXFX_REVERBHI_EXP* fx) {
}
}
DECOMP_FORCE_LITERAL(AXFXReverbHiExp_c, -3.0f, 10.0);
static BOOL __InitParams(AXFX_REVERBHI_EXP* reverb) {
u32 ch, i;
f32 attenuation;
if (reverb->earlyMode >= 8)
return FALSE;
@@ -421,7 +420,8 @@ static BOOL __InitParams(AXFX_REVERBHI_EXP* reverb) {
for (i = 0; i < 3; i++) {
reverb->combPos[i] = 0;
reverb->combLength[i] = __FilterSizeTable[reverb->fusedMode][i];
reverb->combCoef[i] = pow(10.0f, (-3.0f * (f32)(reverb->combLength[i]) / (f32)(reverb->fusedTime * 32000)));
attenuation = -3.0f * (f32)reverb->combLength[i] / (reverb->fusedTime * 32000);
reverb->combCoef[i] = pow(10.0, attenuation);
}
for (i = 0; i < 2; i++) {

View File

@@ -1,7 +1,7 @@
#include <private/axfx.h>
#include <revolution/AXFX.h>
#include <revolution/MEM.h>
#include <revolution/OS.h>
#include <revolution/axfx.h>
#include <revolution/mem.h>
#include <revolution/os.h>
#include <revolution/ax.h>
#include <math.h>
@@ -385,10 +385,9 @@ static void __FreeDelayLine(AXFX_REVERBHI_EXP_DPL2* fx) {
}
}
DECOMP_FORCE_LITERAL(AXFXReverbHiExpDpl2_c, -3.0f, 10.0);
static BOOL __InitParams(AXFX_REVERBHI_EXP_DPL2* reverb) {
u32 ch, i;
f32 attenuation;
if (reverb->earlyMode >= 8)
return FALSE;
@@ -435,7 +434,8 @@ static BOOL __InitParams(AXFX_REVERBHI_EXP_DPL2* reverb) {
for (i = 0; i < 3; i++) {
reverb->combPos[i] = 0;
reverb->combLength[i] = __FilterSizeTable[reverb->fusedMode][i];
reverb->combCoef[i] = pow(10.0f, (-3.0f * (f32)(reverb->combLength[i]) / (f32)(reverb->fusedTime * 32000)));
attenuation = -3.0f * (f32)reverb->combLength[i] / (reverb->fusedTime * 32000);
reverb->combCoef[i] = pow(10.0, attenuation);
}
for (i = 0; i < 2; i++) {

View File

@@ -74,7 +74,7 @@ static u32 statusRegister[8] ALIGN32;
static u32 coverStatus[8] ALIGN32;
static u32 statusRegister[8] ALIGN32;
static DVDLowContext dvdContexts[4] ALIGN32;
static DVDLowContext dvdContexts[4] ALIGN32 = {0};
static DVDLowRegValues diRegValCache ALIGN32;
static u32 registerBuf[8] ALIGN32;
static IOSIoVector ioVec[10] ALIGN32;
@@ -99,8 +99,6 @@ static bool requestInProgress;
#define IS_ALIGNED(addr) (((u32)(addr) & 0x1F) == 0)
DECOMP_FORCE_ACTIVE(dvd_broadway_c, dvdContexts);
IOSError doTransactionCallback(IOSError ret, void* context) {
DVDLowContext* dvdContext = context;
@@ -407,8 +405,8 @@ DECOMP_FORCE_ACTIVE(dvd_broadway_c, coverRegister);
DECOMP_FORCE_ACTIVE(dvd_broadway_c, "DVDLowOpenPartitionWithTmdAndTicket");
DECOMP_FORCE_ACTIVE(dvd_broadway_c, "(%s) eTicket memory is unaligned\n");
DECOMP_FORCE_ACTIVE(dvd_broadway_c, "(%s) tmd parameter cannot be NULL\n");
DECOMP_FORCE_ACTIVE(dvd_broadway_c, "(%s) tmd memory is unaligned\n");
static char tmdNullMessage[] = "(%s) tmd parameter cannot be NULL\n";
static char tmdAlignmentMessage[] = "(%s) tmd memory is unaligned\n";
DECOMP_FORCE_ACTIVE(dvd_broadway_c, "(%s) eTicket parameter cannot be NULL\n");
bool DVDLowOpenPartitionWithTmdAndTicketView(u32 partitionWordOffset, ESTicketView* eTicketView, u32 numTmdBytes, ESTitleMeta* tmd, u32 numCertBytes,
@@ -421,10 +419,10 @@ bool DVDLowOpenPartitionWithTmdAndTicketView(u32 partitionWordOffset, ESTicketVi
}
if (tmd == 0) {
OSReport("(%s) tmd parameter cannot be NULL\n", __FUNCTION__);
OSReport(tmdNullMessage, __FUNCTION__);
return false;
} else if (!IS_ALIGNED(tmd)) {
OSReport("(%s) tmd memory is unaligned\n", __FUNCTION__);
OSReport(tmdAlignmentMessage, __FUNCTION__);
return false;
}
@@ -653,11 +651,11 @@ bool DVDLowStopMotor(bool eject, bool saving, DVDLowCallback callback) {
}
DECOMP_FORCE_ACTIVE(dvd_broadway_c, "@@@ (DVDLowWaitForCoverClose) IOS_IoctlAsync returned error: %d\n");
DECOMP_FORCE_ACTIVE(dvd_broadway_c, "@@@ (DVDLowInquiry) IOS_IoctlAsync returned error: %d\n");
DECOMP_FORCE_ACTIVE(dvd_broadway_c, "@@@ (DVDLowRequestError) IOS_IoctlAsync returned error: %d\n");
static char inquiryErrorMessage[] = "@@@ (DVDLowInquiry) IOS_IoctlAsync returned error: %d\n";
static char requestErrorMessage[] = "@@@ (DVDLowRequestError) IOS_IoctlAsync returned error: %d\n";
DECOMP_FORCE_ACTIVE(dvd_broadway_c, "(DVDLowSetSpinupFlag): Synch functions can't be called in callbacks\n");
DECOMP_FORCE_ACTIVE(dvd_broadway_c, "@@@ (DVDLowNotifyReset) IOS_IoctlAsync returned error: %d\n");
DECOMP_FORCE_ACTIVE(dvd_broadway_c, "@@@ (DVDLowReset) IOS_IoctlAsync returned error: %d\n");
static char resetErrorMessage[] = "@@@ (DVDLowReset) IOS_IoctlAsync returned error: %d\n";
bool DVDLowInquiry(DVDDriveInfo* info, DVDLowCallback callback) {
DVDLowContext* dvdContext;
@@ -673,7 +671,7 @@ bool DVDLowInquiry(DVDDriveInfo* info, DVDLowCallback callback) {
ret = IOS_IoctlAsync(DiFD, DVD_IOCTL_INQUIRY, &diCommand[freeCommandBuf], sizeof(DVDLowCommand), info, sizeof(DVDDriveInfo),
doTransactionCallback, dvdContext);
if (ret != IPC_RESULT_OK) {
OSReport("@@@ (DVDLowInquiry) IOS_IoctlAsync returned error: %d\n", ret);
OSReport(inquiryErrorMessage, ret);
dvdContext->inUse = false;
return false;
}
@@ -695,7 +693,7 @@ bool DVDLowRequestError(DVDLowCallback callback) {
ret = IOS_IoctlAsync(DiFD, DVD_IOCTL_REQUEST_ERROR, &diCommand[freeCommandBuf], sizeof(DVDLowCommand), &diRegValCache, sizeof(DVDLowRegValues),
doTransactionCallback, dvdContext);
if (ret != IPC_RESULT_OK) {
OSReport("@@@ (DVDLowRequestError) IOS_IoctlAsync returned error: %d\n", ret);
OSReport(requestErrorMessage, ret);
dvdContext->inUse = false;
return false;
}
@@ -722,7 +720,7 @@ bool DVDLowReset(DVDLowCallback callback) {
ret = IOS_IoctlAsync(DiFD, DVD_IOCTL_RESET, &diCommand[freeCommandBuf], sizeof(DVDLowCommand), 0, 0, doTransactionCallback, dvdContext);
if (ret != IPC_RESULT_OK) {
OSReport("@@@ (DVDLowReset) IOS_IoctlAsync returned error: %d\n", ret);
OSReport(resetErrorMessage, ret);
dvdContext->inUse = false;
return false;
}

View File

@@ -7,14 +7,12 @@
static u32 IpcNumPendingReqs = 0;
static u32 IpcNumUnIssuedReqs = 0;
static s32 IpcFdArray[MAX_REQUEST];
static s32 IpcFdArray[MAX_REQUEST] = {0};
static u32 IpcReqPtrArray[MAX_REQUEST];
static void AddReqInfo(void* ptr, s32 fd);
static void DelReqInfo(void* ptr, s32 fd);
DECOMP_FORCE_ACTIVE(ipcProfile_c, IpcFdArray); // Force `IpcFdArray` to be first
void IPCiProfInit() {
u32 i;

View File

@@ -19,7 +19,7 @@
/* some string pooling (the first one is used but is just pooled first...)*/
DECOMP_FORCE_ACTIVE(OSExec_c, "\nOSExec(): Failed to exec %d in %d\n");
static char execFailure[] = "\nOSExec(): Failed to exec %d in %d\n";
DECOMP_FORCE_ACTIVE(OSExec_c, "\nOSExec(): The specified game doesn't exist in the disc\n");
extern BOOL __OSInIPL;
@@ -384,13 +384,13 @@ void LaunchCommon(ESTitleId titleId, u32 launchArg, const char** argv, BOOL laun
} else {
ret = ESP_InitLib();
if (ret != ES_ERR_OK) {
OSReport("\nOSExec(): Failed to exec %d in %d\n", ret, 1712);
OSReport(execFailure, ret, 1712);
__OSHotResetForError();
}
ret = ESP_GetTitleId(&title);
if (ret != ES_ERR_OK) {
OSReport("\nOSExec(): Failed to exec %d in %d\n", ret, 1720);
OSReport(execFailure, ret, 1720);
__OSHotResetForError();
}
}

View File

@@ -63,8 +63,8 @@ vBOOL __OSIsReturnToIdle;
}
// They're used but pooled first.
DECOMP_FORCE_ACTIVE(OSReset_c, "OSReset.c");
DECOMP_FORCE_ACTIVE(OSReset_c, "__OSHotReset(): Falied to reset system.\n");
static char resetSource[] = "OSReset.c";
static char hotResetFailure[] = "__OSHotReset(): Falied to reset system.\n";
DECOMP_FORCE_ACTIVE(OSReset_c, "OSReturnToMenu(): Falied to boot system menu.\n");
DECOMP_FORCE_ACTIVE(OSReset_c, "OSReturnToDataManager(): Falied to boot system menu.\n");
@@ -212,7 +212,7 @@ void OSReturnToSetting(u8 setting) {
}
default: {
OSReport("OSReturnToSetting(): You can't specify %d. \n", setting);
OSHalt("", 910);
OSPanic(resetSource, 910, "");
}
}
@@ -234,7 +234,7 @@ void __OSReturnToMenuForError() {
__VISetRGBModeImm();
__OSHotResetForError();
OSHalt("__OSReturnToMenu(): Falied to boot system menu.\n", 949);
OSPanic(resetSource, 949, "__OSReturnToMenu(): Falied to boot system menu.\n");
}
void __OSHotResetForError() {
@@ -242,7 +242,7 @@ void __OSHotResetForError() {
__OSInitSTM();
}
__OSHotReset();
OSHalt("__OSHotReset(): Falied to reset system.\n", 973);
OSPanic(resetSource, 973, hotResetFailure);
}
u32 OSGetResetCode() {

View File

@@ -215,14 +215,14 @@ end:
DECOMP_FORCE_ACTIVE(usb_c, "OpenDevice\n");
DECOMP_FORCE_ACTIVE(usb_c, "OpenDeviceIdsAsync: Not enough memory\n");
DECOMP_FORCE_ACTIVE(usb_c, "CloseDevice\n");
DECOMP_FORCE_ACTIVE(usb_c, "CloseDevice returned: %d\n");
static char closeDeviceMessage[] = "CloseDevice\n";
static char closeDeviceResult[] = "CloseDevice returned: %d\n";
IOSError IUSB_CloseDeviceAsync(s32 fd, USBCallback callback, void* callbackArg) {
IOSError result;
USBCommandBlock* block;
USB_LOG("CloseDevice\n");
USB_LOG(closeDeviceMessage);
block = IOSAlloc(sizeof(USBCommandBlock));
if (block == NULL) {
@@ -238,7 +238,7 @@ IOSError IUSB_CloseDeviceAsync(s32 fd, USBCallback callback, void* callbackArg)
block->nclean = USB_NCLEAN_CLOSEDEVICE;
result = IOS_CloseAsync(fd, _intrBlkCtrlIsoCb, block);
USB_LOG("CloseDevice returned: %d\n", result);
USB_LOG(closeDeviceResult, result);
if (result < 0) {
IOSFree(block);
@@ -486,19 +486,9 @@ IOSError IUSB_WriteCtrlMsgAsync(s32 fd, u8 requestType, u8 request, u16 value, u
}
// oh my
DECOMP_FORCE_ACTIVE(usb_c, "CloseDeviceAsync: Not enough memory\n");
DECOMP_FORCE_ACTIVE(usb_c, "openDevice: Not enough memory\n");
DECOMP_FORCE_ACTIVE(usb_c, "getDeviceList: Not enough memory\n");
DECOMP_FORCE_ACTIVE(usb_c, "getDeviceList: Not enough memory\n");
DECOMP_FORCE_ACTIVE(usb_c, "__IntrBlkMsgInt: Not enough memory\n");
DECOMP_FORCE_ACTIVE(usb_c, "intr/blk ioctl returned: %d\n");
DECOMP_FORCE_ACTIVE(usb_c, "IntBlkMsgInt (async): Not enough memory\n");
DECOMP_FORCE_ACTIVE(usb_c, "intrblkmsg: cb = 0x%x cbArg = 0x%x\n");
DECOMP_FORCE_ACTIVE(usb_c, "ctrlmsg: bad data buffer\n");
DECOMP_FORCE_ACTIVE(usb_c, "Ctrl Msg: Not enough memory\n");
DECOMP_FORCE_ACTIVE(usb_c, "CtrlMsgInt (async): Not enough memory\n");
DECOMP_FORCE_ACTIVE(usb_c, "ctrlmsgint: cb = 0x%x cbArg = 0x%x\n");
DECOMP_FORCE_ACTIVE(usb_c, "Ctrl Msg async returned: %d\n");
DECOMP_FORCE_ACTIVE(usb_c, "GetStrCb returned: %d\n");
DECOMP_FORCE_ACTIVE(usb_c, "GetStrCb: buf = 0x%x buflen = %u\n");
DECOMP_FORCE_ACTIVE(usb_c, "Failed to convert buffer from unicode 2 ascii\n");

View File

@@ -1050,7 +1050,7 @@ static BOOL WUDiDeviceExists(u8* addr) {
return FALSE;
}
DECOMP_FORCE_ACTIVE(WUD_c, "name : %s\n")
static char deviceNameFormat[] = "name : %s\n";
static WUDInitState WUDiGetRegisteredDevice() {
int i, j;
@@ -1110,7 +1110,7 @@ static WUDInitState WUDiGetRegisteredDevice() {
DEBUGPrint("addr : %02x:%02x:%02x:%02x:%02x:%02x\n", pInfo->devAddr[0], pInfo->devAddr[1], pInfo->devAddr[2], pInfo->devAddr[3],
pInfo->devAddr[4], pInfo->devAddr[5]);
DEBUGPrint("name : %s\n", pInfo->conf.devName);
DEBUGPrint(deviceNameFormat, pInfo->conf.devName);
a++;
arrayNum--;
@@ -1156,7 +1156,7 @@ static WUDInitState WUDiGetRegisteredDevice() {
WUD_DEBUGPrint("addr : %02x:%02x:%02x:%02x:%02x:%02x\n", pInfo->devAddr[0], pInfo->devAddr[1], pInfo->devAddr[2], pInfo->devAddr[3],
pInfo->devAddr[4], pInfo->devAddr[5]);
WUD_DEBUGPrint("name : %s\n", pInfo->conf.devName);
WUD_DEBUGPrint(deviceNameFormat, pInfo->conf.devName);
WUDiMoveTopSmpDevInfoPtr(pInfo);

View File

@@ -131,7 +131,7 @@ void CDBConvMinuteValueToMinuteStr(char* minuteStr, int minute) {
sprintf(minuteStr, "%02d", minute);
}
DECOMP_FORCE_ACTIVE(CDBConv_c, "%08X");
static char wiiIdFormat[] = "%08X";
void CDBGenRootPath(char* rootPath, CDBLocation location, u64* wiiId) {
u32 wiiIdHi, wiiIdLo;
@@ -153,8 +153,8 @@ void CDBGenRootPath(char* rootPath, CDBLocation location, u64* wiiId) {
strcpy(rootPath, CDB_SD_ROOT_PATH_LS);
sprintf(wiiIdHiPath, "%08X", wiiIdHi);
sprintf(wiiIdLoPath, "%08X", wiiIdLo);
sprintf(wiiIdHiPath, wiiIdFormat, wiiIdHi);
sprintf(wiiIdLoPath, wiiIdFormat, wiiIdLo);
CDBFSConcatenatePath(rootPath, wiiIdHiPath);
CDBFSConcatenatePath(rootPath, wiiIdLoPath);

View File

@@ -19,13 +19,13 @@ DECOMP_FORCE_ACTIVE(CDBFileSystem_c, "(other-group-owner)\n");
DECOMP_FORCE_ACTIVE(CDBFileSystem_c, "nocopy/cdbwiiid.dat");
// These ones are used but they are pooled somewhere else
DECOMP_FORCE_ACTIVE(CDBFileSystem_c, "VFMountDriveNANDFlashEx VFErr=%d(%s)\n");
DECOMP_FORCE_ACTIVE(CDBFileSystem_c, "home=%s\n");
DECOMP_FORCE_ACTIVE(CDBFileSystem_c, "VFCreateSystemFileNANDFlashEx DEVErr=%d\n");
DECOMP_FORCE_ACTIVE(CDBFileSystem_c, "VFMountDriveNANDFlashEx VFErr=%d\n");
DECOMP_FORCE_ACTIVE(CDBFileSystem_c, "VFFormatDrive VFErr=%d\n");
DECOMP_FORCE_ACTIVE(CDBFileSystem_c, "VFMountDriveNANDFlashEx %s->%s succeeded\n");
DECOMP_FORCE_ACTIVE(CDBFileSystem_c, "VFChangeDir %s %s\n");
static char mountError[] = "VFMountDriveNANDFlashEx VFErr=%d(%s)\n";
static char homeDirectory[] = "home=%s\n";
static char createFileError[] = "VFCreateSystemFileNANDFlashEx DEVErr=%d\n";
static char retryMountError[] = "VFMountDriveNANDFlashEx VFErr=%d\n";
static char formatError[] = "VFFormatDrive VFErr=%d\n";
static char mountSuccess[] = "VFMountDriveNANDFlashEx %s->%s succeeded\n";
static char changeDirectoryError[] = "VFChangeDir %s %s\n";
static inline CDBErr CDBFSInitVFFile(void* cacheBuffer, u32 cacheSize) {
VFErr vfErr;
@@ -33,7 +33,7 @@ static inline CDBErr CDBFSInitVFFile(void* cacheBuffer, u32 cacheSize) {
vfErr = VFMountDriveNANDFlashCacheEx(CDB_CFG_VF_DRIVE_LETTER, CDB_VFF_FILE_NAME, cacheBuffer, cacheSize);
if (vfErr != VF_ERR_SUCCESS) {
CDBReportInfo("VFMountDriveNANDFlashEx VFErr=%d(%s)\n", vfErr, VFGetApiErrorString(vfErr));
CDBReportInfo(mountError, vfErr, VFGetApiErrorString(vfErr));
if (vfErr == VF_ERR_NOT_EXIST_FILE) {
u32 nandCheck;
@@ -65,33 +65,33 @@ static inline CDBErr CDBFSInitVFFile(void* cacheBuffer, u32 cacheSize) {
char nandHomeDir[64];
NANDGetHomeDir(nandHomeDir);
CDBReportFatal("home=%s\n", nandHomeDir);
CDBReportFatal("VFCreateSystemFileNANDFlashEx DEVErr=%d\n", vfErr);
CDBReportFatal(homeDirectory, nandHomeDir);
CDBReportFatal(createFileError, vfErr);
return CDBOnNANDErrorOccured(vfErr);
}
vfErr = VFMountDriveNANDFlashCacheEx(CDB_CFG_VF_DRIVE_LETTER, CDB_VFF_FILE_NAME, cacheBuffer, cacheSize);
if (vfErr != VF_ERR_SUCCESS) {
CDBReportFatal("VFMountDriveNANDFlashEx VFErr=%d\n", vfErr);
CDBReportFatal(retryMountError, vfErr);
return CDBOnVFErrorOccured(vfErr);
}
vfErr = VFFormatDrive(CDB_CFG_VF_DRIVE_LETTER);
if (vfErr != VF_ERR_SUCCESS) {
CDBReportFatal("VFFormatDrive VFErr=%d\n", vfErr);
CDBReportFatal(formatError, vfErr);
return CDBOnVFErrorOccured(vfErr);
}
} else {
CDBReportFatal("VFMountDriveNANDFlashEx VFErr=%d(%s)\n", vfErr, VFGetApiErrorString(vfErr));
CDBReportFatal(mountError, vfErr, VFGetApiErrorString(vfErr));
return CDBOnVFErrorOccured(vfErr);
}
}
CDBReportInfo("VFMountDriveNANDFlashEx %s->%s succeeded\n", CDB_VFF_FILE_NAME, CDB_CFG_VF_DRIVE_LETTER);
CDBReportInfo(mountSuccess, CDB_VFF_FILE_NAME, CDB_CFG_VF_DRIVE_LETTER);
vfErr = VFChangeDir(CDB_CFG_VF_DRIVE_ROOT "/");
if (vfErr != VF_ERR_SUCCESS) {
CDBReportFatal("VFChangeDir %s %s\n", CDB_CFG_VF_DRIVE_ROOT "/", VFGetApiErrorString(vfErr));
CDBReportFatal(changeDirectoryError, CDB_CFG_VF_DRIVE_ROOT "/", VFGetApiErrorString(vfErr));
return CDBOnVFErrorOccured(vfErr);
}

View File

@@ -8,8 +8,6 @@
#include <string.h>
#pragma push
#pragma section sconst_type ".sdata2"
const u8 scRsnOui0 = 0;
const u8 scRsnOui1 = 0x0F;
const u8 scRsnOui2 = 0xAC;
@@ -18,7 +16,6 @@ const u8 scWpaOui0 = 0;
const u8 scWpaOui1 = 0x50;
const u8 scWpaOui2 = 0xF2;
const u8 scWpaOuiPad = 0;
#pragma pop
#pragma push
#pragma section sconst_type ".sdata"
const u8 scWpaFindOui0 = 0;

View File

@@ -42,7 +42,6 @@ static u32 VersionES = 0;
static u32 ConsoleType = 0;
static void* FatalFunc = NULL;
#pragma force_active on
char* getSuffix(const char* path) {
char* suffix = strrchr(path, '.');
if (suffix != NULL) {
@@ -50,7 +49,6 @@ char* getSuffix(const char* path) {
}
return suffix;
}
#pragma force_active off
static void* UpdateThread(void* argument);

View File

@@ -5,8 +5,7 @@
namespace ipl {
namespace cs {
namespace mtx34 {
// used but pooled first
DECOMP_FORCE_ACTIVE(iplCSMtx_cpp, "MTX34");
static char className[] = "MTX34";
#define PROPERTY_COUNT 13
extern const CHANSVmPropertyList cPropertyList[PROPERTY_COUNT];
@@ -151,7 +150,7 @@ namespace ipl {
BOOL init(CHANSVm* vm) {
BOOL result = FALSE;
// Create class
CHANSVmNativeClass* cls = CHANSVmAddNativeClass(vm, "MTX34", ctor, NULL);
CHANSVmNativeClass* cls = CHANSVmAddNativeClass(vm, className, ctor, NULL);
if (cls != NULL) {
// Add properties
result = CHANSVmAddNativePropertyAccessorsList(vm, cls, cPropertyList, PROPERTY_COUNT) == CHANS_VM_OK;

View File

@@ -1,7 +1,7 @@
#include <revolution/gx/GXStruct.h>
#include <revolution/os/OSError.h>
extern "C" const char scCsFatalMsg[];
extern "C" char scCsFatalMsg[];
extern "C" const u8 scCsFatalColorR;
extern "C" const u8 scCsFatalColorG;
extern "C" const u8 scCsFatalColorB;
@@ -620,10 +620,7 @@ namespace ipl {
namespace ipl {
namespace cs {
namespace pane {
#pragma push
#pragma section const_type ".data"
extern "C" const char scCsFatalMsg[] = "Error#004\nAn error has occurred.\nThe system files are corrupted.";
#pragma pop
extern "C" char scCsFatalMsg[] = "Error#004\nAn error has occurred.\nThe system files are corrupted.";
#pragma push
#pragma section data_type ".sdata"

View File

@@ -618,10 +618,13 @@ namespace ipl {
return result;
}
// Force get_int<N> specializations to be emitted here
DECOMP_FORCE_LITERAL(iplCSSavedata_cpp, util::get_int<COMPRESSION_LZ>)
DECOMP_FORCE_LITERAL(iplCSSavedata_cpp, util::get_int<COMPRESSION_HUFFMAN>)
DECOMP_FORCE_LITERAL(iplCSSavedata_cpp, util::get_int<COMPRESSION_RL>)
}
namespace util {
template BOOL get_int<savedata::COMPRESSION_LZ>(CHANSVm*, CHANSVmObjHdr*, CHANSVmObjHdr*);
template BOOL get_int<savedata::COMPRESSION_HUFFMAN>(CHANSVm*, CHANSVmObjHdr*, CHANSVmObjHdr*);
template BOOL get_int<savedata::COMPRESSION_RL>(CHANSVm*, CHANSVmObjHdr*, CHANSVmObjHdr*);
}
namespace savedata {
template <>
BOOL get<s8>(CHANSVm* vm, CHANSVmObjHdr* parentObj, CHANSVmObjHdr* returnObj);

View File

@@ -12,23 +12,16 @@ extern "C" void GetFont__Q34nw4r3lyt8TextBoxCFv();
namespace textinput {
namespace candidatebox {
#pragma push
#pragma section const_type ".data"
extern "C" const char scT_prdc_Text_00[15] = "T_prdc_Text_00";
extern "C" const char scP_prdc_scrl_Left[17] = "P_prdc_scrl_Left";
#pragma pop
extern "C" char scT_prdc_Text_00[15] = "T_prdc_Text_00";
extern "C" char scP_prdc_scrl_Left[17] = "P_prdc_scrl_Left";
#pragma push
#pragma section sconst_type ".sdata"
extern "C" const char* scCommonTextAnimName = scT_prdc_Text_00;
extern "C" const char* scCommonScrollAnimName = scP_prdc_scrl_Left;
#pragma explicit_zero_data on
extern "C" const wchar_t scEmptyWChars[4] = {0, 0, 0, 0};
extern "C" wchar_t scEmptyWChars[4] = {0, 0, 0, 0};
#pragma explicit_zero_data reset
extern "C" const char scP_OnBtn[8] = "P_OnBtn";
extern "C" const char scB_OnBtn[8] = "B_OnBtn";
#pragma pop
extern "C" char scP_OnBtn[8] = "P_OnBtn";
extern "C" char scB_OnBtn[8] = "B_OnBtn";
#define COMMON_TEXT_ANIM scCommonTextAnimName
#define COMMON_SCROLL_ANIM scCommonScrollAnimName
@@ -205,9 +198,7 @@ namespace textinput {
{&csAninationFile[0], &csAninationFile[8], &csAninationFile[9], &csAninationFile[10], &csAninationFile[11], &csAninationFile[12]}},
}, {"P_OffBtn"}};
#pragma push
#pragma section const_type ".data"
extern "C" const char scPaneNameTable[132] =
extern "C" char scPaneNameTable[132] =
"B_OffBtn\0\0\0\0"
"P_JPOffBtn\0\0"
"P_CNOffBtn\0\0"
@@ -218,10 +209,9 @@ namespace textinput {
"P_prdc_scrl_Rght\0\0\0\0"
"\0\0\0";
extern "C" char scW_predictWindow[16] = "W_predictWindow";
extern "C" const char scN_predictInput[15] = "N_predictInput";
extern "C" const char scW_OnOff_Area[13] = "W_OnOff_Area";
extern "C" const char scN_prdc_Texts[13] = "N_prdc_Texts";
#pragma pop
extern "C" char scN_predictInput[15] = "N_predictInput";
extern "C" char scW_OnOff_Area[13] = "W_OnOff_Area";
extern "C" char scN_prdc_Texts[13] = "N_prdc_Texts";
void CandidateBoxCaller::Candidates::addCandidate(const wchar_t* wcString) {
wcsncpy(szwcPredicted[mNumCandidate], wcString, ARRAY_LENGTH(szwcPredicted[0]));

View File

@@ -3,16 +3,16 @@
namespace textinput {
namespace debug {
struct iVertex {
iVertex(f32 posX, f32 posY, f32 posZ, u32 red, u32 green, u32 blue, u32 alpha)
: x(posX), y(posY), z(posZ), r(red), g(green), b(blue), a(alpha) {
}
iVertex(f32 posX, f32 posY, u32 red, u32 green, u32 blue, u32 alpha);
f32 x, y, z; // 0x00
u32 r, g, b, a; // 0x0C
};
DECOMP_FORCE_LITERAL(tiDebug_cpp, 0.0f);
iVertex::iVertex(f32 posX, f32 posY, u32 red, u32 green, u32 blue, u32 alpha)
: x(posX), y(posY), z(0.0f), r(red), g(green), b(blue), a(alpha) {
}
static void draw_rect(const iVertex& v0, const iVertex& v1, const iVertex& v2, const iVertex& v3) {
GXBegin(GX_QUADS, GX_VTXFMT0, 4);
@@ -59,10 +59,10 @@ namespace textinput {
MTXConcat(mtx, mtxScale, mtx);
GXLoadPosMtxImm(mtx, GX_PNMTX0);
draw_rect(iVertex(left - centerX, top - centerY, 0, color.r, color.g, color.b, color.a),
iVertex(right - centerX, top - centerY, 0, color.r, color.g, color.b, color.a),
iVertex(left - centerX, bottom - centerY, 0, color.r, color.g, color.b, color.a),
iVertex(right - centerX, bottom - centerY, 0, color.r, color.g, color.b, color.a));
draw_rect(iVertex(left - centerX, top - centerY, color.r, color.g, color.b, color.a),
iVertex(right - centerX, top - centerY, color.r, color.g, color.b, color.a),
iVertex(left - centerX, bottom - centerY, color.r, color.g, color.b, color.a),
iVertex(right - centerX, bottom - centerY, color.r, color.g, color.b, color.a));
Mtx mtx2;
MTXIdentity(mtx2);

View File

@@ -13,10 +13,7 @@ namespace ipl {
extern "C" char scInfo_a[];
extern "C" char scB_Cal[];
#pragma push
#pragma section const_type ".data"
extern "C" const char scN_CalDay_r[] = "N_CalDay_r";
#pragma pop
extern "C" char scN_CalDay_r[] = "N_CalDay_r";
// clang-format off
extern "C" const char* scDateAnimPaneNames[Date::ANIM_PANE_MAX] = {
@@ -27,21 +24,15 @@ namespace ipl {
scInfo_a,
};
#pragma push
#pragma section const_type ".data"
extern "C" const char scMyIplTopFBrlan[] = "my_IplTop_f.brlan";
extern "C" const char scN_CalDay_t[] = "N_CalDay_t";
extern "C" const char scSEDateFocus[] = "WIPL_SE_DATE_FOCUS";
#pragma pop
extern "C" char scMyIplTopFBrlan[] = "my_IplTop_f.brlan";
extern "C" char scN_CalDay_t[] = "N_CalDay_t";
extern "C" char scSEDateFocus[] = "WIPL_SE_DATE_FOCUS";
#pragma push
#pragma section const_type ".sdata"
extern "C" char scW_Cal[] = "W_Cal";
extern "C" char scT_Cal[] = "T_Cal";
extern "C" char scCal_Ac[] = "Cal_Ac";
extern "C" char scInfo_a[] = "Info_a";
extern "C" char scB_Cal[] = "B_Cal";
#pragma pop
static const Date::AnmFrame scAnmFrame[] = {
{ Date::ANIM_PANE_BTN_HOVER, 0.0f, 6.0f },
@@ -310,9 +301,7 @@ namespace ipl {
onCmdRecv(3);
}
#pragma push
#pragma section sconst_type ".sdata2"
extern "C" const f32 scDateZeroF = 0.0f;
#pragma pop
} // namespace scene
} // namespace ipl

View File

@@ -2,30 +2,25 @@
#include "scene/channelEdit/iplChannelEdit.h"
#pragma push
#pragma section const_type ".data"
extern "C" const char scBrlan_SaveDataIn[] = "it_ObjChannelEdit_b_SaveDataIn.brlan";
extern "C" const char scBrlan_SaveDataOut[] = "it_ObjChannelEdit_b_SaveDataOut.brlan";
extern "C" const char scBrlan_SaveDataFocusIn[] = "it_ObjChannelEdit_b_SaveDataFoucusIn.brlan";
extern "C" const char scBrlan_SaveDataFocusOut[] = "it_ObjChannelEdit_b_SaveDataFoucusOut.brlan";
extern "C" const char scPaneName_N_Data16x9[] = "N_Data16x9";
extern "C" const char scPaneName_N_Data4x3[] = "N_Data4x3";
extern "C" const char scPaneName_B_Data_01[] = "B_Data_01";
extern "C" const char scPaneName_B_Data_00[] = "B_Data_00";
extern "C" const char scPaneName_N_Atari16x9[] = "N_Atari16x9";
extern "C" const char scPaneName_N_Data_01[] = "N_Data_01";
extern "C" const char scPaneName_N_Atari4x3[] = "N_Atari4x3";
extern "C" const char scPaneName_N_Data_00[] = "N_Data_00";
extern "C" const char scPaneName_DataBaseCover_00[] = "DataBaseCover_00";
extern "C" const char scPaneName_DataBaseCover_01[] = "DataBaseCover_01";
#pragma section const_type ".sdata"
extern "C" __declspec(section ".sdata") const char scGroup_G_Data[] = "G_Data";
extern "C" __declspec(section ".sdata") const wchar_t scUnknownWstr[] = L"???";
#pragma section sconst_type ".sdata2"
extern "C" __declspec(section ".sdata2") const f32 scHalfF = 0.5f;
extern "C" __declspec(section ".sdata2") const f32 scTwoF = 2.0f;
extern "C" __declspec(section ".sdata2") const f64 scF2IBias = 4503599627370496.0;
#pragma pop
extern "C" char scBrlan_SaveDataIn[] = "it_ObjChannelEdit_b_SaveDataIn.brlan";
extern "C" char scBrlan_SaveDataOut[] = "it_ObjChannelEdit_b_SaveDataOut.brlan";
extern "C" char scBrlan_SaveDataFocusIn[] = "it_ObjChannelEdit_b_SaveDataFoucusIn.brlan";
extern "C" char scBrlan_SaveDataFocusOut[] = "it_ObjChannelEdit_b_SaveDataFoucusOut.brlan";
extern "C" char scPaneName_N_Data16x9[] = "N_Data16x9";
extern "C" char scPaneName_N_Data4x3[] = "N_Data4x3";
extern "C" char scPaneName_B_Data_01[] = "B_Data_01";
extern "C" char scPaneName_B_Data_00[] = "B_Data_00";
extern "C" char scPaneName_N_Atari16x9[] = "N_Atari16x9";
extern "C" char scPaneName_N_Data_01[] = "N_Data_01";
extern "C" char scPaneName_N_Atari4x3[] = "N_Atari4x3";
extern "C" char scPaneName_N_Data_00[] = "N_Data_00";
extern "C" char scPaneName_DataBaseCover_00[] = "DataBaseCover_00";
extern "C" char scPaneName_DataBaseCover_01[] = "DataBaseCover_01";
extern "C" char scGroup_G_Data[] = "G_Data";
extern "C" wchar_t scUnknownWstr[] = L"???";
extern "C" const f32 scHalfF = 0.5f;
extern "C" const f32 scTwoF = 2.0f;
extern "C" const f64 scF2IBias = 4503599627370496.0;
namespace ipl {
namespace scene {

View File

@@ -0,0 +1,599 @@
# rx67 data placement integrity round
Worktree: `/mnt/drive2/projects/wii-ipl-workers/data-d1`, branch `agent/w1005/rx67`.
Baseline: `8fd7e1cedeaf70d194b705c32251d0ab29c79ea6`, freshly fetched origin/main. Baseline full build and DOL SHA1 passed: `26116613f624061ba99c8d1a299aaa6efa85670d`.
Read AGENTS.md, f-round.md, common.md, levers 20-24 and mwdbg README before experiments. Latest task overrides the general function-matching round: preserve all objdiff measures and the linked DOL while removing placement/retention tricks.
Every trial uses the assigned source file only. Failed candidates are restored from this worktree's initial source snapshot. Working evidence and snapshots live in `build/rx67/`. Data failures are diagnosed by section contents, source encounter order, relocations and symbol order; allocator traces apply when a trial changes register selection. No worker source outside this checkout is edited.
## Trials
### sd-default-position
`src/scene/sdButton/iplSDMenuButton.cpp`. The first encountered position is the normal-aspect default. Initialize it before overriding it for widescreen, removing the literal-retention function.
code 3120 -> 2240; data 560 -> 560; exact 19 -> 18. Function changes: {"create__Q33ipl5scene12SDMenuButtonFPQ33ipl4nand10LayoutFilePQ33ipl4nand10LayoutFilePQ23EGG4Heap": [100.0, 96.70909]}. Restored.
### ipc-explicit-initializer
`libs/RVL_SDK/src/ipc/ipcProfile.c`. The fd array is a real zero-initialized global. An explicit initializer emits it before tentative definitions without an artificial reference.
code 452 -> 452; data 264 -> 264; exact 4 -> 4. DOL `26116613f624061ba99c8d1a299aaa6efa85670d`. Retained for final full gate.
### date-mutable-strings
`src/scene/calendar/iplDate.cpp`. Ordinary mutable string arrays naturally choose .data/.sdata. Explicit small-constant placement is redundant for the float zero. Keep all real names and references.
code 2868 -> 2868; data 356 -> 356; exact 19 -> 19. DOL `26116613f624061ba99c8d1a299aaa6efa85670d`. Retained for final full gate.
### wd-mutable-find-oui
`libs/RevoEX/src/wd/WDScan.c`. The FindInfo WPA OUI is writable .sdata while RSN and the other WPA OUI are constant .sdata2. Remove placement directives and express that distinction in object constness. Keep rx66-owned volatile macros unchanged.
code 2180 -> 2180; data 16 -> 8; exact 5 -> 5. Restored.
### sd-inverted-aspect
`src/scene/sdButton/iplSDMenuButton.cpp`. Write the normal-aspect branch first so the real use emits -152.0f before -245.0f; compare branch layout independently.
code 3120 -> 2240; data 560 -> 560; exact 19 -> 18. Function changes: {"create__Q33ipl5scene12SDMenuButtonFPQ33ipl4nand10LayoutFilePQ33ipl4nand10LayoutFilePQ23EGG4Heap": [100.0, 99.97727]}. Restored.
### sd-named-positions
`src/scene/sdButton/iplSDMenuButton.cpp`. Name the normal and wide coordinates in their data order, and use both in the existing branch. Both named constants are consumed by the real layout assignment.
code 3120 -> 3120; data 560 -> 560; exact 19 -> 19. DOL `110756887fdc0f3b6c0f5173321b146876ba4759`. Restored.
### debug-planar-vertex
`src/keyboard/tiDebug.cpp`. The rectangle vertices always have zero local depth. A planar vertex constructor initializes its real z field, placing zero at the first inline-constructor definition instead of a retention call.
code 1556 -> 1556; data 24 -> 24; exact 2 -> 2. DOL `76a61f1cc4114f3e22a9ab4a978b2afc1006de66`. Restored.
### reverb-named-decay
`libs/RVL_SDK/src/axfx/AXFXReverbHiExp.c`. Name the real attenuation exponent and double power base before validation. Both constants feed combCoef; remove force retention.
code 3892 -> 3892; data 480 -> 416; exact 9 -> 9. Restored.
### reverbdpl2-named-decay
`libs/RVL_SDK/src/axfx/AXFXReverbHiExpDpl2.c`. Apply the same consumed decay and double-base constants to the DPL2 comb-filter calculation.
code 4096 -> 4096; data 512 -> 448; exact 9 -> 9. Restored.
### sd-coordinate-locals
`src/scene/sdButton/iplSDMenuButton.cpp`. Use ordinary floating-point locals for the two consumed aspect positions. This tests whether conversion to constant-expression symbols caused delayed literal emission.
code 3120 -> 2240; data 560 -> 560; exact 19 -> 18. Function changes: {"create__Q33ipl5scene12SDMenuButtonFPQ33ipl4nand10LayoutFilePQ33ipl4nand10LayoutFilePQ23EGG4Heap": [100.0, 94.663635]}. Restored.
### debug-local-depth
`src/keyboard/tiDebug.cpp`. Initialize the real rectangle depth before the center calculation, then pass that local to all four vertices. This consumes zero before the half constant.
code 1556 -> 672; data 24 -> 24; exact 2 -> 1. Function changes: {"drawBox___Q29textinput5debugFffffffR8_GXColor": [100.0, 84.60181]}. Restored.
### axfxreverbhiexp-decay-locals
`libs/RVL_SDK/src/axfx/AXFXReverbHiExp.c`. Use consumed scalar locals instead of const definitions for comb-filter decay and power base, testing initialization encounter order without a separate retained symbol.
code 3892 -> 3088; data 480 -> 480; exact 9 -> 8. Function changes: {"__InitParams": [100.0, 95.995026]}. Restored.
### axfxreverbhiexpdpl2-decay-locals
`libs/RVL_SDK/src/axfx/AXFXReverbHiExpDpl2.c`. Use consumed scalar locals instead of const definitions for comb-filter decay and power base, testing initialization encounter order without a separate retained symbol.
code 4096 -> 3276; data 512 -> 512; exact 9 -> 8. Function changes: {"__InitParams": [100.0, 96.07317]}. Restored.
### wd-default-readonly-section
`libs/RevoEX/src/wd/WDScan.c`. Remove the redundant .sdata2 directive alone. The read-only OUI bytes choose this section by ordinary constness; leave the independently owned writable-OUI reconstruction open.
code 2180 -> 2180; data 16 -> 16; exact 5 -> 5. DOL `26116613f624061ba99c8d1a299aaa6efa85670d`. Retained for final full gate.
### kpr-byte
`libs/RVL_SDK/src/kpr/kpr_lib.c`. Use an ordinary initialization flag. Compare section alignment and the real byte load/store; the union has no semantic second member.
code 1536 -> 1536; data 1104 -> 1088; exact 9 -> 9. Restored.
### kpr-byte-init
`libs/RVL_SDK/src/kpr/kpr_lib.c`. Use an ordinary initialization flag. Compare section alignment and the real byte load/store; the union has no semantic second member.
code 1536 -> 1536; data 1104 -> 1088; exact 9 -> 9. Restored.
### kpr-bool
`libs/RVL_SDK/src/kpr/kpr_lib.c`. Use an ordinary initialization flag. Compare section alignment and the real byte load/store; the union has no semantic second member.
code 1536 -> 1444; data 1104 -> 1088; exact 9 -> 8. Function changes: {"KPRInitQueue": [100.0, 94.78261]}. Restored.
### date-remove-unreferenced-zero
`src/scene/calendar/iplDate.cpp`. The real initEvent call already consumes a zero literal. Test removing the separate unreferenced zero object after removing its pragma.
code 2868 -> 2868; data 356 -> 348; exact 19 -> 19. Restored.
### chanapp-mutable-strings
`src/scene/channelEdit/iplChanAppBox.cpp`. Ordinary string arrays are writable and naturally choose .data/.sdata; scalar floats remain const in .sdata2. Remove all section directives and section declspecs.
code 3532 -> 3532; data 536 -> 536; exact 13 -> 13. DOL `26116613f624061ba99c8d1a299aaa6efa85670d`. Retained for final full gate.
### cspane-mutable-message
`src/channelScript/systemmenu/iplCSPane.cpp`. Use a normal mutable message array in .data and default const color bytes; isolate the color section from the message placement.
code 5804 -> 5804; data 672 -> 600; exact 36 -> 36. Restored.
### candidate-mutable-names
`src/keyboard/tiCandidateBox.cpp`. Replace forced .data/.sdata string placement by the ordinary writable array types. Keep the existing empty-string initialization policy unchanged in this trial.
code 21728 -> 21728; data 4652 -> 4572; exact 110 -> 110. Restored.
### bs2update-remove-retention
`src/BS2/BS2Update.c`. getSuffix has external linkage and real callers. Remove the force_active wrapper and let the linker decide whether its section is live.
code 400 -> 400; data 10488 -> 10488; exact 9 -> 9. DOL `26116613f624061ba99c8d1a299aaa6efa85670d`. Retained for final full gate.
### savedata-explicit-instantiation
`src/channelScript/systemmenu/iplCSSavedata.cpp`. The three getters are real property-list callbacks. Explicitly instantiate these used templates at the original definition boundary instead of evaluating unused function addresses.
Compile failed; see build/rx67/savedata-explicit-instantiation/build.log. Restored.
### sd-switch-default-first
`src/scene/sdButton/iplSDMenuButton.cpp`. Represent the real two-way aspect choice with the normal coordinate first in source, then verify branch lowering and literal order.
code 3120 -> 2240; data 560 -> 560; exact 19 -> 18. Function changes: {"create__Q33ipl5scene12SDMenuButtonFPQ33ipl4nand10LayoutFilePQ33ipl4nand10LayoutFilePQ23EGG4Heap": [100.0, 99.704544]}. Restored.
### sd-ternary-normal-first
`src/scene/sdButton/iplSDMenuButton.cpp`. Represent the real two-way aspect choice with the normal coordinate first in source, then verify branch lowering and literal order.
code 3120 -> 2240; data 560 -> 560; exact 19 -> 18. Function changes: {"create__Q33ipl5scene12SDMenuButtonFPQ33ipl4nand10LayoutFilePQ33ipl4nand10LayoutFilePQ23EGG4Heap": [100.0, 99.97727]}. Restored.
### debug-scale-before-center
`src/keyboard/tiDebug.cpp`. MTXScale writes zeros and does not depend on the center. Compute the real scale matrix before center arithmetic to test whether its inline zeros establish the pool order.
code 1556 -> 672; data 24 -> 24; exact 2 -> 1. Function changes: {"drawBox___Q29textinput5debugFffffffR8_GXColor": [100.0, 92.96832]}. Restored.
### axfxreverbhiexp-attenuation-expression
`libs/RVL_SDK/src/axfx/AXFXReverbHiExp.c`. Compute the actual decay exponent before calling pow with its double base. This puts -3.0f and 10.0 in their real encounter order within the comb-filter loop.
Compile failed; see build/rx67/axfxreverbhiexp-attenuation-expression/build.log. Restored.
### axfxreverbhiexpdpl2-attenuation-expression
`libs/RVL_SDK/src/axfx/AXFXReverbHiExpDpl2.c`. Compute the actual decay exponent before calling pow with its double base. This puts -3.0f and 10.0 in their real encounter order within the comb-filter loop.
Compile failed; see build/rx67/axfxreverbhiexpdpl2-attenuation-expression/build.log. Restored.
### axfxreverbhiexp-attenuation-local
`libs/RVL_SDK/src/axfx/AXFXReverbHiExp.c`. Evaluate the real floating-point decay exponent before passing it to pow. The C89 local is declared at function entry and assigned only at the original calculation.
code 3892 -> 3892; data 480 -> 480; exact 9 -> 9. DOL `26116613f624061ba99c8d1a299aaa6efa85670d`. Retained for final full gate.
### axfxreverbhiexpdpl2-attenuation-local
`libs/RVL_SDK/src/axfx/AXFXReverbHiExpDpl2.c`. Evaluate the real floating-point decay exponent before passing it to pow. The C89 local is declared at function entry and assigned only at the original calculation.
code 4096 -> 4096; data 512 -> 512; exact 9 -> 9. DOL `26116613f624061ba99c8d1a299aaa6efa85670d`. Retained for final full gate.
### candidate-mutable-empty
`src/keyboard/tiCandidateBox.cpp`. The empty UTF-16 buffer also belongs to writable .sdata. Its explicit zero initialization remains, with no placement directive.
code 21728 -> 21728; data 4652 -> 4652; exact 110 -> 110. DOL `26116613f624061ba99c8d1a299aaa6efa85670d`. Retained for final full gate.
### savedata-instantiation-values
`src/channelScript/systemmenu/iplCSSavedata.cpp`. Use the actual compression enum values in explicitly instantiated real property getters; the compiler resolves the template declaration in util scope.
Compile failed; see build/rx67/savedata-instantiation-values/build.log. Restored.
### cspane-mutable-message-only
`src/channelScript/systemmenu/iplCSPane.cpp`. Remove the message placement directive through its writable string-array type. Keep the color object group for a separate coherent-color reconstruction.
code 5804 -> 5804; data 672 -> 672; exact 36 -> 36. DOL `26116613f624061ba99c8d1a299aaa6efa85670d`. Retained for final full gate.
## Reboot recovery
The machine rebooted during the MTX34 array trial before pool/report checks. Restored that unvalidated source to the initial baseline. The nine previously retained candidates are intact; their individual DOL results are above. A fresh full gate follows before the first local commit. The queued pre-reboot IPC allocator capture never acquired the shared debugger lock and has no capture results. All trial snapshots are under this worktree, so no evidence was lost with /tmp.
### Reboot recovery acceptance
Fresh non-quick gate: `GATE PASS`, zero regressions, zero added forbidden patterns, zero readability warnings, and DOL `26116613f624061ba99c8d1a299aaa6efa85670d`. Restored the unrelated existing UITextArea pool_data push/pop scope and checked the minimal formatting changes with another passing gate. The regenerated full report has identical global measures and identical measures, function entries and section entries for every unit versus `build/rx67/baseline.json`. Nine source cleanups are ready for a local preservation commit. WDScan and CSPane retain their remaining independent placement group; this commit does not claim those files are fully cleaned.
### mtx-class-name-array
`src/channelScript/systemmenu/iplCSMtx.cpp`. The first string is the real native class name. Define the consumed writable character array before its property descriptors, without an extra pointer or retained function.
code 1492 -> 1492; data 232 -> 232; exact 29 -> 29. DOL `26116613f624061ba99c8d1a299aaa6efa85670d`. Retained for final full gate.
### savedata-instantiation-namespace
`src/channelScript/systemmenu/iplCSSavedata.cpp`. Explicit instantiation belongs to the defining util namespace. The callback templates are already referenced by the real property table and are instantiated at their original encounter boundary.
Compile failed; see build/rx67/savedata-instantiation-namespace/build.log. Restored.
### url-remove-fake-word
`src/scene/board/iplUrlProcessor.cpp`. Remove only the fake weak function and its zero object, preserving rx66-owned code. Compare genuine URL data and final alignment.
code 2488 -> 2488; data 48 -> 48; exact 17 -> 17. DOL `26116613f624061ba99c8d1a299aaa6efa85670d`. Retained for final full gate.
### calendar-remove-forced-float
`src/scene/calendar/iplCalendar.cpp`. Remove the unconsumed zero from is_lower_limit and inspect actual .data ownership. No other calendar logic is touched.
code 7452 -> 7452; data 1244 -> 516; exact 42 -> 42. Restored.
### wpad-remove-fake-alignment
`libs/RVL_SDK/src/wpad/WPAD.c`. Remove only the artificial buffer and its force reference. Preserve all rx66-owned code and measure the authentic controller-storage order.
code 31040 -> 30512; data 15096 -> 15096; exact 67 -> 66. Function changes: {"WPADiInitSub": [100.0, 99.992424]}. Restored.
### Trial harness corrections
The first URL deletion pattern did not match the namespace-closing comment, so `url-remove-fake-word` was a no-op baseline measurement, not an accepted cleanup. The source stayed unchanged. Added a no-op check and corrected the deletion below. The three savedata explicit-instantiation compile failures also exposed a deletion-regex bug: for macros without a trailing semicolon it removed the next template-specialization line. Limited macro removal to a single line and rerun the real clean candidate. No faulty source from either issue was retained.
### savedata-actual-remove
`src/channelScript/systemmenu/iplCSSavedata.cpp`. Fresh single-line removal preserves the following explicit get<s8> specialization declaration. Test natural property-list instantiation before trying explicit instantiation.
code 5836 -> 5836; data 512 -> 512; exact 35 -> 35. DOL `0f4a7c10d477fa4e5e7c50865675e6dad1dad7d6`. Restored.
### savedata-actual-instantiation
`src/channelScript/systemmenu/iplCSSavedata.cpp`. Explicitly instantiate the real property getter callbacks in their util namespace at the original boundary, with all specialization declarations intact.
code 5836 -> 5836; data 512 -> 512; exact 35 -> 35. DOL `26116613f624061ba99c8d1a299aaa6efa85670d`. Retained for final full gate.
### url-actual-remove
`src/scene/board/iplUrlProcessor.cpp`. Delete the actual trailing artificial weak-function namespace. The remaining code is unchanged, including rx66-owned byte/volatile behavior.
code 2488 -> 2488; data 48 -> 24; exact 17 -> 17. Restored.
### cspane-rgba-color
`src/channelScript/systemmenu/iplCSPane.cpp`. Represent the four semantically related fatal-screen channels as their real GXColor object. The aggregate initializer keeps zero alpha with the nonzero RGB bytes in ordinary .sdata.
code 5804 -> 5596; data 672 -> 672; exact 36 -> 35. Function changes: {"SetTextColor__Q34nw4r3lyt7TextBoxFUlQ34nw4r2ut5Color": [100.0, 88.92308]}. Restored.
### tipredictlang-remove-group
`src/keyboard/tiPredictLang.cpp`. Remove the assigned grouped artificial references; record the first string/section divergence and all affected exact functions against freshly built original objects. Subsequent trials address real uses or data ownership rather than replacing the macro with another retention device.
code 5536 -> 5536; data 2300 -> 2300; exact 36 -> 36. DOL `8062a2e39778ca6355e6af9d7d25909529ae9c49`. Restored.
### iplparental-remove-group
`src/scene/setting/iplParental.cpp`. Remove the assigned grouped artificial references; record the first string/section divergence and all affected exact functions against freshly built original objects. Subsequent trials address real uses or data ownership rather than replacing the macro with another retention device.
code 2376 -> 2376; data 1576 -> 1240; exact 30 -> 30. Restored.
### osnet-remove-group
`libs/RVL_SDK/src/os/OSNet.c`. Remove the assigned grouped artificial references; record the first string/section divergence and all affected exact functions against freshly built original objects. Subsequent trials address real uses or data ownership rather than replacing the macro with another retention device.
code 188 -> 188; data 360 -> 0; exact 2 -> 2. Restored.
### cnt-remove-group
`libs/RVL_SDK/src/cnt/cnt.c`. Remove the assigned grouped artificial references; record the first string/section divergence and all affected exact functions against freshly built original objects. Subsequent trials address real uses or data ownership rather than replacing the macro with another retention device.
code 2228 -> 1892; data 888 -> 632; exact 16 -> 15. Function changes: {"__CNTConvertErrorCode": [100.0, 99.96429]}. Restored.
### cdbconv-remove-group
`libs/RevoEX/src/cdb/CDBConv.c`. Remove the assigned grouped artificial references; record the first string/section divergence and all affected exact functions against freshly built original objects. Subsequent trials address real uses or data ownership rather than replacing the macro with another retention device.
code 4676 -> 3984; data 232 -> 0; exact 39 -> 38. Function changes: {"CDBConvKeyStrToFullPath_": [100.0, 99.98266]}. Restored.
### osreset-remove-group
`libs/RVL_SDK/src/os/OSReset.c`. Remove the assigned grouped artificial references; record the first string/section divergence and all affected exact functions against freshly built original objects. Subsequent trials address real uses or data ownership rather than replacing the macro with another retention device.
code 1308 -> 956; data 672 -> 24; exact 8 -> 6. Function changes: {"OSReturnToSetting": [100.0, 99.80851], "__OSReturnToMenuForError": [100.0, 99.902435]}. Restored.
### cdbfilesystem-remove-group
`libs/RevoEX/src/cdb/CDBFileSystem.c`. Remove the assigned grouped artificial references; record the first string/section divergence and all affected exact functions against freshly built original objects. Subsequent trials address real uses or data ownership rather than replacing the macro with another retention device.
code 1672 -> 656; data 952 -> 152; exact 12 -> 11. Function changes: {"CDBFSInit": [100.0, 99.94095]}. Restored.
### osexec-remove-group
`libs/RVL_SDK/src/os/OSExec.c`. Remove the assigned grouped artificial references; record the first string/section divergence and all affected exact functions against freshly built original objects. Subsequent trials address real uses or data ownership rather than replacing the macro with another retention device.
code 3476 -> 2284; data 864 -> 16; exact 10 -> 9. Function changes: {"LaunchCommon": [100.0, 99.98322]}. Restored.
### osthread-remove-group
`libs/RVL_SDK/src/os/OSThread.c`. Remove the assigned grouped artificial references; record the first string/section divergence and all affected exact functions against freshly built original objects. Subsequent trials address real uses or data ownership rather than replacing the macro with another retention device.
code 8232 -> 8232; data 4656 -> 2088; exact 33 -> 33. Restored.
### iplfocusobject-remove-group
`src/scene/board/iplFocusObject.cpp`. Remove the assigned grouped artificial references; record the first string/section divergence and all affected exact functions against freshly built original objects. Subsequent trials address real uses or data ownership rather than replacing the macro with another retention device.
code 20332 -> 19488; data 2576 -> 232; exact 89 -> 88. Function changes: {"onEventDerived__Q33ipl5scene12button_eventFUlUlPCQ33ipl10controller9Interface": [100.0, 99.98578]}. Restored.
### usb-remove-group
`libs/RVL_SDK/src/usb/usb.c`. Remove the assigned grouped artificial references; record the first string/section divergence and all affected exact functions against freshly built original objects. Subsequent trials address real uses or data ownership rather than replacing the macro with another retention device.
code 4396 -> 1832; data 1712 -> 32; exact 13 -> 10. Function changes: {"IUSB_CloseDeviceAsync": [100.0, 99.9589], "__IntrBlkMsgInt": [100.0, 99.980675], "__CtrlMsgInt": [100.0, 99.98615]}. Restored.
### wud-remove-group
`libs/RVL_SDK/src/wud/WUD.c`. Remove the assigned grouped artificial references; record the first string/section divergence and all affected exact functions against freshly built original objects. Subsequent trials address real uses or data ownership rather than replacing the macro with another retention device.
code 18852 -> 14420; data 12016 -> 8152; exact 66 -> 59. Function changes: {"WUDiRegisterDevice": [100.0, 99.97369], "WUDiRemoveDevice": [100.0, 99.93104], "WUDSecurityCallback": [100.0, 99.935486], "WUDSearchCallback": [100.0, 99.9542], "WUDVendorSpecificCallback": [100.0, 99.96135], "WUDStoredLinkKeyCallback": [100.0, 99.93048], "WUDPowerManagerCallback": [100.0, 99.93671]}. Restored.
### dvd_broadway-remove-group
`libs/RVL_SDK/src/dvd/dvd_broadway.c`. Remove the assigned grouped artificial references; record the first string/section divergence and all affected exact functions against freshly built original objects. Subsequent trials address real uses or data ownership rather than replacing the macro with another retention device.
code 8900 -> 540; data 4248 -> 56; exact 30 -> 11. Function changes: {"DVDLowInit": [100.0, 99.94118], "DVDLowReadDiskID": [100.0, 99.94898], "DVDLowOpenPartition": [100.0, 99.94156], "DVDLowOpenPartitionWithTmdAndTicketView": [100.0, 99.90849], "DVDLowGetNoDiscBufferSizes": [100.0, 99.91603], "DVDLowGetNoDiscOpenPartitionParams": [100.0, 99.945786], "DVDLowClosePartition": [100.0, 99.955055], "DVDLowUnencryptedRead": [100.0, 99.960396], "DVDLowStopMotor": [100.0, 99.960396], "DVDLowInquiry": [100.0, 99.95556], "DVDLowRequestError": [100.0, 99.95556], "DVDLowReset": [100.0, 99.95789], "DVDLowAudioBufferConfig": [100.0, 99.960396], "DVDLowSetMaximumRotation": [100.0, 99.958336], "DVDLowRead": [100.0, 99.953705], "DVDLowSeek": [100.0, 99.95789], "DVDLowPrepareCoverRegister": [100.0, 99.95556], "DVDLowPrepareStatusRegister": [100.0, 99.95556], "DVDLowClearCoverInterrupt": [100.0, 99.955055]}. Restored.
### iplesmisc-remove-group
`src/utility/iplESMisc.cpp`. Remove the assigned grouped artificial references; record the first string/section divergence and all affected exact functions against freshly built original objects. Subsequent trials address real uses or data ownership rather than replacing the macro with another retention device.
code 9404 -> 3664; data 4416 -> 4416; exact 30 -> 17. Function changes: {"NumPrivateContents__Q33ipl7utility6ESMiscFPQ23EGG4HeapUx": [100.0, 99.92157], "NumInodesSaveDirRoot__Q33ipl7utility6ESMiscFUx": [100.0, 99.92593], "CheckSafeDeleteTitle__Q33ipl7utility6ESMiscFPQ23EGG4HeapUx": [100.0, 99.87705], "DeleteTitle__Q33ipl7utility6ESMiscFPQ23EGG4HeapUx": [100.0, 99.830505], "DeleteEmptyTitles__Q33ipl7utility6ESMiscFPQ23EGG4Heap": [100.0, 99.86777], "DeleteDownloadTask__Q33ipl7utility6ESMiscFv": [100.0, 99.80519], "DeleteTitleContent__Q33ipl7utility6ESMiscFPQ23EGG4HeapUx": [100.0, 99.86487], "PrepareTitleDir__Q33ipl7utility6ESMiscFUxPQ23EGG4Heap": [100.0, 99.821915], "DeleteSavedata__Q33ipl7utility6ESMiscFUxPQ23EGG4Heap": [100.0, 99.89431], "DeleteUnauthorizedData__Q33ipl7utility6ESMiscFPQ23EGG4Heap": [99.14254, 99.05122], "Open__Q33ipl7utility7TMDFileFPc": [100.0, 99.92], "Exist__Q33ipl7utility7TMDFileFUxPUlPUl": [100.0, 99.951805], "Backup__Q33ipl7utility7TMDFileFUx": [100.0, 99.919075], "Restore__Q33ipl7utility7TMDFileFUx": [100.0, 99.92538]}. Restored.
### cdb-wii-id-format
`libs/RevoEX/src/cdb/CDBConv.c`. Name the actually consumed hexadecimal Wii ID format at its original first encounter. Both sprintf calls use the same writable string array, with no retention macro or unused storage.
code 4676 -> 4676; data 232 -> 232; exact 39 -> 39. DOL `26116613f624061ba99c8d1a299aaa6efa85670d`. Retained for final full gate.
### osexec-failure-format
`libs/RVL_SDK/src/os/OSExec.c`. Replace the force-retained execution-failure format with a consumed named message used by both genuine LaunchCommon error paths.
code 3476 -> 3476; data 864 -> 864; exact 10 -> 10. DOL `26116613f624061ba99c8d1a299aaa6efa85670d`. Retained for final full gate.
### wpad-natural-controller-alignment
`libs/RVL_SDK/src/wpad/WPAD.c`. The source already documents the controller storage as 32-byte aligned and the target places it accordingly. Use that real alignment and explicitly zero-initialize the handle array before tentative globals, replacing artificial bytes.
code 31040 -> 30512; data 15096 -> 15096; exact 67 -> 66. Function changes: {"WPADiInitSub": [100.0, 84.356064]}. Restored.
### savedata-named-instantiations
`src/channelScript/systemmenu/iplCSSavedata.cpp`. Spell the real template arguments with their savedata enum names instead of numeric compression constants.
code 5836 -> 5836; data 512 -> 512; exact 35 -> 35. DOL `26116613f624061ba99c8d1a299aaa6efa85670d`. Retained for final full gate.
### wpad-handle-initializer
`libs/RVL_SDK/src/wpad/WPAD.c`. Isolate ordinary initialized-versus-tentative array ordering from the alignment change. Preserve the controller storage type and the rest of rx66-owned code.
code 31040 -> 30512; data 15096 -> 15096; exact 67 -> 66. Function changes: {"WPADiInitSub": [100.0, 99.969696]}. Restored.
### cdbfs-used-formats
`libs/RevoEX/src/cdb/CDBFileSystem.c`. Replace the seven force-retained formats that already have real uses with individually named consumed message arrays. Missing-function strings remain isolated for ownership evidence.
code 1672 -> 1672; data 952 -> 952; exact 12 -> 12. DOL `26116613f624061ba99c8d1a299aaa6efa85670d`. Retained for final full gate.
### osreset-hot-reset-format
`libs/RVL_SDK/src/os/OSReset.c`. Give the real OSHalt diagnostic its consumed array definition before other reset strings; remove its artificial retention call.
code 1308 -> 1308; data 672 -> 672; exact 8 -> 8. DOL `26116613f624061ba99c8d1a299aaa6efa85670d`. Retained for final full gate.
### url-actual-remove-link-evidence
`src/scene/board/iplUrlProcessor.cpp`. The target labels its 20-byte vtable plus four trailing zero bytes as a single 24-byte object. Removing the fake word leaves the three real virtual-method slots unchanged. Test the DOL too; do not resize target symbols to bypass the report.
code 2488 -> 2488; data 48 -> 24; exact 17 -> 17. DOL `26116613f624061ba99c8d1a299aaa6efa85670d`. Restored.
### calendar-remove-forced-float-link-evidence
`src/scene/calendar/iplCalendar.cpp`. The target Calendar vtable symbol includes the weak EventHandler vtable and four trailing zero bytes. Removing the unconsumed float changes only the section extent from 728 to 724. Test link padding independently from the report.
code 7452 -> 7452; data 1244 -> 516; exact 42 -> 42. DOL `26116613f624061ba99c8d1a299aaa6efa85670d`. Restored.
### kpr-byte-link-evidence
`libs/RVL_SDK/src/kpr/kpr_lib.c`. The target once symbol covers eight bytes although the function accesses one byte. Test the real byte flag through the DOL gate; retain the existing definition if exact data accounting drops.
code 1536 -> 1536; data 1104 -> 1088; exact 9 -> 9. DOL `26116613f624061ba99c8d1a299aaa6efa85670d`. Restored.
### date-remove-unreferenced-zero-link-evidence
`src/scene/calendar/iplDate.cpp`. The real zero literal remains without the extra named zero. Test the linked padding before concluding whether the remaining obstacle is execution or target data accounting.
code 2868 -> 2868; data 356 -> 348; exact 19 -> 19. DOL `26116613f624061ba99c8d1a299aaa6efa85670d`. Restored.
### osreset-source-name
`libs/RVL_SDK/src/os/OSReset.c`. The retained filename is already the first argument of three real panic calls. Use its consumed writable filename array explicitly and preserve the original line numbers and messages.
code 1308 -> 1308; data 672 -> 672; exact 8 -> 8. DOL `26116613f624061ba99c8d1a299aaa6efa85670d`. Retained for final full gate.
### osthread-explicit-idle-zero
`libs/RVL_SDK/src/os/OSThread.c`. Test whether explicit zero initialization explains the original IdleThread allocation without adding any fake references.
code 8232 -> 8232; data 4656 -> 2088; exact 33 -> 33. Restored.
### osthread-external-idle-diagnostic
`libs/RVL_SDK/src/os/OSThread.c`. Diagnostic only: test normal external storage emission. The extracted target marks IdleThread local, so changing linkage is not sufficient source evidence to retain this variant.
code 8232 -> 8232; data 4656 -> 4656; exact 33 -> 33. DOL `26116613f624061ba99c8d1a299aaa6efa85670d`. Restored.
### usb-late-duplicate-retention
`libs/RVL_SDK/src/usb/usb.c`. The deleted literals are already encountered in preceding real USB diagnostic calls: "CloseDeviceAsync: Not enough memory\n", "__IntrBlkMsgInt: Not enough memory\n", "intr/blk ioctl returned: %d\n", "IntBlkMsgInt (async): Not enough memory\n", "intrblkmsg: cb = 0x%x cbArg = 0x%x\n", "ctrlmsg: bad data buffer\n", "Ctrl Msg: Not enough memory\n", "CtrlMsgInt (async): Not enough memory\n", "ctrlmsgint: cb = 0x%x cbArg = 0x%x\n", "Ctrl Msg async returned: %d\n". Remove their later artificial duplicates.
code 4396 -> 4396; data 1712 -> 1712; exact 13 -> 13. DOL `26116613f624061ba99c8d1a299aaa6efa85670d`. Retained for final full gate.
### usb-consumed-diagnostic-arrays
`libs/RVL_SDK/src/usb/usb.c`. Replace only early force-retained messages with individually named writable arrays used by the existing diagnostic calls. The strings and their real call arguments are unchanged.
code 4396 -> 4396; data 1712 -> 1712; exact 13 -> 13. DOL `26116613f624061ba99c8d1a299aaa6efa85670d`. Retained for final full gate.
## Allocator evidence
`IPCiProfInit`, cleaned source: mwdbg capture `build/rx67/mwdbg-ipc-reboot`. The target uses r5 for IpcReqPtrArray, r6 for IpcFdArray, r4 for zero stores, r3 for -1 stores, and r0 for the unrolled loop count. PCode identifies those values as r34, r33, r35, r40 and r55 respectively. Simplify visits r33 at degree 6, r34 at degree 5, r35 at degree 3, r40 at degree 2 and r55 at degree 1. Reverse coloring assigns r55 first, then r40, r35, r34, r33, with legal masks 0x1ff9, 0x1ff8, 0x1ff0, 0x1fe0 and 0x1fc0. The first available colors are therefore r0, r3, r4, r5 and r6, exactly as in the target. There are no coalescing candidates or spills. The initializer cleanup changes BSS encounter order, not any value lifetime.
Independent wibo validation reproduces the complete 1,784-byte traced object, SHA256 `53bc9e261fbe0eea439a311a9c5df09f9e0c33a38aa3184c4e4bf2b567782cb2`. All 82 PCode register rewrites agree. The validator skips machine-operand comparison because its PCode sequence does not align one-for-one after scheduling; ctxdiff and exact-name objdiff remain the instruction authorities.
The local mwdbg launcher only permits output inside this worktree, opens the existing shared lock without truncating it, and runs GDB from this worktree. It uses the unchanged shared compiler, debugger and emulator, preserving compiler flags. The local validation launcher similarly restricts output here and selects this worktree's wibo. No shared tools were modified.
## Data accounting evidence
The URL target has a 24-byte vtable symbol, while the real class has three virtual slots plus its two leading words, 20 bytes. The artificial function contributes the trailing four zero bytes. Calendar's target 164-byte vtable span contains the real 136-byte Calendar vtable, the 24-byte weak EventHandler vtable and four trailing zero bytes. The forced float supplies those last four bytes. KPR's target once flag covers eight bytes although KPRInitQueue uses only lbz/stb on its first byte. Date's real zero literal occupies four bytes, with four more zeros assigned to its section. All four clean deletions build the exact target DOL, but their original-unit data scores fall. They are restored. No target symbol was resized, split or relabeled to make the score pass.
### wud-consumed-diagnostic-arrays
`libs/RVL_SDK/src/wud/WUD.c`. Replace only early force-retained messages with individually named writable arrays used by the existing diagnostic calls. The strings and their real call arguments are unchanged.
code 18852 -> 18852; data 12016 -> 12016; exact 66 -> 66. DOL `26116613f624061ba99c8d1a299aaa6efa85670d`. Retained for final full gate.
### dvd-consumed-diagnostic-arrays
`libs/RVL_SDK/src/dvd/dvd_broadway.c`. Replace only early force-retained messages with individually named writable arrays used by the existing diagnostic calls. The strings and their real call arguments are unchanged.
code 8900 -> 8900; data 4248 -> 4248; exact 30 -> 30. DOL `26116613f624061ba99c8d1a299aaa6efa85670d`. Retained for final full gate.
### dvd-context-initializer
`libs/RVL_SDK/src/dvd/dvd_broadway.c`. The real transaction callback contexts have static zero state. Explicit initialization orders their BSS emission without an artificial call, retaining their required 32-byte alignment.
code 8900 -> 8900; data 4248 -> 4248; exact 30 -> 30. DOL `26116613f624061ba99c8d1a299aaa6efa85670d`. Retained for final full gate.
### sd-coordinates-after-query
`src/scene/sdButton/iplSDMenuButton.cpp`. The default-coordinate trial saved f31 because the constant lived across SCGetAspectRatio. Query first, then initialize the two real coordinate locals, so their live ranges contain no call.
code 3120 -> 2240; data 560 -> 560; exact 19 -> 18. Function changes: {"create__Q33ipl5scene12SDMenuButtonFPQ33ipl4nand10LayoutFilePQ33ipl4nand10LayoutFilePQ23EGG4Heap": [100.0, 98.36364]}. Restored.
### debug-planar-constructor-definition
`src/keyboard/tiDebug.cpp`. Define the actually called planar-vertex constructor outside the class before drawBox. Its real z initialization is encountered before the half constant, and ordinary auto-inlining can preserve the target stores.
code 1556 -> 1556; data 24 -> 24; exact 2 -> 2. DOL `26116613f624061ba99c8d1a299aaa6efa85670d`. Retained for final full gate.
### sd-default-helper
`src/scene/sdButton/iplSDMenuButton.cpp`. Put the actual aspect-ratio coordinate calculation in a called helper. This tests the real helper-definition encounter boundary and caller return lifetime while preserving both positions.
code 3120 -> 2240; data 560 -> 560; exact 19 -> 18. Function changes: {"create__Q33ipl5scene12SDMenuButtonFPQ33ipl4nand10LayoutFilePQ33ipl4nand10LayoutFilePQ23EGG4Heap": [100.0, 98.61364]}. Restored.
### sd-return-helper
`src/scene/sdButton/iplSDMenuButton.cpp`. Put the actual aspect-ratio coordinate calculation in a called helper. This tests the real helper-definition encounter boundary and caller return lifetime while preserving both positions.
code 3120 -> 2240; data 560 -> 560; exact 19 -> 18. Function changes: {"create__Q33ipl5scene12SDMenuButtonFPQ33ipl4nand10LayoutFilePQ33ipl4nand10LayoutFilePQ23EGG4Heap": [100.0, 99.97727]}. Restored.
### candidate-empty-string-initializer
`src/keyboard/tiCandidateBox.cpp`. Use a literal empty UTF-16 string for the actual text buffer and remove its explicit_zero_data pragmas. Compare the ordinary string-initializer section choice.
code 21728 -> 21728; data 4652 -> 4620; exact 110 -> 110. Restored.
### sd-default-argument
`src/scene/sdButton/iplSDMenuButton.cpp`. Put the real normal-aspect position in the coordinate helper default argument, with the query completed before the helper call. Both paths consume a real coordinate; compare inline parameter lifetime and branch layout.
code 3120 -> 3120; data 560 -> 560; exact 19 -> 19. DOL `110756887fdc0f3b6c0f5173321b146876ba4759`. Restored.
### sd-aspect-positions-array
`src/scene/sdButton/iplSDMenuButton.cpp`. Use an ordinary constant array of the two actual aspect-ratio positions. Preserve the target branch order and let the real array declaration establish the two constants' order.
code 3120 -> 2240; data 560 -> 560; exact 19 -> 18. Function changes: {"create__Q33ipl5scene12SDMenuButtonFPQ33ipl4nand10LayoutFilePQ33ipl4nand10LayoutFilePQ23EGG4Heap": [100.0, 99.27273]}. DOL `d37db8e767e083a385d25945b3581650bf170284`. Restored.
## Reverb debugger include correction
The first reverb capture failed before allocation. retrowin32 could not resolve `revolution/AXFX.h` against the actual lowercase `revolution/axfx.h`; the normal wibo build handles that case difference. The two owned reverb sources now spell the AXFX, MEM and OS header paths as they exist on disk. No headers, compiler flags or shared tools changed. Retry output is `build/rx67/mwdbg-reverb-case-correct`. The final gate covers these include-only edits.
The corrected reverb retry waited behind the shared debugger queue without starting. Cancelled only rx67 PID 1680542 while its lock was pending. A local copy of the emulator changes only the GDB port immediate from 9001 to 19667, with exactly two bytes changed; the corresponding local driver wrapper changes only its connection port. Compiler, decoding logic and compile flags remain unchanged. Both hashes and the instruction/file offset are recorded in `build/rx67/private-transport.json`. This uses a private lock inside the assigned worktree and cannot interfere with the shared debugger. Independent wibo object validation is required before using this trace.
## Final retained scope and unresolved findings
The full report is unchanged for all 1,027 units, including every measure, function entry and section entry. The 19 changed source files remove 38 force-retention calls, 12 section pragmas, five declspec placements and one force_active on/off pair. All real data-section sizes and raw bytes also equal this worktree's baseline objects. No symbol/split configuration changed.
Named text arrays replace only literals consumed by actual calls. They are ordinary writable definitions, not unused arrays, carrier structures or synthetic references. The other workers' volatile/storage/parameter reconstruction is outside this diff.
All counts below are before -> after against `8fd7e1cedeaf70d194b705c32251d0ab29c79ea6`.
| Source | Exact functions before -> after | Matched code bytes before -> after | Matched data bytes before -> after | Result |
|---|---:|---:|---:|---|
| `src/scene/sdButton/iplSDMenuButton.cpp` | 19/19 -> 19/19 | 3120 -> 3120 | 560 -> 560 | Restored. Normal-first branch reaches create 99.97727%; the default-argument form preserves object measures but swaps the first two floats and fails the DOL. |
| `src/keyboard/tiDebug.cpp` | 2/2 -> 2/2 | 1556 -> 1556 | 24 -> 24 | Removed the forced zero. The four actual planar vertex constructions use an out-of-class constructor whose real z initialization is encountered before 0.5f. |
| `libs/RevoEX/src/wd/WDScan.c` | 5/5 -> 5/5 | 2180 -> 2180 | 16 -> 16 | Removed the redundant read-only placement group. The separate writable OUI group remains; making its zero words mutable moves them to .sbss. Volatile definitions are untouched. |
| `libs/RVL_SDK/src/ipc/ipcProfile.c` | 4/4 -> 4/4 | 452 -> 452 | 264 -> 264 | Removed IpcFdArray retention. Its explicit zero initializer supplies ordinary initialized BSS ordering. |
| `libs/RVL_SDK/src/kpr/kpr_lib.c` | 9/9 -> 9/9 | 1536 -> 1536 | 1104 -> 1104 | Restored. A real byte flag preserves code and the DOL, but data falls 1104 to 1088. Changing the flag to BOOL also changes the instructions. |
| `src/scene/board/iplUrlProcessor.cpp` | 17/17 -> 17/17 | 2488 -> 2488 | 48 -> 48 | Restored. Removing the fake weak function preserves every function and the DOL, but data falls 48 to 24 because the extracted vtable extent includes its four-byte word. |
| `libs/RVL_SDK/src/axfx/AXFXReverbHiExp.c` | 9/9 -> 9/9 | 3892 -> 3892 | 480 -> 480 | Removed the retained literals. The real attenuation expression is evaluated as f32 before passing it as the second argument of pow, establishing -3.0f before the double base. |
| `libs/RVL_SDK/src/axfx/AXFXReverbHiExpDpl2.c` | 9/9 -> 9/9 | 4096 -> 4096 | 512 -> 512 | Same actual attenuation calculation as ReverbHiExp, with all nine functions retained exactly. |
| `src/scene/calendar/iplDate.cpp` | 19/19 -> 19/19 | 2868 -> 2868 | 356 -> 356 | Removed all four section-placement directives through ordinary writable string definitions. The separate unreferenced zero remains because removing it loses eight matched data bytes despite an exact DOL. |
| `src/channelScript/systemmenu/iplCSMtx.cpp` | 29/29 -> 29/29 | 1492 -> 1492 | 232 -> 232 | Removed the MTX34 retention call. The class registration consumes the actual writable class-name array. |
| `src/keyboard/tiPredictLang.cpp` | 36/36 -> 36/36 | 5536 -> 5536 | 2300 -> 2300 | Restored. Removing the synthetic updateFromReceiver reference preserves object measures but changes weak-function link order and the DOL. |
| `src/scene/setting/iplParental.cpp` | 30/30 -> 30/30 | 2376 -> 2376 | 1576 -> 1576 | Restored. Removing the retained unused diagnostics leaves code unchanged but data falls 1576 to 1240. Their genuine emitting functions have not been recovered. |
| `src/channelScript/systemmenu/iplCSPane.cpp` | 36/36 -> 36/36 | 5804 -> 5804 | 672 -> 672 | Removed the fatal-message placement group using its real writable string. The color group remains: a genuine GXColor aggregate adds a shared-base instruction and SetTextColor falls to 88.92308%. |
| `libs/RVL_SDK/src/os/OSNet.c` | 2/2 -> 2/2 | 188 -> 188 | 360 -> 360 | Restored. All eight retained diagnostics lack a source use; deleting them drops data 360 to zero. |
| `libs/RVL_SDK/src/wpad/WPAD.c` | 67/67 -> 67/67 | 31040 -> 31040 | 15096 -> 15096 | Restored. Removing FAKE_ALIGNMENT shifts _wpd from 0x1060 to 0x1050 and changes the initialization address. Natural alignment and explicit handle initialization did not preserve the target code. Shared storage declarations are untouched. |
| `libs/RVL_SDK/src/cnt/cnt.c` | 16/16 -> 16/16 | 2228 -> 2228 | 888 -> 888 | Restored. Deleting three retained strings changes the pool, code 2228 to 1892, and data 888 to 632. No ownership correction is proved. |
| `src/scene/calendar/iplCalendar.cpp` | 42/42 -> 42/42 | 7452 -> 7452 | 1244 -> 1244 | Restored. Removing the forced float preserves functions and the DOL, but data falls 1244 to 516. The target vtable span includes a neighbouring weak vtable and trailing word. |
| `src/channelScript/systemmenu/iplCSSavedata.cpp` | 35/35 -> 35/35 | 5836 -> 5836 | 512 -> 512 | Removed three synthetic retention calls. Explicitly instantiate the three real property getters, using the named compression enum values. |
| `src/scene/channelEdit/iplChanAppBox.cpp` | 13/13 -> 13/13 | 3532 -> 3532 | 536 -> 536 | Removed three section pragmas and five declspec placements. Actual writable text arrays and ordinary float constants select the required sections. |
| `libs/RevoEX/src/cdb/CDBConv.c` | 39/39 -> 39/39 | 4676 -> 4676 | 232 -> 232 | Removed one of two retained formats. Both real Wii-ID sprintf calls consume wiiIdFormat. The unused date format remains. |
| `libs/RVL_SDK/src/os/OSReset.c` | 8/8 -> 8/8 | 1308 -> 1308 | 672 -> 672 | Removed two of six retained strings. The real panic calls consume the filename and hot-reset message arrays. Four unreferenced messages remain. |
| `libs/RevoEX/src/cdb/CDBFileSystem.c` | 12/12 -> 12/12 | 1672 -> 1672 | 952 -> 952 | Removed seven of sixteen retained diagnostics. Actual VF setup logging uses each named format array. Nine strings without recovered source uses remain. |
| `libs/RVL_SDK/src/os/OSExec.c` | 10/10 -> 10/10 | 3476 -> 3476 | 864 -> 864 | Removed one of nine retained diagnostics. Both actual failure reports use the same format array. Eight unreferenced strings remain. |
| `libs/RVL_SDK/src/os/OSThread.c` | 33/33 -> 33/33 | 8232 -> 8232 | 4656 -> 4656 | Restored. Removing IdleThread retention or adding a zero initializer loses 2568 data bytes. External linkage preserves measures but contradicts the target LOCAL symbol and was rejected as unsupported. |
| `src/scene/board/iplFocusObject.cpp` | 89/89 -> 89/89 | 20332 -> 20332 | 2576 -> 2576 | Restored. Eight retained strings have no actual source references; deleting them loses code and data match. Missing real emitting code remains to be recovered. |
| `libs/RVL_SDK/src/usb/usb.c` | 13/13 -> 13/13 | 4396 -> 4396 | 1712 -> 1712 | Removed ten redundant retention calls encountered after real uses and replaced two early ones with arrays consumed by CloseDeviceAsync. Twenty-eight calls without recovered uses remain. |
| `libs/RVL_SDK/src/wud/WUD.c` | 66/66 -> 66/66 | 18852 -> 18852 | 12016 -> 12016 | Removed the retained device-name format through an array consumed by both real logs. Eight unreferenced strings remain. |
| `libs/RVL_SDK/src/dvd/dvd_broadway.c` | 30/30 -> 30/30 | 8900 -> 8900 | 4248 -> 4248 | Removed five retained messages through their real reporting arguments, plus dvdContexts retention through zero initialization. The remaining 27 calls include unused data and missing diagnostics; other workers' fields are unchanged. |
| `src/BS2/BS2Update.c` | 9/10 -> 9/10 | 400 -> 400 | 10488 -> 10488 | Removed the force_active pragma pair around the real getSuffix function. Existing UpdateThread mismatch remains unchanged. |
| `src/keyboard/tiCandidateBox.cpp` | 110/112 -> 110/112 | 21728 -> 21728 | 4652 -> 4652 | Removed three placement groups using actual writable text arrays. The existing empty-buffer explicit_zero_data pragma remains; ordinary empty-string initialization loses 32 matched data bytes. Existing function mismatches and pool_data scope are preserved. |
| `src/utility/iplESMisc.cpp` | 30/31 -> 30/31 | 9404 -> 9404 | 4416 -> 4416 | Restored. Removing eleven retained literals drops code 9404 to 3664 with data unchanged. The real string encounter sites are still missing. |
`pool_diff.py` reports identical pools for all 19 changed units. `ctxdiff.py` reports zero differences and equal instruction counts for 35 selected affected functions. Full gate instruction checks cover every target function in each changed unit. `symorder.py` was run for all 19 units; its raw ORDER MISMATCH messages include renamed anonymous constants and generated weak symbols. These messages are not reported as passes. Data bytes, all target function/section measures and the linked DOL were checked independently.
The first final-check script labeled successful symorder invocations as passed checks even when the raw order text differed. `final-checks/results.json` now records invocation success separately from `order_matches`; all raw output remains available.
Remaining literal-use inventory: `build/rx67/remaining-literal-references.json`. A direct relocation to a pooled section base does not prove a particular string use; the inventory is advisory and does not justify changing unit ownership.
## Reverb allocator confirmation
Both cleaned `__InitParams` functions match the target's pow loop. The target loads the unsigned-conversion bias into f29, -3.0f into f30 and 32000.0f into f31, with the attenuation argument in f2. In both captures those constants are f84, f87 and f89. Their simplify degrees are 22, 19 and 17; reverse priority colors f89 first, then f87, then f84. Each has an empty legal volatile mask because it lives through pow calls, so the allocator requests f31, f30 and f29 in that order. The named attenuation value f32 coalesces directly with physical f2, removing its move. The source local establishes the required constant encounter order without extending a live range or adding an instruction. No allocator divergence remains.
The ReverbHiExp trace and independent wibo object are byte-identical to the normal build object, 7,416 bytes, SHA256 `886fe9f7c96f5129e513e462de826a6da1fdf542d147e1d1a3ff786b8d54b08b`. All 389 CR/FPR/GPR rewrite checks pass. ReverbHiExpDpl2 has the same saved-FPR choice and f32-to-f2 coalescing. Its 7,736-byte object has SHA256 `bcc50914701f8c4847a723a693b9f2e7e6297bf375abda1c4e67c24c4342f990`, and all 397 rewrite checks pass. Its independent object and graph checks are recorded in `build/rx67/mwdbg-reverbdpl2-private/validation-partial.json`. Both captures have one successful allocator pass per register class and no spills.
The standard validator verifies object identity and allocator graphs, then fails its full-function Capstone disassembly on paired-single prologue instructions. This is recorded as a partial validation, not a validator PASS. Separate 201/201 and 205/205 instruction ctxdiff comparisons each report zero differences.
The tiDebug and failed SD-default C++ captures stopped before reaching their requested functions with emulator WRITE_UNMAPPED at compiler PC 0x47e090 and ESP 0xf18. Those failed traces provide no allocator evidence. Normal compiler builds and final gates are unaffected; a preprocessing retry follows.
## C++ debugger retry and final gate
Wibo preprocessing succeeds for tiDebug and the failed SD default-position candidate, but tracing either preprocessed unit fails at the same compiler PC 0x47e090 with WRITE_UNMAPPED and ESP 0xf18, before the requested function. The failure is reproducible both with normal includes and fully expanded source. Neither failed capture is used as allocator proof. Logs are under `build/rx67/mwdbg-debug-preprocessed` and `build/rx67/mwdbg-sd-default-preprocessed`.
For tiDebug the retained constructor change has 100.0 -> 100.0 exact-name objdiff for both drawBox and drawLine and zero ctxdiff differences. Its real z assignment accounts for the earlier zero literal. For SD, the default-position trial adds a saved f31 lifetime across SCGetAspectRatio in the assembly. Moving the query before initialization avoids that particular lifetime but still does not match. The best normal-first branch is 99.97727%, differing in branch direction; the retained original remains 100.0%. These are assembly observations, not successful C++ allocator captures.
The other retained declaration/type/instantiation cleanups show no changed target instructions in the final gate. Their relevant evidence is literal encounter order, section bytes and actual references, rather than an allocator divergence. No register priority explanation is inferred from a pool-offset mismatch.
Final non-quick gate: GATE PASS. Zero regressions, zero added forbidden patterns and zero readability warnings. DOL SHA1 `26116613f624061ba99c8d1a299aaa6efa85670d`. The full gate output is committed in `tools/decomp-assist/rx67.gate.txt`. The explicit regenerated report has identical global measures and identical measures, function entries and section entries for all 1,027 units. Matched functions remain 12,486/12,563, matched code 2,825,224 bytes, matched data 1,832,576 bytes. This round removes source tricks and claims no new function matches.
Recovery commit: `d3f89903`. The second local commit contains the retained consumed-literal arrays, property getter instantiations, planar vertex constructor, reverb include spelling correction, and this final evidence. No pushes, PRs, merges, rebases, config/split changes or edits to another worktree were made.

View File

@@ -0,0 +1,39 @@
# rx67 affected function scores
| Unit | Function | Objdiff before -> after | ctxdiff |
|---|---|---:|---|
| `libs/RVL_SDK/src/axfx/AXFXReverbHiExp` | `__InitParams` | 100.0 -> 100.0 | src 0x324 base 0x324 insns 201/201; diffs 0: [] |
| `libs/RVL_SDK/src/axfx/AXFXReverbHiExpDpl2` | `__InitParams` | 100.0 -> 100.0 | src 0x334 base 0x334 insns 205/205; diffs 0: [] |
| `libs/RVL_SDK/src/dvd/dvd_broadway` | `doTransactionCallback` | 100.0 -> 100.0 | src 0xb8 base 0xb8 insns 46/46; diffs 0: [] |
| `libs/RVL_SDK/src/dvd/dvd_broadway` | `DVDLowOpenPartitionWithTmdAndTicketView` | 100.0 -> 100.0 | src 0x264 base 0x264 insns 153/153; diffs 0: [] |
| `libs/RVL_SDK/src/dvd/dvd_broadway` | `DVDLowInquiry` | 100.0 -> 100.0 | src 0x168 base 0x168 insns 90/90; diffs 0: [] |
| `libs/RVL_SDK/src/dvd/dvd_broadway` | `DVDLowRequestError` | 100.0 -> 100.0 | src 0x168 base 0x168 insns 90/90; diffs 0: [] |
| `libs/RVL_SDK/src/dvd/dvd_broadway` | `DVDLowReset` | 100.0 -> 100.0 | src 0x17c base 0x17c insns 95/95; diffs 0: [] |
| `libs/RVL_SDK/src/ipc/ipcProfile` | `IPCiProfInit` | 100.0 -> 100.0 | src 0xb8 base 0xb8 insns 46/46; diffs 0: [] |
| `libs/RVL_SDK/src/os/OSExec` | `LaunchCommon` | 100.0 -> 100.0 | src 0x4a8 base 0x4a8 insns 298/298; diffs 0: [] |
| `libs/RVL_SDK/src/os/OSReset` | `OSReturnToSetting` | 100.0 -> 100.0 | src 0xbc base 0xbc insns 47/47; diffs 0: [] |
| `libs/RVL_SDK/src/os/OSReset` | `__OSReturnToMenuForError` | 100.0 -> 100.0 | src 0xa4 base 0xa4 insns 41/41; diffs 0: [] |
| `libs/RVL_SDK/src/os/OSReset` | `__OSHotResetForError` | 100.0 -> 100.0 | src 0x58 base 0x58 insns 22/22; diffs 0: [] |
| `libs/RVL_SDK/src/usb/usb` | `IUSB_CloseDeviceAsync` | 100.0 -> 100.0 | src 0x124 base 0x124 insns 73/73; diffs 0: [] |
| `libs/RVL_SDK/src/wud/WUD` | `WUDiGetRegisteredDevice` | 100.0 -> 100.0 | src 0x3bc base 0x3bc insns 239/239; diffs 0: [] |
| `libs/RevoEX/src/cdb/CDBConv` | `CDBGenRootPath` | 100.0 -> 100.0 | src 0xe4 base 0xe4 insns 57/57; diffs 0: [] |
| `libs/RevoEX/src/cdb/CDBFileSystem` | `CDBFSInit` | 100.0 -> 100.0 | src 0x3f8 base 0x3f8 insns 254/254; diffs 0: [] |
| `libs/RevoEX/src/wd/WDScan` | `WDCheckEnableChannel` | 100.0 -> 100.0 | src 0x290 base 0x290 insns 164/164; diffs 0: [] |
| `libs/RevoEX/src/wd/WDScan` | `WDScanOnce` | 100.0 -> 100.0 | src 0x288 base 0x288 insns 162/162; diffs 0: [] |
| `libs/RevoEX/src/wd/WDScan` | `WDGetPrivacyMode` | 100.0 -> 100.0 | src 0x1cc base 0x1cc insns 115/115; diffs 0: [] |
| `libs/RevoEX/src/wd/WDScan` | `WDFindInformationElement` | 100.0 -> 100.0 | src 0x9c base 0x9c insns 39/39; diffs 0: [] |
| `libs/RevoEX/src/wd/WDScan` | `WDiFindVendorSpecificIE` | 100.0 -> 100.0 | src 0x104 base 0x104 insns 65/65; diffs 0: [] |
| `src/BS2/BS2Update` | `getSuffix` | 100.0 -> 100.0 | src 0x30 base 0x30 insns 12/12; diffs 0: [] |
| `src/channelScript/systemmenu/iplCSMtx` | `init__Q33ipl2cs5mtx34FP7CHANSVm` | 100.0 -> 100.0 | src 0x74 base 0x74 insns 29/29; diffs 0: [] |
| `src/channelScript/systemmenu/iplCSPane` | `SetTextColor__Q34nw4r3lyt7TextBoxFUlQ34nw4r2ut5Color` | 100.0 -> 100.0 | src 0xd0 base 0xd0 insns 52/52; diffs 0: [] |
| `src/channelScript/systemmenu/iplCSSavedata` | `get_int<16>__Q33ipl2cs4utilFP7CHANSVmP13CHANSVmObjHdrP13CHANSVmObjHdr_i` | 100.0 -> 100.0 | src 0x34 base 0x34 insns 13/13; diffs 0: [] |
| `src/channelScript/systemmenu/iplCSSavedata` | `get_int<32>__Q33ipl2cs4utilFP7CHANSVmP13CHANSVmObjHdrP13CHANSVmObjHdr_i` | 100.0 -> 100.0 | src 0x34 base 0x34 insns 13/13; diffs 0: [] |
| `src/channelScript/systemmenu/iplCSSavedata` | `get_int<48>__Q33ipl2cs4utilFP7CHANSVmP13CHANSVmObjHdrP13CHANSVmObjHdr_i` | 100.0 -> 100.0 | src 0x34 base 0x34 insns 13/13; diffs 0: [] |
| `src/keyboard/tiCandidateBox` | `create__Q39textinput12candidatebox4BaseFP12MEMAllocator` | 100.0 -> 100.0 | src 0x5c base 0x5c insns 23/23; diffs 0: [] |
| `src/keyboard/tiCandidateBox` | `init__Q39textinput12candidatebox12LayoutByNW4RFv` | 100.0 -> 100.0 | src 0x3cc base 0x3cc insns 243/243; diffs 0: [] |
| `src/keyboard/tiDebug` | `drawBox___Q29textinput5debugFffffffR8_GXColor` | 100.0 -> 100.0 | src 0x374 base 0x374 insns 221/221; diffs 0: [] |
| `src/keyboard/tiDebug` | `drawLine___Q29textinput5debugFfffffUcR8_GXColor` | 100.0 -> 100.0 | src 0x2a0 base 0x2a0 insns 168/168; diffs 0: [] |
| `src/scene/calendar/iplDate` | `__ct__Q33ipl5scene4DateFPQ23EGG4HeapPQ33ipl4nand10LayoutFilePCcPCc` | 100.0 -> 100.0 | src 0x208 base 0x208 insns 130/130; diffs 0: [] |
| `src/scene/calendar/iplDate` | `set_textbox__Q33ipl5scene4DateFi` | 100.0 -> 100.0 | src 0x140 base 0x140 insns 80/80; diffs 0: [] |
| `src/scene/channelEdit/iplChanAppBox` | `__ct__Q33ipl5scene10ChanAppBoxFPQ23EGG4HeapPQ33ipl4nand10LayoutFilePCcPCc` | 100.0 -> 100.0 | src 0x2f0 base 0x2f0 insns 188/188; diffs 0: [] |
| `src/scene/channelEdit/iplChanAppBox` | `update__Q33ipl5scene10ChanAppBoxFv` | 100.0 -> 100.0 | src 0x8 base 0x8 insns 2/2; diffs 0: [] |

View File

@@ -0,0 +1,170 @@
full build: ok
main.dol sha1: 26116613f624061ba99c8d1a299aaa6efa85670d
[libs/RVL_SDK/src/axfx/AXFXReverbHiExp] pool: IDENTICAL
[libs/RVL_SDK/src/axfx/AXFXReverbHiExp] objdiff: code 3892/3892 data 480/480 functions 9/9 fuzzy 100.0000 linked code 3892
[libs/RVL_SDK/src/axfx/AXFXReverbHiExp] instruction-exact functions: 9/9
[libs/RVL_SDK/src/axfx/AXFXReverbHiExp] section .data size 416 match 100.0
[libs/RVL_SDK/src/axfx/AXFXReverbHiExp] section .sdata2 size 64 match 100.0
[libs/RVL_SDK/src/axfx/AXFXReverbHiExp] section .text size 3892 match 100.0
[libs/RVL_SDK/src/axfx/AXFXReverbHiExp] baseline: code 3892/3892 data 480 functions 9 fuzzy 100.0000
[libs/RVL_SDK/src/axfx/AXFXReverbHiExpDpl2] pool: IDENTICAL
[libs/RVL_SDK/src/axfx/AXFXReverbHiExpDpl2] objdiff: code 4096/4096 data 512/512 functions 9/9 fuzzy 100.0000 linked code 4096
[libs/RVL_SDK/src/axfx/AXFXReverbHiExpDpl2] instruction-exact functions: 9/9
[libs/RVL_SDK/src/axfx/AXFXReverbHiExpDpl2] section .data size 448 match 100.0
[libs/RVL_SDK/src/axfx/AXFXReverbHiExpDpl2] section .sdata2 size 64 match 100.0
[libs/RVL_SDK/src/axfx/AXFXReverbHiExpDpl2] section .text size 4096 match 100.0
[libs/RVL_SDK/src/axfx/AXFXReverbHiExpDpl2] baseline: code 4096/4096 data 512 functions 9 fuzzy 100.0000
[libs/RVL_SDK/src/dvd/dvd_broadway] pool: IDENTICAL
[libs/RVL_SDK/src/dvd/dvd_broadway] objdiff: code 8900/8900 data 4248/4248 functions 30/30 fuzzy 100.0000 linked code 8900
[libs/RVL_SDK/src/dvd/dvd_broadway] instruction-exact functions: 30/30
[libs/RVL_SDK/src/dvd/dvd_broadway] section .bss size 416 match 100.0
[libs/RVL_SDK/src/dvd/dvd_broadway] section .data size 3776 match 100.0
[libs/RVL_SDK/src/dvd/dvd_broadway] section .sbss size 40 match 100.0
[libs/RVL_SDK/src/dvd/dvd_broadway] section .sdata size 16 match 100.0
[libs/RVL_SDK/src/dvd/dvd_broadway] section .text size 8900 match 100.0
[libs/RVL_SDK/src/dvd/dvd_broadway] baseline: code 8900/8900 data 4248 functions 30 fuzzy 100.0000
[libs/RVL_SDK/src/ipc/ipcProfile] pool: IDENTICAL
[libs/RVL_SDK/src/ipc/ipcProfile] objdiff: code 452/452 data 264/264 functions 4/4 fuzzy 100.0000 linked code 452
[libs/RVL_SDK/src/ipc/ipcProfile] instruction-exact functions: 4/4
[libs/RVL_SDK/src/ipc/ipcProfile] section .bss size 256 match 100.0
[libs/RVL_SDK/src/ipc/ipcProfile] section .sbss size 8 match 100.0
[libs/RVL_SDK/src/ipc/ipcProfile] section .text size 452 match 100.0
[libs/RVL_SDK/src/ipc/ipcProfile] baseline: code 452/452 data 264 functions 4 fuzzy 100.0000
[libs/RVL_SDK/src/os/OSExec] pool: IDENTICAL
[libs/RVL_SDK/src/os/OSExec] objdiff: code 3476/3476 data 864/864 functions 10/10 fuzzy 100.0000 linked code 3476
[libs/RVL_SDK/src/os/OSExec] instruction-exact functions: 10/10
[libs/RVL_SDK/src/os/OSExec] section .data size 848 match 100.0
[libs/RVL_SDK/src/os/OSExec] section .sbss size 8 match 100.0
[libs/RVL_SDK/src/os/OSExec] section .sdata size 8 match 100.0
[libs/RVL_SDK/src/os/OSExec] section .text size 3476 match 100.0
[libs/RVL_SDK/src/os/OSExec] baseline: code 3476/3476 data 864 functions 10 fuzzy 100.0000
[libs/RVL_SDK/src/os/OSReset] pool: IDENTICAL
[libs/RVL_SDK/src/os/OSReset] objdiff: code 1308/1308 data 672/672 functions 8/8 fuzzy 100.0000 linked code 1308
[libs/RVL_SDK/src/os/OSReset] instruction-exact functions: 8/8
[libs/RVL_SDK/src/os/OSReset] section .data size 648 match 100.0
[libs/RVL_SDK/src/os/OSReset] section .sbss size 16 match 100.0
[libs/RVL_SDK/src/os/OSReset] section .sdata size 8 match 100.0
[libs/RVL_SDK/src/os/OSReset] section .text size 1308 match 100.0
[libs/RVL_SDK/src/os/OSReset] baseline: code 1308/1308 data 672 functions 8 fuzzy 100.0000
[libs/RVL_SDK/src/usb/usb] pool: IDENTICAL
[libs/RVL_SDK/src/usb/usb] objdiff: code 4396/4396 data 1712/1712 functions 13/13 fuzzy 100.0000 linked code 4396
[libs/RVL_SDK/src/usb/usb] instruction-exact functions: 13/13
[libs/RVL_SDK/src/usb/usb] section .data size 1680 match 100.0
[libs/RVL_SDK/src/usb/usb] section .sbss size 16 match 100.0
[libs/RVL_SDK/src/usb/usb] section .sdata size 16 match 100.0
[libs/RVL_SDK/src/usb/usb] section .text size 4396 match 100.0
[libs/RVL_SDK/src/usb/usb] baseline: code 4396/4396 data 1712 functions 13 fuzzy 100.0000
[libs/RVL_SDK/src/wud/WUD] pool: IDENTICAL
[libs/RVL_SDK/src/wud/WUD] objdiff: code 18852/18852 data 12016/12016 functions 66/66 fuzzy 100.0000 linked code 18852
[libs/RVL_SDK/src/wud/WUD] instruction-exact functions: 66/66
[libs/RVL_SDK/src/wud/WUD] section .bss size 8104 match 100.0
[libs/RVL_SDK/src/wud/WUD] section .data size 3864 match 100.0
[libs/RVL_SDK/src/wud/WUD] section .sbss size 32 match 100.0
[libs/RVL_SDK/src/wud/WUD] section .sdata size 8 match 100.0
[libs/RVL_SDK/src/wud/WUD] section .sdata2 size 8 match 100.0
[libs/RVL_SDK/src/wud/WUD] section .text size 18852 match 100.0
[libs/RVL_SDK/src/wud/WUD] baseline: code 18852/18852 data 12016 functions 66 fuzzy 100.0000
[libs/RevoEX/src/cdb/CDBConv] pool: IDENTICAL
[libs/RevoEX/src/cdb/CDBConv] objdiff: code 4676/4676 data 232/232 functions 39/39 fuzzy 100.0000 linked code 4676
[libs/RevoEX/src/cdb/CDBConv] instruction-exact functions: 39/39
[libs/RevoEX/src/cdb/CDBConv] section .data size 176 match 100.0
[libs/RevoEX/src/cdb/CDBConv] section .sdata size 56 match 100.0
[libs/RevoEX/src/cdb/CDBConv] section .text size 4676 match 100.0
[libs/RevoEX/src/cdb/CDBConv] baseline: code 4676/4676 data 232 functions 39 fuzzy 100.0000
[libs/RevoEX/src/cdb/CDBFileSystem] pool: IDENTICAL
[libs/RevoEX/src/cdb/CDBFileSystem] objdiff: code 1672/1672 data 952/952 functions 12/12 fuzzy 100.0000 linked code 1672
[libs/RevoEX/src/cdb/CDBFileSystem] instruction-exact functions: 12/12
[libs/RevoEX/src/cdb/CDBFileSystem] section .bss size 128 match 100.0
[libs/RevoEX/src/cdb/CDBFileSystem] section .data size 800 match 100.0
[libs/RevoEX/src/cdb/CDBFileSystem] section .sbss size 8 match 100.0
[libs/RevoEX/src/cdb/CDBFileSystem] section .sdata size 16 match 100.0
[libs/RevoEX/src/cdb/CDBFileSystem] section .text size 1672 match 100.0
[libs/RevoEX/src/cdb/CDBFileSystem] baseline: code 1672/1672 data 952 functions 12 fuzzy 100.0000
[libs/RevoEX/src/wd/WDScan] pool: IDENTICAL
[libs/RevoEX/src/wd/WDScan] objdiff: code 2180/2180 data 16/16 functions 5/5 fuzzy 100.0000 linked code 2180
[libs/RevoEX/src/wd/WDScan] instruction-exact functions: 5/5
[libs/RevoEX/src/wd/WDScan] section .sdata size 8 match 100.0
[libs/RevoEX/src/wd/WDScan] section .sdata2 size 8 match 100.0
[libs/RevoEX/src/wd/WDScan] section .text size 2180 match 100.0
[libs/RevoEX/src/wd/WDScan] baseline: code 2180/2180 data 16 functions 5 fuzzy 100.0000
[src/BS2/BS2Update] pool: IDENTICAL
[src/BS2/BS2Update] objdiff: code 400/4052 data 10488/10488 functions 9/10 fuzzy 95.7088 linked code 0
[src/BS2/BS2Update] instruction-exact functions: 9/10
[src/BS2/BS2Update] section .bss size 9056 match 100.0
[src/BS2/BS2Update] section .data size 1328 match 100.0
[src/BS2/BS2Update] section .sbss size 80 match 100.0
[src/BS2/BS2Update] section .sdata size 24 match 100.0
[src/BS2/BS2Update] section .text size 4052 match 95.708786
[src/BS2/BS2Update] below 100: UpdateThread 95.23877
[src/BS2/BS2Update] baseline: code 400/4052 data 10488 functions 9 fuzzy 95.7088
[src/channelScript/systemmenu/iplCSMtx] pool: IDENTICAL
[src/channelScript/systemmenu/iplCSMtx] objdiff: code 1492/1492 data 232/232 functions 29/29 fuzzy 100.0000 linked code 1492
[src/channelScript/systemmenu/iplCSMtx] instruction-exact functions: 29/29
[src/channelScript/systemmenu/iplCSMtx] section .rodata size 160 match 100.0
[src/channelScript/systemmenu/iplCSMtx] section .sdata size 56 match 100.0
[src/channelScript/systemmenu/iplCSMtx] section .sdata2 size 16 match 100.0
[src/channelScript/systemmenu/iplCSMtx] section .text size 1492 match 100.0
[src/channelScript/systemmenu/iplCSMtx] baseline: code 1492/1492 data 232 functions 29 fuzzy 100.0000
[src/channelScript/systemmenu/iplCSPane] pool: IDENTICAL
[src/channelScript/systemmenu/iplCSPane] objdiff: code 5804/5804 data 672/672 functions 36/36 fuzzy 100.0000 linked code 5804
[src/channelScript/systemmenu/iplCSPane] instruction-exact functions: 36/36
[src/channelScript/systemmenu/iplCSPane] section .data size 352 match 100.0
[src/channelScript/systemmenu/iplCSPane] section .rodata size 240 match 100.0
[src/channelScript/systemmenu/iplCSPane] section .sdata size 72 match 100.0
[src/channelScript/systemmenu/iplCSPane] section .sdata2 size 8 match 100.0
[src/channelScript/systemmenu/iplCSPane] section .text size 5804 match 100.0
[src/channelScript/systemmenu/iplCSPane] baseline: code 5804/5804 data 672 functions 36 fuzzy 100.0000
[src/channelScript/systemmenu/iplCSSavedata] pool: IDENTICAL
[src/channelScript/systemmenu/iplCSSavedata] objdiff: code 5836/5836 data 512/512 functions 35/35 fuzzy 100.0000 linked code 5836
[src/channelScript/systemmenu/iplCSSavedata] instruction-exact functions: 35/35
[src/channelScript/systemmenu/iplCSSavedata] section .data size 200 match 100.0
[src/channelScript/systemmenu/iplCSSavedata] section .rodata size 208 match 100.0
[src/channelScript/systemmenu/iplCSSavedata] section .sdata size 104 match 100.0
[src/channelScript/systemmenu/iplCSSavedata] section .text size 5836 match 100.0
[src/channelScript/systemmenu/iplCSSavedata] baseline: code 5836/5836 data 512 functions 35 fuzzy 100.0000
[src/keyboard/tiCandidateBox] pool: IDENTICAL
[src/keyboard/tiCandidateBox] objdiff: code 21728/24000 data 4652/4652 functions 110/112 fuzzy 99.7107 linked code 0
[src/keyboard/tiCandidateBox] instruction-exact functions: 110/112
[src/keyboard/tiCandidateBox] section .ctors size 4 match 100.0
[src/keyboard/tiCandidateBox] section .data size 3488 match 100.0
[src/keyboard/tiCandidateBox] section .rodata size 1048 match 100.0
[src/keyboard/tiCandidateBox] section .sdata size 32 match 100.0
[src/keyboard/tiCandidateBox] section .sdata2 size 80 match 100.0
[src/keyboard/tiCandidateBox] section .text size 24000 match 99.71067
[src/keyboard/tiCandidateBox] below 100: create__Q39textinput12candidatebox12LayoutByNW4RFP12MEMAllocator 95.99148
[src/keyboard/tiCandidateBox] below 100: createAnmPane___Q39textinput12candidatebox12LayoutByNW4RFP12MEMAllocator 98.49537
[src/keyboard/tiCandidateBox] baseline: code 21728/24000 data 4652 functions 110 fuzzy 99.7107
[src/keyboard/tiDebug] pool: IDENTICAL
[src/keyboard/tiDebug] objdiff: code 1556/1556 data 24/24 functions 2/2 fuzzy 100.0000 linked code 1556
[src/keyboard/tiDebug] instruction-exact functions: 2/2
[src/keyboard/tiDebug] section .sdata2 size 24 match 100.0
[src/keyboard/tiDebug] section .text size 1556 match 100.0
[src/keyboard/tiDebug] baseline: code 1556/1556 data 24 functions 2 fuzzy 100.0000
[src/scene/calendar/iplDate] pool: IDENTICAL
[src/scene/calendar/iplDate] objdiff: code 2868/2868 data 356/356 functions 19/19 fuzzy 100.0000 linked code 2868
[src/scene/calendar/iplDate] instruction-exact functions: 19/19
[src/scene/calendar/iplDate] section .bss size 40 match 100.0
[src/scene/calendar/iplDate] section .ctors size 4 match 100.0
[src/scene/calendar/iplDate] section .data size 104 match 100.0
[src/scene/calendar/iplDate] section .rodata size 168 match 100.0
[src/scene/calendar/iplDate] section .sdata size 32 match 100.0
[src/scene/calendar/iplDate] section .sdata2 size 8 match 100.0
[src/scene/calendar/iplDate] section .text size 2868 match 100.0
[src/scene/calendar/iplDate] baseline: code 2868/2868 data 356 functions 19 fuzzy 100.0000
[src/scene/channelEdit/iplChanAppBox] pool: IDENTICAL
[src/scene/channelEdit/iplChanAppBox] objdiff: code 3532/3532 data 536/536 functions 13/13 fuzzy 100.0000 linked code 3532
[src/scene/channelEdit/iplChanAppBox] instruction-exact functions: 13/13
[src/scene/channelEdit/iplChanAppBox] section .data size 480 match 100.0
[src/scene/channelEdit/iplChanAppBox] section .rodata size 16 match 100.0
[src/scene/channelEdit/iplChanAppBox] section .sdata size 24 match 100.0
[src/scene/channelEdit/iplChanAppBox] section .sdata2 size 16 match 100.0
[src/scene/channelEdit/iplChanAppBox] section .text size 3532 match 100.0
[src/scene/channelEdit/iplChanAppBox] baseline: code 3532/3532 data 536 functions 13 fuzzy 100.0000
regressions vs baseline: 0
global matched_code_percent: 94.32581 -> 94.32581
global fuzzy_match_percent: 99.82009 -> 99.82009
global complete_code_percent: 81.01454 -> 81.01454
global matched_data_percent: 99.99410 -> 99.99410
forbidden patterns added (net, per file): 0
readability warnings (net, per file; must be 0 in the final result): 0
GATE PASS