Compare commits
8 Commits
agent/link
...
cleanup/cd
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
201c182666 | ||
|
|
22dd088277 | ||
|
|
1bbc40cb3b | ||
|
|
e6bf9cc669 | ||
|
|
ffd9cc4a69 | ||
|
|
eb8f78788d | ||
|
|
889823ed67 | ||
|
|
7dea4122fc |
@@ -53,9 +53,9 @@ Progress
|
||||
<!-- progress:start -->
|
||||
| Decompiled | Matched | Linked | Data |
|
||||
|:---:|:---:|:---:|:---:|
|
||||
| 99.37% | 87.72% | 62.05% | 92.06% |
|
||||
| 99.37% | 87.79% | 62.05% | 92.06% |
|
||||
|
||||
units 918/1027 complete, functions 12215/12563 matched.
|
||||
units 918/1027 complete, functions 12216/12563 matched.
|
||||
|
||||
decompiled = code with a C/C++ implementation (objdiff fuzzy), matched = byte-exact code, linked = code actually linked into the DOL, data = byte-exact data
|
||||
<!-- progress:end -->
|
||||
|
||||
@@ -14736,7 +14736,7 @@ lbl_81639189 = .data:0x81639189; // type:object size:0x39 data:string
|
||||
jumptable_816391C4 = .data:0x816391C4; // type:object size:0x30 scope:local
|
||||
__vt__Q33ipl8savedata7Manager = .data:0x816391F4; // type:object size:0xC
|
||||
__vt__Q33ipl7channel9RsoThread = .data:0x81639200; // type:object size:0x2C
|
||||
lbl_81639230 = .data:0x81639230; // type:object size:0x41 data:string
|
||||
scRsoFatalMsg = .data:0x81639230; // type:object size:0x41 data:string
|
||||
jumptable_81639278 = .data:0x81639278; // type:object size:0x44 scope:local
|
||||
lbl_816392BC = .data:0x816392BC; // type:object size:0xB data:string
|
||||
lbl_816392C7 = .data:0x816392C7; // type:object size:0x11 data:string
|
||||
@@ -15968,21 +15968,21 @@ s_time_num__Q23ipl5scene = .data:0x8164E1D8; // type:object size:0x28 scope:loca
|
||||
@10797 = .data:0x8164E251; // type:object size:0x1A scope:local data:string
|
||||
@10804 = .data:0x8164E26B; // type:object size:0x19 scope:local data:string
|
||||
@10848 = .data:0x8164E284; // type:object size:0xA scope:local data:string
|
||||
lbl_8164E290 = .data:0x8164E290; // type:object size:0x9 data:string
|
||||
scCursur_a = .data:0x8164E290; // type:object size:0x9 data:string
|
||||
lbl_8164E299 = .data:0x8164E299; // type:object size:0x1B data:string
|
||||
lbl_8164E2B4 = .data:0x8164E2B4; // type:object size:0x1A data:string
|
||||
lbl_8164E2CE = .data:0x8164E2CE; // type:object size:0x19 data:string
|
||||
lbl_8164E2E8 = .data:0x8164E2E8; // type:object size:0xC
|
||||
lbl_8164E2F4 = .data:0x8164E2F4; // type:object size:0xA data:string
|
||||
lbl_8164E300 = .data:0x8164E300; // type:object size:0x28
|
||||
lbl_8164E328 = .data:0x8164E328; // type:object size:0x387
|
||||
lbl_8164E6AF = .data:0x8164E6AF; // type:object size:0x20
|
||||
lbl_8164E6CF = .data:0x8164E6CF; // type:object size:0x12 data:string
|
||||
lbl_8164E6E1 = .data:0x8164E6E1; // type:object size:0x12 data:string
|
||||
lbl_8164E6F3 = .data:0x8164E6F3; // type:object size:0x12 data:string
|
||||
lbl_8164E705 = .data:0x8164E705; // type:object size:0x19 data:string
|
||||
lbl_8164E71E = .data:0x8164E71E; // type:object size:0x26 data:string
|
||||
lbl_8164E744 = .data:0x8164E744; // type:object size:0x1F data:string
|
||||
scModuleData = .data:0x8164E328; // type:object size:0x387
|
||||
scBrlan_RsoFmt = .data:0x8164E6AF; // type:object size:0x20
|
||||
scBrlyt_my_IplTop_b = .data:0x8164E6CF; // type:object size:0x12 data:string
|
||||
scBrlan_my_IplTop_b = .data:0x8164E6E1; // type:object size:0x12 data:string
|
||||
scBrlyt_my_IplTop_d = .data:0x8164E6F3; // type:object size:0x12 data:string
|
||||
scBrlyt_my_IplTopBalloon_a = .data:0x8164E705; // type:object size:0x19 data:string
|
||||
scBrlan_BalloonInOut = .data:0x8164E71E; // type:object size:0x26 data:string
|
||||
scSE_BALLOON = .data:0x8164E744; // type:object size:0x1F data:string
|
||||
scGroup_G_FocusBtnA = .data:0x8164E768; // type:object size:0xC data:string
|
||||
scGroup_G_FocusBtnB = .data:0x8164E774; // type:object size:0xC data:string
|
||||
scGroup_G_SelectBtnA = .data:0x8164E780; // type:object size:0xD data:string
|
||||
@@ -18235,13 +18235,13 @@ jumptable_8166B3D0 = .data:0x8166B3D0; // type:object size:0x30 scope:local
|
||||
@1137 = .data:0x8166B450; // type:object size:0x22 scope:local data:string
|
||||
jumptable_8166B478 = .data:0x8166B478; // type:object size:0x30 scope:local
|
||||
lbl_8166B4B8 = .data:0x8166B4B8; // type:object size:0x70
|
||||
lbl_8166B528 = .data:0x8166B528; // type:object size:0x25 data:string
|
||||
lbl_8166B550 = .data:0x8166B550; // type:object size:0x29 data:string
|
||||
lbl_8166B57C = .data:0x8166B57C; // type:object size:0x2B data:string
|
||||
lbl_8166B5A8 = .data:0x8166B5A8; // type:object size:0xD data:string
|
||||
lbl_8166B5B8 = .data:0x8166B5B8; // type:object size:0x15 data:string
|
||||
lbl_8166B5D0 = .data:0x8166B5D0; // type:object size:0x46 data:string
|
||||
lbl_8166B618 = .data:0x8166B618; // type:object size:0x48 data:string
|
||||
scCdbMsg_DatabaseClosed = .data:0x8166B528; // type:object size:0x25 data:string
|
||||
scCdbMsg_CantCreateRecordClosed = .data:0x8166B550; // type:object size:0x29 data:string
|
||||
scCdbMsg_CantCreateRecordReadonly = .data:0x8166B57C; // type:object size:0x2B data:string
|
||||
scCdbMsg_InvalidKey = .data:0x8166B5A8; // type:object size:0xD data:string
|
||||
scCdbMsg_FileNotFound = .data:0x8166B5B8; // type:object size:0x15 data:string
|
||||
scCdbMsg_CantCleanupDirsClosed = .data:0x8166B5D0; // type:object size:0x46 data:string
|
||||
scCdbMsg_CantCleanupDirsReadonly = .data:0x8166B618; // type:object size:0x48 data:string
|
||||
@1360 = .data:0x8166B660; // type:object size:0x12 scope:local data:string
|
||||
...data.0 = .data:0x8166B660; // type:label scope:local
|
||||
@1362 = .data:0x8166B674; // type:object size:0x1C scope:local data:string
|
||||
@@ -18453,7 +18453,7 @@ __FUNCTION__$1195 = .data:0x8166E0FC; // type:object size:0x1C scope:local data:
|
||||
__FUNCTION__$1217 = .data:0x8166E118; // type:object size:0x1C scope:local data:string
|
||||
__FUNCTION__$1255 = .data:0x8166E134; // type:object size:0x14 scope:local data:string
|
||||
__FUNCTION__$1287 = .data:0x8166E148; // type:object size:0x18 scope:local data:string
|
||||
lbl_8166E160 = .data:0x8166E160; // type:object size:0x1A data:string
|
||||
scNwc24FlPath = .data:0x8166E160; // type:object size:0x1A data:string
|
||||
@583 = .data:0x8166E180; // type:object size:0x1B scope:local data:string
|
||||
__FUNCTION__$1123 = .data:0x8166E1A0; // type:object size:0x18 scope:local data:string
|
||||
@1300 = .data:0x8166E1B8; // type:object size:0x11 scope:local data:string
|
||||
@@ -20192,7 +20192,7 @@ lbl_816944EB = .sdata2:0x816944EB; // type:object size:0x1 data:byte
|
||||
@23221 = .sdata2:0x81694588; // type:object size:0x8 scope:local align:8 data:double
|
||||
lbl_81694590 = .sdata2:0x81694590; // type:object size:0x4 align:4 data:float
|
||||
lbl_81694594 = .sdata2:0x81694594; // type:object size:0x4 align:4 data:float
|
||||
lbl_81694598 = .sdata2:0x81694598; // type:object size:0x4 align:4 data:float
|
||||
scRsoZeroF = .sdata2:0x81694598; // type:object size:0x4 align:4 data:float
|
||||
lbl_816945A0 = .sdata2:0x816945A0; // type:object size:0x4 align:4 data:float
|
||||
lbl_816945A4 = .sdata2:0x816945A4; // type:object size:0x4 align:4 data:float
|
||||
lbl_816945A8 = .sdata2:0x816945A8; // type:object size:0x4 align:4 data:float
|
||||
@@ -21548,11 +21548,11 @@ lbl_81696220 = .sdata:0x81696220; // type:object size:0x2 data:string
|
||||
lbl_81696222 = .sdata:0x81696222; // type:object size:0x2
|
||||
lbl_81696224 = .sdata:0x81696224; // type:object size:0x6 data:wstring
|
||||
lbl_8169622A = .sdata:0x8169622A; // type:object size:0x2
|
||||
lbl_8169622C = .sdata:0x8169622C; // type:object size:0x1 data:byte
|
||||
lbl_8169622D = .sdata:0x8169622D; // type:object size:0x1 data:byte
|
||||
lbl_8169622E = .sdata:0x8169622E; // type:object size:0x1 data:byte
|
||||
lbl_8169622F = .sdata:0x8169622F; // type:object size:0x1 data:byte
|
||||
scTvrcFileHeader = .sdata:0x81696230; // type:object size:0x5 data:string
|
||||
scRsoFatalColorR = .sdata:0x8169622C; // type:object size:0x1 data:byte
|
||||
scRsoFatalColorG = .sdata:0x8169622D; // type:object size:0x1 data:byte
|
||||
scRsoFatalColorB = .sdata:0x8169622E; // type:object size:0x1 data:byte
|
||||
scRsoFatalColorA = .sdata:0x8169622F; // type:object size:0x1 data:byte
|
||||
lbl_81696230 = .sdata:0x81696230; // type:object size:0x5 data:string
|
||||
TVRC_FILE_HEADER__7LibTVRC = .sdata:0x81696238; // type:object size:0x4 data:4byte
|
||||
__tienHoseiNsec__7LibTVRC = .sdata:0x8169623C; // type:object size:0x4 data:4byte
|
||||
_limitMilli__7LibTVRC = .sdata:0x81696240; // type:object size:0x4 data:4byte
|
||||
@@ -21858,11 +21858,11 @@ lbl_816968F5 = .sdata:0x816968F5; // type:object size:0x4 data:string
|
||||
@10922 = .sdata:0x81696992; // type:object size:0x3 scope:local data:string
|
||||
@10923 = .sdata:0x81696995; // type:object size:0x3 scope:local data:string
|
||||
lbl_81696998 = .sdata:0x81696998; // type:object size:0x4 data:4byte
|
||||
lbl_8169699C = .sdata:0x8169699C; // type:object size:0x4 data:4byte
|
||||
scPaneName_T_Balloon = .sdata:0x8169699C; // type:object size:0x4 data:4byte
|
||||
lbl_816969A0 = .sdata:0x816969A0; // type:object size:0x7 data:string
|
||||
lbl_816969A8 = .sdata:0x816969A8; // type:object size:0x4 data:4byte
|
||||
scPaneName_W_Base = .sdata:0x816969A8; // type:object size:0x4 data:4byte
|
||||
lbl_816969AC = .sdata:0x816969AC; // type:object size:0x8 data:string
|
||||
lbl_816969B4 = .sdata:0x816969B4; // type:object size:0x4 data:4byte
|
||||
scPaneName_W_Shade = .sdata:0x816969B4; // type:object size:0x4 data:4byte
|
||||
lbl_816969B8 = .sdata:0x816969B8; // type:object size:0x4 data:string
|
||||
lbl_816969BC = .sdata:0x816969BC; // type:object size:0x4 data:string
|
||||
lbl_816969C0 = .sdata:0x816969C0; // type:object size:0x4 data:string
|
||||
@@ -21872,9 +21872,9 @@ lbl_816969CC = .sdata:0x816969CC; // type:object size:0x4 data:string
|
||||
lbl_816969D0 = .sdata:0x816969D0; // type:object size:0x4 data:string
|
||||
lbl_816969D4 = .sdata:0x816969D4; // type:object size:0x4 data:string
|
||||
lbl_816969D8 = .sdata:0x816969D8; // type:object size:0x4 data:string
|
||||
lbl_816969DC = .sdata:0x816969DC; // type:object size:0x5 data:string
|
||||
lbl_816969E1 = .sdata:0x816969E1; // type:object size:0x7 data:string
|
||||
lbl_816969E8 = .sdata:0x816969E8; // type:object size:0x4 data:string
|
||||
scExport_Calc = .sdata:0x816969DC; // type:object size:0x5 data:string
|
||||
scExport_Create = .sdata:0x816969E1; // type:object size:0x7 data:string
|
||||
scArc = .sdata:0x816969E8; // type:object size:0x4 data:string
|
||||
lbl_816969EC = .sdata:0x816969EC; // type:object size:0x6 data:string
|
||||
lbl_816969F2 = .sdata:0x816969F2; // type:object size:0x5 data:string
|
||||
lbl_816969F7 = .sdata:0x816969F7; // type:object size:0x4 data:string
|
||||
|
||||
@@ -247,7 +247,7 @@ config.asflags = [
|
||||
"-I include",
|
||||
f"-I build/{config.version}/include",
|
||||
f"--defsym BUILD_VERSION={version_num}",
|
||||
f"--defsym VERSION_{config.version}=1",
|
||||
f"--defsym VERSION_{config.version}",
|
||||
]
|
||||
config.ldflags = [
|
||||
"-fp hardware",
|
||||
@@ -1697,7 +1697,7 @@ config.libs = [
|
||||
Object(Matching, "fa/pf_entry.c"),
|
||||
Object(NonMatching, "fa/pf_entry_iterator.c"),
|
||||
Object(NonMatching, "fa/pf_fat.c"),
|
||||
Object(Matching, "fa/pf_fat12.c", source="fa/pf_fat12.s"),
|
||||
Object(NonMatching, "fa/pf_fat12.c"),
|
||||
Object(Matching, "fa/pf_fat16.c"),
|
||||
Object(Matching, "fa/pf_fat32.c"),
|
||||
Object(Matching, "fa/pf_fatfs.c"),
|
||||
|
||||
@@ -133,7 +133,11 @@ namespace textinput {
|
||||
friend class Base;
|
||||
public:
|
||||
RowInfoManager(u16 maxLength) : mpInfo(NULL), mMaxLength(maxLength), mpAllocator(NULL) {}
|
||||
#ifdef TIINPUTFORM_IMPLEMENTATION
|
||||
void init() __attribute__((never_inline));
|
||||
#else
|
||||
void init();
|
||||
#endif
|
||||
~RowInfoManager();
|
||||
#endif
|
||||
private:
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// Matching build uses pf_fat12.s (retail extract); keep C for reference.
|
||||
#define PF_FA_STR_LAYOUT
|
||||
#define VFiPFCACHE_ReadFATPage PFCACHE_ReadFATPage
|
||||
#define VFiPFCACHE_UpdateModifiedSector PFCACHE_UpdateModifiedSector
|
||||
|
||||
@@ -1,618 +0,0 @@
|
||||
.include "macros.inc"
|
||||
.file "pf_fat12.c"
|
||||
|
||||
# 0x815D71CC..0x815D7A40 | size: 0x874
|
||||
.text
|
||||
.balign 4
|
||||
|
||||
# .text:0x0 | 0x815D71CC | size: 0x194
|
||||
.fn PFFAT12_ReadFATEntry, global
|
||||
/* 815D71CC 002A76EC 94 21 FF D0 */ stwu r1, -0x30(r1)
|
||||
/* 815D71D0 002A76F0 7C 08 02 A6 */ mflr r0
|
||||
/* 815D71D4 002A76F4 90 01 00 34 */ stw r0, 0x34(r1)
|
||||
/* 815D71D8 002A76F8 39 61 00 30 */ addi r11, r1, 0x30
|
||||
/* 815D71DC 002A76FC 48 02 22 DD */ bl _savegpr_25
|
||||
/* 815D71E0 002A7700 7C 80 0E 70 */ srawi r0, r4, 1
|
||||
/* 815D71E4 002A7704 A1 23 00 18 */ lhz r9, 0x18(r3)
|
||||
/* 815D71E8 002A7708 7C 04 02 14 */ add r0, r4, r0
|
||||
/* 815D71EC 002A770C 88 E3 00 20 */ lbz r7, 0x20(r3)
|
||||
/* 815D71F0 002A7710 54 0A 04 3E */ clrlwi r10, r0, 16
|
||||
/* 815D71F4 002A7714 A0 C3 00 00 */ lhz r6, 0x0(r3)
|
||||
/* 815D71F8 002A7718 55 20 06 31 */ rlwinm. r0, r9, 0, 24, 24
|
||||
/* 815D71FC 002A771C 81 03 00 28 */ lwz r8, 0x28(r3)
|
||||
/* 815D7200 002A7720 38 06 FF FF */ subi r0, r6, 0x1
|
||||
/* 815D7204 002A7724 7D 47 3E 30 */ sraw r7, r10, r7
|
||||
/* 815D7208 002A7728 7C 7D 1B 78 */ mr r29, r3
|
||||
/* 815D720C 002A772C 7C 9E 23 78 */ mr r30, r4
|
||||
/* 815D7210 002A7730 7C 68 3A 14 */ add r3, r8, r7
|
||||
/* 815D7214 002A7734 7C BF 2B 78 */ mr r31, r5
|
||||
/* 815D7218 002A7738 7D 40 00 38 */ and r0, r10, r0
|
||||
/* 815D721C 002A773C 3B 20 00 01 */ li r25, 0x1
|
||||
/* 815D7220 002A7740 54 7B 04 3E */ clrlwi r27, r3, 16
|
||||
/* 815D7224 002A7744 41 82 00 08 */ beq .L_815D722C
|
||||
/* 815D7228 002A7748 55 39 07 7E */ clrlwi r25, r9, 29
|
||||
.L_815D722C:
|
||||
/* 815D722C 002A774C 54 1C 04 3E */ clrlwi r28, r0, 16
|
||||
.L_815D7230:
|
||||
/* 815D7230 002A7750 A0 7D 00 00 */ lhz r3, 0x0(r29)
|
||||
/* 815D7234 002A7754 38 03 FF FF */ subi r0, r3, 0x1
|
||||
/* 815D7238 002A7758 7C 1C 00 00 */ cmpw r28, r0
|
||||
/* 815D723C 002A775C 40 80 00 24 */ bge .L_815D7260
|
||||
/* 815D7240 002A7760 7F A3 EB 78 */ mr r3, r29
|
||||
/* 815D7244 002A7764 7F 86 E3 78 */ mr r6, r28
|
||||
/* 815D7248 002A7768 38 81 00 08 */ addi r4, r1, 0x8
|
||||
/* 815D724C 002A776C 57 65 04 3E */ clrlwi r5, r27, 16
|
||||
/* 815D7250 002A7770 38 E0 00 02 */ li r7, 0x2
|
||||
/* 815D7254 002A7774 48 00 85 21 */ bl PFSEC_ReadFAT
|
||||
/* 815D7258 002A7778 7C 7A 1B 78 */ mr r26, r3
|
||||
/* 815D725C 002A777C 48 00 00 48 */ b .L_815D72A4
|
||||
.L_815D7260:
|
||||
/* 815D7260 002A7780 7F A3 EB 78 */ mr r3, r29
|
||||
/* 815D7264 002A7784 7F 86 E3 78 */ mr r6, r28
|
||||
/* 815D7268 002A7788 38 81 00 08 */ addi r4, r1, 0x8
|
||||
/* 815D726C 002A778C 57 65 04 3E */ clrlwi r5, r27, 16
|
||||
/* 815D7270 002A7790 38 E0 00 01 */ li r7, 0x1
|
||||
/* 815D7274 002A7794 48 00 85 01 */ bl PFSEC_ReadFAT
|
||||
/* 815D7278 002A7798 2C 03 00 00 */ cmpwi r3, 0x0
|
||||
/* 815D727C 002A779C 7C 7A 1B 78 */ mr r26, r3
|
||||
/* 815D7280 002A77A0 40 82 00 24 */ bne .L_815D72A4
|
||||
/* 815D7284 002A77A4 57 65 04 3E */ clrlwi r5, r27, 16
|
||||
/* 815D7288 002A77A8 7F A3 EB 78 */ mr r3, r29
|
||||
/* 815D728C 002A77AC 38 81 00 09 */ addi r4, r1, 0x9
|
||||
/* 815D7290 002A77B0 38 C0 00 00 */ li r6, 0x0
|
||||
/* 815D7294 002A77B4 38 A5 00 01 */ addi r5, r5, 0x1
|
||||
/* 815D7298 002A77B8 38 E0 00 01 */ li r7, 0x1
|
||||
/* 815D729C 002A77BC 48 00 84 D9 */ bl PFSEC_ReadFAT
|
||||
/* 815D72A0 002A77C0 7C 7A 1B 78 */ mr r26, r3
|
||||
.L_815D72A4:
|
||||
/* 815D72A4 002A77C4 2C 1A 10 00 */ cmpwi r26, 0x1000
|
||||
/* 815D72A8 002A77C8 40 82 00 54 */ bne .L_815D72FC
|
||||
/* 815D72AC 002A77CC 81 9D 1F A4 */ lwz r12, 0x1fa4(r29)
|
||||
/* 815D72B0 002A77D0 2C 0C 00 00 */ cmpwi r12, 0x0
|
||||
/* 815D72B4 002A77D4 41 82 00 48 */ beq .L_815D72FC
|
||||
/* 815D72B8 002A77D8 80 7D 1F 84 */ lwz r3, 0x1f84(r29)
|
||||
/* 815D72BC 002A77DC 7D 89 03 A6 */ mtctr r12
|
||||
/* 815D72C0 002A77E0 4E 80 04 21 */ bctrl
|
||||
/* 815D72C4 002A77E4 2C 03 00 00 */ cmpwi r3, 0x0
|
||||
/* 815D72C8 002A77E8 41 82 00 4C */ beq .L_815D7314
|
||||
/* 815D72CC 002A77EC 2C 03 00 01 */ cmpwi r3, 0x1
|
||||
/* 815D72D0 002A77F0 40 82 00 2C */ bne .L_815D72FC
|
||||
/* 815D72D4 002A77F4 88 1D 00 22 */ lbz r0, 0x22(r29)
|
||||
/* 815D72D8 002A77F8 28 00 00 02 */ cmplwi r0, 0x2
|
||||
/* 815D72DC 002A77FC 41 80 00 20 */ blt .L_815D72FC
|
||||
/* 815D72E0 002A7800 7C 19 00 40 */ cmplw r25, r0
|
||||
/* 815D72E4 002A7804 40 80 00 18 */ bge .L_815D72FC
|
||||
/* 815D72E8 002A7808 80 1D 00 0C */ lwz r0, 0xc(r29)
|
||||
/* 815D72EC 002A780C 3B 39 00 01 */ addi r25, r25, 0x1
|
||||
/* 815D72F0 002A7810 54 00 04 3E */ clrlwi r0, r0, 16
|
||||
/* 815D72F4 002A7814 7F 7B 02 14 */ add r27, r27, r0
|
||||
/* 815D72F8 002A7818 48 00 00 1C */ b .L_815D7314
|
||||
.L_815D72FC:
|
||||
/* 815D72FC 002A781C 2C 1A 00 00 */ cmpwi r26, 0x0
|
||||
/* 815D7300 002A7820 41 82 00 14 */ beq .L_815D7314
|
||||
/* 815D7304 002A7824 38 00 FF FF */ li r0, -0x1
|
||||
/* 815D7308 002A7828 7F 43 D3 78 */ mr r3, r26
|
||||
/* 815D730C 002A782C 90 1F 00 00 */ stw r0, 0x0(r31)
|
||||
/* 815D7310 002A7830 48 00 00 38 */ b .L_815D7348
|
||||
.L_815D7314:
|
||||
/* 815D7314 002A7834 2C 1A 00 00 */ cmpwi r26, 0x0
|
||||
/* 815D7318 002A7838 40 82 FF 18 */ bne .L_815D7230
|
||||
/* 815D731C 002A783C 57 C0 07 FF */ clrlwi. r0, r30, 31
|
||||
/* 815D7320 002A7840 A0 61 00 08 */ lhz r3, 0x8(r1)
|
||||
/* 815D7324 002A7844 54 60 44 2E */ clrlslwi r0, r3, 24, 8
|
||||
/* 815D7328 002A7848 50 60 C6 3E */ rlwimi r0, r3, 24, 24, 31
|
||||
/* 815D732C 002A784C 41 82 00 10 */ beq .L_815D733C
|
||||
/* 815D7330 002A7850 54 00 E5 3E */ extrwi r0, r0, 12, 16
|
||||
/* 815D7334 002A7854 90 1F 00 00 */ stw r0, 0x0(r31)
|
||||
/* 815D7338 002A7858 48 00 00 0C */ b .L_815D7344
|
||||
.L_815D733C:
|
||||
/* 815D733C 002A785C 54 00 05 3E */ clrlwi r0, r0, 20
|
||||
/* 815D7340 002A7860 90 1F 00 00 */ stw r0, 0x0(r31)
|
||||
.L_815D7344:
|
||||
/* 815D7344 002A7864 38 60 00 00 */ li r3, 0x0
|
||||
.L_815D7348:
|
||||
/* 815D7348 002A7868 39 61 00 30 */ addi r11, r1, 0x30
|
||||
/* 815D734C 002A786C 48 02 21 B9 */ bl _restgpr_25
|
||||
/* 815D7350 002A7870 80 01 00 34 */ lwz r0, 0x34(r1)
|
||||
/* 815D7354 002A7874 7C 08 03 A6 */ mtlr r0
|
||||
/* 815D7358 002A7878 38 21 00 30 */ addi r1, r1, 0x30
|
||||
/* 815D735C 002A787C 4E 80 00 20 */ blr
|
||||
.endfn PFFAT12_ReadFATEntry
|
||||
|
||||
# .text:0x194 | 0x815D7360 | size: 0x1B8
|
||||
.fn PFFAT12_WriteFATEntry, global
|
||||
/* 815D7360 002A7880 94 21 FF D0 */ stwu r1, -0x30(r1)
|
||||
/* 815D7364 002A7884 7C 08 02 A6 */ mflr r0
|
||||
/* 815D7368 002A7888 90 01 00 34 */ stw r0, 0x34(r1)
|
||||
/* 815D736C 002A788C 39 61 00 30 */ addi r11, r1, 0x30
|
||||
/* 815D7370 002A7890 48 02 21 51 */ bl _savegpr_27
|
||||
/* 815D7374 002A7894 54 80 07 FF */ clrlwi. r0, r4, 31
|
||||
/* 815D7378 002A7898 7C 86 0E 70 */ srawi r6, r4, 1
|
||||
/* 815D737C 002A789C 7C 04 32 14 */ add r0, r4, r6
|
||||
/* 815D7380 002A78A0 A0 83 00 00 */ lhz r4, 0x0(r3)
|
||||
/* 815D7384 002A78A4 88 E3 00 20 */ lbz r7, 0x20(r3)
|
||||
/* 815D7388 002A78A8 7C 7E 1B 78 */ mr r30, r3
|
||||
/* 815D738C 002A78AC 54 08 04 3E */ clrlwi r8, r0, 16
|
||||
/* 815D7390 002A78B0 81 23 00 28 */ lwz r9, 0x28(r3)
|
||||
/* 815D7394 002A78B4 7D 00 3E 30 */ sraw r0, r8, r7
|
||||
/* 815D7398 002A78B8 38 C4 FF FF */ subi r6, r4, 0x1
|
||||
/* 815D739C 002A78BC 7C 09 02 14 */ add r0, r9, r0
|
||||
/* 815D73A0 002A78C0 7C BB 2B 78 */ mr r27, r5
|
||||
/* 815D73A4 002A78C4 7D 1D 30 38 */ and r29, r8, r6
|
||||
/* 815D73A8 002A78C8 54 1F 04 3E */ clrlwi r31, r0, 16
|
||||
/* 815D73AC 002A78CC 41 82 00 3C */ beq .L_815D73E8
|
||||
/* 815D73B0 002A78D0 7F E5 FB 78 */ mr r5, r31
|
||||
/* 815D73B4 002A78D4 38 81 00 08 */ addi r4, r1, 0x8
|
||||
/* 815D73B8 002A78D8 57 A6 04 3E */ clrlwi r6, r29, 16
|
||||
/* 815D73BC 002A78DC 38 E0 00 01 */ li r7, 0x1
|
||||
/* 815D73C0 002A78E0 48 00 83 B5 */ bl PFSEC_ReadFAT
|
||||
/* 815D73C4 002A78E4 2C 03 00 00 */ cmpwi r3, 0x0
|
||||
/* 815D73C8 002A78E8 41 82 00 08 */ beq .L_815D73D0
|
||||
/* 815D73CC 002A78EC 48 00 01 34 */ b .L_815D7500
|
||||
.L_815D73D0:
|
||||
/* 815D73D0 002A78F0 88 01 00 08 */ lbz r0, 0x8(r1)
|
||||
/* 815D73D4 002A78F4 57 63 23 36 */ clrlslwi r3, r27, 16, 4
|
||||
/* 815D73D8 002A78F8 54 00 07 3E */ clrlwi r0, r0, 28
|
||||
/* 815D73DC 002A78FC 7C 03 02 14 */ add r0, r3, r0
|
||||
/* 815D73E0 002A7900 54 03 04 3E */ clrlwi r3, r0, 16
|
||||
/* 815D73E4 002A7904 48 00 00 48 */ b .L_815D742C
|
||||
.L_815D73E8:
|
||||
/* 815D73E8 002A7908 39 08 00 01 */ addi r8, r8, 0x1
|
||||
/* 815D73EC 002A790C 38 81 00 08 */ addi r4, r1, 0x8
|
||||
/* 815D73F0 002A7910 7D 00 3E 30 */ sraw r0, r8, r7
|
||||
/* 815D73F4 002A7914 38 E0 00 01 */ li r7, 0x1
|
||||
/* 815D73F8 002A7918 7C A9 02 14 */ add r5, r9, r0
|
||||
/* 815D73FC 002A791C 7D 00 30 38 */ and r0, r8, r6
|
||||
/* 815D7400 002A7920 54 A5 04 3E */ clrlwi r5, r5, 16
|
||||
/* 815D7404 002A7924 54 06 04 3E */ clrlwi r6, r0, 16
|
||||
/* 815D7408 002A7928 48 00 83 6D */ bl PFSEC_ReadFAT
|
||||
/* 815D740C 002A792C 2C 03 00 00 */ cmpwi r3, 0x0
|
||||
/* 815D7410 002A7930 41 82 00 08 */ beq .L_815D7418
|
||||
/* 815D7414 002A7934 48 00 00 EC */ b .L_815D7500
|
||||
.L_815D7418:
|
||||
/* 815D7418 002A7938 88 61 00 08 */ lbz r3, 0x8(r1)
|
||||
/* 815D741C 002A793C 57 60 05 3E */ clrlwi r0, r27, 20
|
||||
/* 815D7420 002A7940 54 63 44 26 */ rlwinm r3, r3, 8, 16, 19
|
||||
/* 815D7424 002A7944 7C 03 02 14 */ add r0, r3, r0
|
||||
/* 815D7428 002A7948 54 03 04 3E */ clrlwi r3, r0, 16
|
||||
.L_815D742C:
|
||||
/* 815D742C 002A794C 38 01 00 08 */ addi r0, r1, 0x8
|
||||
/* 815D7430 002A7950 57 BD 04 3E */ clrlwi r29, r29, 16
|
||||
/* 815D7434 002A7954 7C 60 07 2C */ sthbrx r3, r0, r0
|
||||
/* 815D7438 002A7958 3B 60 00 00 */ li r27, 0x0
|
||||
/* 815D743C 002A795C 3B 80 00 00 */ li r28, 0x0
|
||||
/* 815D7440 002A7960 48 00 00 AC */ b .L_815D74EC
|
||||
.L_815D7444:
|
||||
/* 815D7444 002A7964 A0 7E 00 00 */ lhz r3, 0x0(r30)
|
||||
/* 815D7448 002A7968 38 03 FF FF */ subi r0, r3, 0x1
|
||||
/* 815D744C 002A796C 7C 1D 00 00 */ cmpw r29, r0
|
||||
/* 815D7450 002A7970 40 80 00 34 */ bge .L_815D7484
|
||||
/* 815D7454 002A7974 7F C3 F3 78 */ mr r3, r30
|
||||
/* 815D7458 002A7978 7F E5 FB 78 */ mr r5, r31
|
||||
/* 815D745C 002A797C 7F A6 EB 78 */ mr r6, r29
|
||||
/* 815D7460 002A7980 38 81 00 08 */ addi r4, r1, 0x8
|
||||
/* 815D7464 002A7984 38 E0 00 02 */ li r7, 0x2
|
||||
/* 815D7468 002A7988 48 00 86 C5 */ bl PFSEC_WriteFAT
|
||||
/* 815D746C 002A798C 2C 03 00 00 */ cmpwi r3, 0x0
|
||||
/* 815D7470 002A7990 41 82 00 6C */ beq .L_815D74DC
|
||||
/* 815D7474 002A7994 2C 1B 00 00 */ cmpwi r27, 0x0
|
||||
/* 815D7478 002A7998 40 82 00 64 */ bne .L_815D74DC
|
||||
/* 815D747C 002A799C 7C 7B 1B 78 */ mr r27, r3
|
||||
/* 815D7480 002A79A0 48 00 00 5C */ b .L_815D74DC
|
||||
.L_815D7484:
|
||||
/* 815D7484 002A79A4 7F C3 F3 78 */ mr r3, r30
|
||||
/* 815D7488 002A79A8 7F E5 FB 78 */ mr r5, r31
|
||||
/* 815D748C 002A79AC 7F A6 EB 78 */ mr r6, r29
|
||||
/* 815D7490 002A79B0 38 81 00 08 */ addi r4, r1, 0x8
|
||||
/* 815D7494 002A79B4 38 E0 00 01 */ li r7, 0x1
|
||||
/* 815D7498 002A79B8 48 00 86 95 */ bl PFSEC_WriteFAT
|
||||
/* 815D749C 002A79BC 2C 03 00 00 */ cmpwi r3, 0x0
|
||||
/* 815D74A0 002A79C0 41 82 00 10 */ beq .L_815D74B0
|
||||
/* 815D74A4 002A79C4 2C 1B 00 00 */ cmpwi r27, 0x0
|
||||
/* 815D74A8 002A79C8 40 82 00 08 */ bne .L_815D74B0
|
||||
/* 815D74AC 002A79CC 7C 7B 1B 78 */ mr r27, r3
|
||||
.L_815D74B0:
|
||||
/* 815D74B0 002A79D0 7F C3 F3 78 */ mr r3, r30
|
||||
/* 815D74B4 002A79D4 38 81 00 09 */ addi r4, r1, 0x9
|
||||
/* 815D74B8 002A79D8 38 BF 00 01 */ addi r5, r31, 0x1
|
||||
/* 815D74BC 002A79DC 38 C0 00 00 */ li r6, 0x0
|
||||
/* 815D74C0 002A79E0 38 E0 00 01 */ li r7, 0x1
|
||||
/* 815D74C4 002A79E4 48 00 86 69 */ bl PFSEC_WriteFAT
|
||||
/* 815D74C8 002A79E8 2C 03 00 00 */ cmpwi r3, 0x0
|
||||
/* 815D74CC 002A79EC 41 82 00 10 */ beq .L_815D74DC
|
||||
/* 815D74D0 002A79F0 2C 1B 00 00 */ cmpwi r27, 0x0
|
||||
/* 815D74D4 002A79F4 40 82 00 08 */ bne .L_815D74DC
|
||||
/* 815D74D8 002A79F8 7C 7B 1B 78 */ mr r27, r3
|
||||
.L_815D74DC:
|
||||
/* 815D74DC 002A79FC 80 1E 00 0C */ lwz r0, 0xc(r30)
|
||||
/* 815D74E0 002A7A00 3B 9C 00 01 */ addi r28, r28, 0x1
|
||||
/* 815D74E4 002A7A04 7C 1F 02 14 */ add r0, r31, r0
|
||||
/* 815D74E8 002A7A08 54 1F 04 3E */ clrlwi r31, r0, 16
|
||||
.L_815D74EC:
|
||||
/* 815D74EC 002A7A0C 88 1E 00 22 */ lbz r0, 0x22(r30)
|
||||
/* 815D74F0 002A7A10 57 83 04 3E */ clrlwi r3, r28, 16
|
||||
/* 815D74F4 002A7A14 7C 03 00 00 */ cmpw r3, r0
|
||||
/* 815D74F8 002A7A18 41 80 FF 4C */ blt .L_815D7444
|
||||
/* 815D74FC 002A7A1C 7F 63 DB 78 */ mr r3, r27
|
||||
.L_815D7500:
|
||||
/* 815D7500 002A7A20 39 61 00 30 */ addi r11, r1, 0x30
|
||||
/* 815D7504 002A7A24 48 02 20 09 */ bl _restgpr_27
|
||||
/* 815D7508 002A7A28 80 01 00 34 */ lwz r0, 0x34(r1)
|
||||
/* 815D750C 002A7A2C 7C 08 03 A6 */ mtlr r0
|
||||
/* 815D7510 002A7A30 38 21 00 30 */ addi r1, r1, 0x30
|
||||
/* 815D7514 002A7A34 4E 80 00 20 */ blr
|
||||
.endfn PFFAT12_WriteFATEntry
|
||||
|
||||
# .text:0x34C | 0x815D7518 | size: 0x2BC
|
||||
.fn PFFAT12_WriteFATEntryWithBuf, global
|
||||
/* 815D7518 002A7A38 94 21 FF D0 */ stwu r1, -0x30(r1)
|
||||
/* 815D751C 002A7A3C 7C 08 02 A6 */ mflr r0
|
||||
/* 815D7520 002A7A40 90 01 00 34 */ stw r0, 0x34(r1)
|
||||
/* 815D7524 002A7A44 39 61 00 30 */ addi r11, r1, 0x30
|
||||
/* 815D7528 002A7A48 48 02 1F 8D */ bl _savegpr_24
|
||||
/* 815D752C 002A7A4C 7C 80 0E 70 */ srawi r0, r4, 1
|
||||
/* 815D7530 002A7A50 A0 E3 00 00 */ lhz r7, 0x0(r3)
|
||||
/* 815D7534 002A7A54 7D 04 02 14 */ add r8, r4, r0
|
||||
/* 815D7538 002A7A58 88 03 00 20 */ lbz r0, 0x20(r3)
|
||||
/* 815D753C 002A7A5C 55 09 04 3E */ clrlwi r9, r8, 16
|
||||
/* 815D7540 002A7A60 81 03 00 28 */ lwz r8, 0x28(r3)
|
||||
/* 815D7544 002A7A64 7D 20 06 30 */ sraw r0, r9, r0
|
||||
/* 815D7548 002A7A68 38 E7 FF FF */ subi r7, r7, 0x1
|
||||
/* 815D754C 002A7A6C 7D 08 02 14 */ add r8, r8, r0
|
||||
/* 815D7550 002A7A70 80 06 00 18 */ lwz r0, 0x18(r6)
|
||||
/* 815D7554 002A7A74 55 1F 04 3E */ clrlwi r31, r8, 16
|
||||
/* 815D7558 002A7A78 7C 7B 1B 78 */ mr r27, r3
|
||||
/* 815D755C 002A7A7C 7C 00 F8 40 */ cmplw r0, r31
|
||||
/* 815D7560 002A7A80 7C 98 23 78 */ mr r24, r4
|
||||
/* 815D7564 002A7A84 7C BC 2B 78 */ mr r28, r5
|
||||
/* 815D7568 002A7A88 7C DD 33 78 */ mr r29, r6
|
||||
/* 815D756C 002A7A8C 7D 3A 38 38 */ and r26, r9, r7
|
||||
/* 815D7570 002A7A90 38 60 00 00 */ li r3, 0x0
|
||||
/* 815D7574 002A7A94 3B C0 00 00 */ li r30, 0x0
|
||||
/* 815D7578 002A7A98 41 82 00 84 */ beq .L_815D75FC
|
||||
/* 815D757C 002A7A9C 3B 20 00 00 */ li r25, 0x0
|
||||
/* 815D7580 002A7AA0 48 00 00 44 */ b .L_815D75C4
|
||||
.L_815D7584:
|
||||
/* 815D7584 002A7AA4 80 1B 00 0C */ lwz r0, 0xc(r27)
|
||||
/* 815D7588 002A7AA8 57 24 04 3E */ clrlwi r4, r25, 16
|
||||
/* 815D758C 002A7AAC 80 BD 00 18 */ lwz r5, 0x18(r29)
|
||||
/* 815D7590 002A7AB0 7F 63 DB 78 */ mr r3, r27
|
||||
/* 815D7594 002A7AB4 7C 04 01 D6 */ mullw r0, r4, r0
|
||||
/* 815D7598 002A7AB8 80 9D 00 08 */ lwz r4, 0x8(r29)
|
||||
/* 815D759C 002A7ABC A0 FB 00 00 */ lhz r7, 0x0(r27)
|
||||
/* 815D75A0 002A7AC0 38 C0 00 00 */ li r6, 0x0
|
||||
/* 815D75A4 002A7AC4 7C A5 02 14 */ add r5, r5, r0
|
||||
/* 815D75A8 002A7AC8 48 00 85 85 */ bl PFSEC_WriteFAT
|
||||
/* 815D75AC 002A7ACC 2C 03 00 00 */ cmpwi r3, 0x0
|
||||
/* 815D75B0 002A7AD0 41 82 00 10 */ beq .L_815D75C0
|
||||
/* 815D75B4 002A7AD4 2C 1E 00 00 */ cmpwi r30, 0x0
|
||||
/* 815D75B8 002A7AD8 40 82 00 08 */ bne .L_815D75C0
|
||||
/* 815D75BC 002A7ADC 7C 7E 1B 78 */ mr r30, r3
|
||||
.L_815D75C0:
|
||||
/* 815D75C0 002A7AE0 3B 39 00 01 */ addi r25, r25, 0x1
|
||||
.L_815D75C4:
|
||||
/* 815D75C4 002A7AE4 88 1B 00 22 */ lbz r0, 0x22(r27)
|
||||
/* 815D75C8 002A7AE8 57 23 04 3E */ clrlwi r3, r25, 16
|
||||
/* 815D75CC 002A7AEC 7C 03 00 00 */ cmpw r3, r0
|
||||
/* 815D75D0 002A7AF0 41 80 FF B4 */ blt .L_815D7584
|
||||
/* 815D75D4 002A7AF4 80 9D 00 08 */ lwz r4, 0x8(r29)
|
||||
/* 815D75D8 002A7AF8 7F 63 DB 78 */ mr r3, r27
|
||||
/* 815D75DC 002A7AFC A0 FB 00 00 */ lhz r7, 0x0(r27)
|
||||
/* 815D75E0 002A7B00 7F E5 FB 78 */ mr r5, r31
|
||||
/* 815D75E4 002A7B04 38 C0 00 00 */ li r6, 0x0
|
||||
/* 815D75E8 002A7B08 48 00 81 8D */ bl PFSEC_ReadFAT
|
||||
/* 815D75EC 002A7B0C 2C 03 00 00 */ cmpwi r3, 0x0
|
||||
/* 815D75F0 002A7B10 41 82 00 08 */ beq .L_815D75F8
|
||||
/* 815D75F4 002A7B14 48 00 01 C8 */ b .L_815D77BC
|
||||
.L_815D75F8:
|
||||
/* 815D75F8 002A7B18 93 FD 00 18 */ stw r31, 0x18(r29)
|
||||
.L_815D75FC:
|
||||
/* 815D75FC 002A7B1C 57 00 07 FF */ clrlwi. r0, r24, 31
|
||||
/* 815D7600 002A7B20 41 82 00 D4 */ beq .L_815D76D4
|
||||
/* 815D7604 002A7B24 80 9D 00 08 */ lwz r4, 0x8(r29)
|
||||
/* 815D7608 002A7B28 57 46 04 3E */ clrlwi r6, r26, 16
|
||||
/* 815D760C 002A7B2C 7C 04 30 AE */ lbzx r0, r4, r6
|
||||
/* 815D7610 002A7B30 54 00 07 3E */ clrlwi r0, r0, 28
|
||||
/* 815D7614 002A7B34 53 80 26 36 */ rlwimi r0, r28, 4, 24, 27
|
||||
/* 815D7618 002A7B38 7C 04 31 AE */ stbx r0, r4, r6
|
||||
/* 815D761C 002A7B3C A0 9B 00 00 */ lhz r4, 0x0(r27)
|
||||
/* 815D7620 002A7B40 38 04 FF FF */ subi r0, r4, 0x1
|
||||
/* 815D7624 002A7B44 7C 06 00 40 */ cmplw r6, r0
|
||||
/* 815D7628 002A7B48 40 82 00 98 */ bne .L_815D76C0
|
||||
/* 815D762C 002A7B4C 3B 40 00 00 */ li r26, 0x0
|
||||
/* 815D7630 002A7B50 48 00 00 44 */ b .L_815D7674
|
||||
.L_815D7634:
|
||||
/* 815D7634 002A7B54 80 1B 00 0C */ lwz r0, 0xc(r27)
|
||||
/* 815D7638 002A7B58 57 44 04 3E */ clrlwi r4, r26, 16
|
||||
/* 815D763C 002A7B5C 80 BD 00 18 */ lwz r5, 0x18(r29)
|
||||
/* 815D7640 002A7B60 7F 63 DB 78 */ mr r3, r27
|
||||
/* 815D7644 002A7B64 7C 04 01 D6 */ mullw r0, r4, r0
|
||||
/* 815D7648 002A7B68 80 9D 00 08 */ lwz r4, 0x8(r29)
|
||||
/* 815D764C 002A7B6C A0 FB 00 00 */ lhz r7, 0x0(r27)
|
||||
/* 815D7650 002A7B70 38 C0 00 00 */ li r6, 0x0
|
||||
/* 815D7654 002A7B74 7C A5 02 14 */ add r5, r5, r0
|
||||
/* 815D7658 002A7B78 48 00 84 D5 */ bl PFSEC_WriteFAT
|
||||
/* 815D765C 002A7B7C 2C 03 00 00 */ cmpwi r3, 0x0
|
||||
/* 815D7660 002A7B80 41 82 00 10 */ beq .L_815D7670
|
||||
/* 815D7664 002A7B84 2C 1E 00 00 */ cmpwi r30, 0x0
|
||||
/* 815D7668 002A7B88 40 82 00 08 */ bne .L_815D7670
|
||||
/* 815D766C 002A7B8C 7C 7E 1B 78 */ mr r30, r3
|
||||
.L_815D7670:
|
||||
/* 815D7670 002A7B90 3B 5A 00 01 */ addi r26, r26, 0x1
|
||||
.L_815D7674:
|
||||
/* 815D7674 002A7B94 88 1B 00 22 */ lbz r0, 0x22(r27)
|
||||
/* 815D7678 002A7B98 57 43 04 3E */ clrlwi r3, r26, 16
|
||||
/* 815D767C 002A7B9C 7C 03 00 00 */ cmpw r3, r0
|
||||
/* 815D7680 002A7BA0 41 80 FF B4 */ blt .L_815D7634
|
||||
/* 815D7684 002A7BA4 3B 5F 00 01 */ addi r26, r31, 0x1
|
||||
/* 815D7688 002A7BA8 80 9D 00 08 */ lwz r4, 0x8(r29)
|
||||
/* 815D768C 002A7BAC A0 FB 00 00 */ lhz r7, 0x0(r27)
|
||||
/* 815D7690 002A7BB0 7F 63 DB 78 */ mr r3, r27
|
||||
/* 815D7694 002A7BB4 7F 45 D3 78 */ mr r5, r26
|
||||
/* 815D7698 002A7BB8 38 C0 00 00 */ li r6, 0x0
|
||||
/* 815D769C 002A7BBC 48 00 80 D9 */ bl PFSEC_ReadFAT
|
||||
/* 815D76A0 002A7BC0 2C 03 00 00 */ cmpwi r3, 0x0
|
||||
/* 815D76A4 002A7BC4 41 82 00 08 */ beq .L_815D76AC
|
||||
/* 815D76A8 002A7BC8 48 00 01 14 */ b .L_815D77BC
|
||||
.L_815D76AC:
|
||||
/* 815D76AC 002A7BCC 93 5D 00 18 */ stw r26, 0x18(r29)
|
||||
/* 815D76B0 002A7BD0 57 80 E6 3E */ extrwi r0, r28, 8, 20
|
||||
/* 815D76B4 002A7BD4 80 9D 00 08 */ lwz r4, 0x8(r29)
|
||||
/* 815D76B8 002A7BD8 98 04 00 00 */ stb r0, 0x0(r4)
|
||||
/* 815D76BC 002A7BDC 48 00 00 F0 */ b .L_815D77AC
|
||||
.L_815D76C0:
|
||||
/* 815D76C0 002A7BE0 80 1D 00 08 */ lwz r0, 0x8(r29)
|
||||
/* 815D76C4 002A7BE4 57 85 E6 3E */ extrwi r5, r28, 8, 20
|
||||
/* 815D76C8 002A7BE8 7C 86 02 14 */ add r4, r6, r0
|
||||
/* 815D76CC 002A7BEC 98 A4 00 01 */ stb r5, 0x1(r4)
|
||||
/* 815D76D0 002A7BF0 48 00 00 DC */ b .L_815D77AC
|
||||
.L_815D76D4:
|
||||
/* 815D76D4 002A7BF4 80 9D 00 08 */ lwz r4, 0x8(r29)
|
||||
/* 815D76D8 002A7BF8 57 45 04 3E */ clrlwi r5, r26, 16
|
||||
/* 815D76DC 002A7BFC 7F 84 29 AE */ stbx r28, r4, r5
|
||||
/* 815D76E0 002A7C00 A0 9B 00 00 */ lhz r4, 0x0(r27)
|
||||
/* 815D76E4 002A7C04 38 04 FF FF */ subi r0, r4, 0x1
|
||||
/* 815D76E8 002A7C08 7C 05 00 40 */ cmplw r5, r0
|
||||
/* 815D76EC 002A7C0C 40 82 00 A4 */ bne .L_815D7790
|
||||
/* 815D76F0 002A7C10 3B 40 00 00 */ li r26, 0x0
|
||||
/* 815D76F4 002A7C14 48 00 00 44 */ b .L_815D7738
|
||||
.L_815D76F8:
|
||||
/* 815D76F8 002A7C18 80 1B 00 0C */ lwz r0, 0xc(r27)
|
||||
/* 815D76FC 002A7C1C 57 44 04 3E */ clrlwi r4, r26, 16
|
||||
/* 815D7700 002A7C20 80 BD 00 18 */ lwz r5, 0x18(r29)
|
||||
/* 815D7704 002A7C24 7F 63 DB 78 */ mr r3, r27
|
||||
/* 815D7708 002A7C28 7C 04 01 D6 */ mullw r0, r4, r0
|
||||
/* 815D770C 002A7C2C 80 9D 00 08 */ lwz r4, 0x8(r29)
|
||||
/* 815D7710 002A7C30 A0 FB 00 00 */ lhz r7, 0x0(r27)
|
||||
/* 815D7714 002A7C34 38 C0 00 00 */ li r6, 0x0
|
||||
/* 815D7718 002A7C38 7C A5 02 14 */ add r5, r5, r0
|
||||
/* 815D771C 002A7C3C 48 00 84 11 */ bl PFSEC_WriteFAT
|
||||
/* 815D7720 002A7C40 2C 03 00 00 */ cmpwi r3, 0x0
|
||||
/* 815D7724 002A7C44 41 82 00 10 */ beq .L_815D7734
|
||||
/* 815D7728 002A7C48 2C 1E 00 00 */ cmpwi r30, 0x0
|
||||
/* 815D772C 002A7C4C 40 82 00 08 */ bne .L_815D7734
|
||||
/* 815D7730 002A7C50 7C 7E 1B 78 */ mr r30, r3
|
||||
.L_815D7734:
|
||||
/* 815D7734 002A7C54 3B 5A 00 01 */ addi r26, r26, 0x1
|
||||
.L_815D7738:
|
||||
/* 815D7738 002A7C58 88 1B 00 22 */ lbz r0, 0x22(r27)
|
||||
/* 815D773C 002A7C5C 57 43 04 3E */ clrlwi r3, r26, 16
|
||||
/* 815D7740 002A7C60 7C 03 00 00 */ cmpw r3, r0
|
||||
/* 815D7744 002A7C64 41 80 FF B4 */ blt .L_815D76F8
|
||||
/* 815D7748 002A7C68 3B 5F 00 01 */ addi r26, r31, 0x1
|
||||
/* 815D774C 002A7C6C 80 9D 00 08 */ lwz r4, 0x8(r29)
|
||||
/* 815D7750 002A7C70 A0 FB 00 00 */ lhz r7, 0x0(r27)
|
||||
/* 815D7754 002A7C74 7F 63 DB 78 */ mr r3, r27
|
||||
/* 815D7758 002A7C78 7F 45 D3 78 */ mr r5, r26
|
||||
/* 815D775C 002A7C7C 38 C0 00 00 */ li r6, 0x0
|
||||
/* 815D7760 002A7C80 48 00 80 15 */ bl PFSEC_ReadFAT
|
||||
/* 815D7764 002A7C84 2C 03 00 00 */ cmpwi r3, 0x0
|
||||
/* 815D7768 002A7C88 41 82 00 08 */ beq .L_815D7770
|
||||
/* 815D776C 002A7C8C 48 00 00 50 */ b .L_815D77BC
|
||||
.L_815D7770:
|
||||
/* 815D7770 002A7C90 93 5D 00 18 */ stw r26, 0x18(r29)
|
||||
/* 815D7774 002A7C94 57 80 C6 3E */ extrwi r0, r28, 8, 16
|
||||
/* 815D7778 002A7C98 80 BD 00 08 */ lwz r5, 0x8(r29)
|
||||
/* 815D777C 002A7C9C 88 85 00 00 */ lbz r4, 0x0(r5)
|
||||
/* 815D7780 002A7CA0 54 84 06 36 */ rlwinm r4, r4, 0, 24, 27
|
||||
/* 815D7784 002A7CA4 7C 80 03 78 */ or r0, r4, r0
|
||||
/* 815D7788 002A7CA8 98 05 00 00 */ stb r0, 0x0(r5)
|
||||
/* 815D778C 002A7CAC 48 00 00 20 */ b .L_815D77AC
|
||||
.L_815D7790:
|
||||
/* 815D7790 002A7CB0 80 1D 00 08 */ lwz r0, 0x8(r29)
|
||||
/* 815D7794 002A7CB4 57 84 C6 3E */ extrwi r4, r28, 8, 16
|
||||
/* 815D7798 002A7CB8 7C A5 02 14 */ add r5, r5, r0
|
||||
/* 815D779C 002A7CBC 88 05 00 01 */ lbz r0, 0x1(r5)
|
||||
/* 815D77A0 002A7CC0 54 00 06 36 */ rlwinm r0, r0, 0, 24, 27
|
||||
/* 815D77A4 002A7CC4 7C 80 03 78 */ or r0, r4, r0
|
||||
/* 815D77A8 002A7CC8 98 05 00 01 */ stb r0, 0x1(r5)
|
||||
.L_815D77AC:
|
||||
/* 815D77AC 002A7CCC 2C 03 00 00 */ cmpwi r3, 0x0
|
||||
/* 815D77B0 002A7CD0 41 82 00 08 */ beq .L_815D77B8
|
||||
/* 815D77B4 002A7CD4 7C 7E 1B 78 */ mr r30, r3
|
||||
.L_815D77B8:
|
||||
/* 815D77B8 002A7CD8 7F C3 F3 78 */ mr r3, r30
|
||||
.L_815D77BC:
|
||||
/* 815D77BC 002A7CDC 39 61 00 30 */ addi r11, r1, 0x30
|
||||
/* 815D77C0 002A7CE0 48 02 1D 41 */ bl _restgpr_24
|
||||
/* 815D77C4 002A7CE4 80 01 00 34 */ lwz r0, 0x34(r1)
|
||||
/* 815D77C8 002A7CE8 7C 08 03 A6 */ mtlr r0
|
||||
/* 815D77CC 002A7CEC 38 21 00 30 */ addi r1, r1, 0x30
|
||||
/* 815D77D0 002A7CF0 4E 80 00 20 */ blr
|
||||
.endfn PFFAT12_WriteFATEntryWithBuf
|
||||
|
||||
# .text:0x608 | 0x815D77D4 | size: 0x26C
|
||||
.fn PFFAT12_ReadFATEntryWithBuf, global
|
||||
/* 815D77D4 002A7CF4 94 21 FF D0 */ stwu r1, -0x30(r1)
|
||||
/* 815D77D8 002A7CF8 7C 08 02 A6 */ mflr r0
|
||||
/* 815D77DC 002A7CFC 90 01 00 34 */ stw r0, 0x34(r1)
|
||||
/* 815D77E0 002A7D00 39 61 00 30 */ addi r11, r1, 0x30
|
||||
/* 815D77E4 002A7D04 48 02 1C D1 */ bl _savegpr_24
|
||||
/* 815D77E8 002A7D08 54 80 FC 7E */ extrwi r0, r4, 15, 16
|
||||
/* 815D77EC 002A7D0C A1 23 00 18 */ lhz r9, 0x18(r3)
|
||||
/* 815D77F0 002A7D10 7C 04 02 14 */ add r0, r4, r0
|
||||
/* 815D77F4 002A7D14 88 E3 00 20 */ lbz r7, 0x20(r3)
|
||||
/* 815D77F8 002A7D18 54 1F 04 3E */ clrlwi r31, r0, 16
|
||||
/* 815D77FC 002A7D1C 81 03 00 28 */ lwz r8, 0x28(r3)
|
||||
/* 815D7800 002A7D20 55 20 06 31 */ rlwinm. r0, r9, 0, 24, 24
|
||||
/* 815D7804 002A7D24 7C 78 1B 78 */ mr r24, r3
|
||||
/* 815D7808 002A7D28 7F E0 3C 30 */ srw r0, r31, r7
|
||||
/* 815D780C 002A7D2C 7C 99 23 78 */ mr r25, r4
|
||||
/* 815D7810 002A7D30 7C BA 2B 78 */ mr r26, r5
|
||||
/* 815D7814 002A7D34 7C DB 33 78 */ mr r27, r6
|
||||
/* 815D7818 002A7D38 7C 08 02 14 */ add r0, r8, r0
|
||||
/* 815D781C 002A7D3C 3B A0 00 01 */ li r29, 0x1
|
||||
/* 815D7820 002A7D40 54 1E 04 3E */ clrlwi r30, r0, 16
|
||||
/* 815D7824 002A7D44 41 82 00 08 */ beq .L_815D782C
|
||||
/* 815D7828 002A7D48 55 3D 07 7E */ clrlwi r29, r9, 29
|
||||
.L_815D782C:
|
||||
/* 815D782C 002A7D4C 3B 80 00 00 */ li r28, 0x0
|
||||
.L_815D7830:
|
||||
/* 815D7830 002A7D50 2C 1C 10 00 */ cmpwi r28, 0x1000
|
||||
/* 815D7834 002A7D54 40 82 00 5C */ bne .L_815D7890
|
||||
/* 815D7838 002A7D58 81 98 1F A4 */ lwz r12, 0x1fa4(r24)
|
||||
/* 815D783C 002A7D5C 2C 0C 00 00 */ cmpwi r12, 0x0
|
||||
/* 815D7840 002A7D60 41 82 00 50 */ beq .L_815D7890
|
||||
/* 815D7844 002A7D64 80 78 1F 84 */ lwz r3, 0x1f84(r24)
|
||||
/* 815D7848 002A7D68 7D 89 03 A6 */ mtctr r12
|
||||
/* 815D784C 002A7D6C 4E 80 04 21 */ bctrl
|
||||
/* 815D7850 002A7D70 2C 03 00 00 */ cmpwi r3, 0x0
|
||||
/* 815D7854 002A7D74 40 82 00 0C */ bne .L_815D7860
|
||||
/* 815D7858 002A7D78 3B 80 00 00 */ li r28, 0x0
|
||||
/* 815D785C 002A7D7C 4B FF FF D4 */ b .L_815D7830
|
||||
.L_815D7860:
|
||||
/* 815D7860 002A7D80 2C 03 00 01 */ cmpwi r3, 0x1
|
||||
/* 815D7864 002A7D84 40 82 01 84 */ bne .L_815D79E8
|
||||
/* 815D7868 002A7D88 88 18 00 22 */ lbz r0, 0x22(r24)
|
||||
/* 815D786C 002A7D8C 28 00 00 02 */ cmplwi r0, 0x2
|
||||
/* 815D7870 002A7D90 41 80 01 78 */ blt .L_815D79E8
|
||||
/* 815D7874 002A7D94 7C 1D 00 40 */ cmplw r29, r0
|
||||
/* 815D7878 002A7D98 40 80 01 70 */ bge .L_815D79E8
|
||||
/* 815D787C 002A7D9C 80 18 00 0C */ lwz r0, 0xc(r24)
|
||||
/* 815D7880 002A7DA0 3B 80 00 00 */ li r28, 0x0
|
||||
/* 815D7884 002A7DA4 3B BD 00 01 */ addi r29, r29, 0x1
|
||||
/* 815D7888 002A7DA8 7F DE 02 14 */ add r30, r30, r0
|
||||
/* 815D788C 002A7DAC 4B FF FF A4 */ b .L_815D7830
|
||||
.L_815D7890:
|
||||
/* 815D7890 002A7DB0 80 1B 00 18 */ lwz r0, 0x18(r27)
|
||||
/* 815D7894 002A7DB4 7C 00 F0 40 */ cmplw r0, r30
|
||||
/* 815D7898 002A7DB8 41 82 00 7C */ beq .L_815D7914
|
||||
/* 815D789C 002A7DBC A0 1B 00 02 */ lhz r0, 0x2(r27)
|
||||
/* 815D78A0 002A7DC0 28 00 00 01 */ cmplwi r0, 0x1
|
||||
/* 815D78A4 002A7DC4 40 82 00 48 */ bne .L_815D78EC
|
||||
/* 815D78A8 002A7DC8 3B 80 00 00 */ li r28, 0x0
|
||||
/* 815D78AC 002A7DCC 48 00 00 30 */ b .L_815D78DC
|
||||
.L_815D78B0:
|
||||
/* 815D78B0 002A7DD0 80 18 00 0C */ lwz r0, 0xc(r24)
|
||||
/* 815D78B4 002A7DD4 57 84 04 3E */ clrlwi r4, r28, 16
|
||||
/* 815D78B8 002A7DD8 80 BB 00 18 */ lwz r5, 0x18(r27)
|
||||
/* 815D78BC 002A7DDC 7F 03 C3 78 */ mr r3, r24
|
||||
/* 815D78C0 002A7DE0 7C 04 01 D6 */ mullw r0, r4, r0
|
||||
/* 815D78C4 002A7DE4 80 9B 00 08 */ lwz r4, 0x8(r27)
|
||||
/* 815D78C8 002A7DE8 A0 F8 00 00 */ lhz r7, 0x0(r24)
|
||||
/* 815D78CC 002A7DEC 38 C0 00 00 */ li r6, 0x0
|
||||
/* 815D78D0 002A7DF0 7C A5 02 14 */ add r5, r5, r0
|
||||
/* 815D78D4 002A7DF4 48 00 82 59 */ bl PFSEC_WriteFAT
|
||||
/* 815D78D8 002A7DF8 3B 9C 00 01 */ addi r28, r28, 0x1
|
||||
.L_815D78DC:
|
||||
/* 815D78DC 002A7DFC 88 18 00 22 */ lbz r0, 0x22(r24)
|
||||
/* 815D78E0 002A7E00 57 83 04 3E */ clrlwi r3, r28, 16
|
||||
/* 815D78E4 002A7E04 7C 03 00 00 */ cmpw r3, r0
|
||||
/* 815D78E8 002A7E08 41 80 FF C8 */ blt .L_815D78B0
|
||||
.L_815D78EC:
|
||||
/* 815D78EC 002A7E0C 80 9B 00 08 */ lwz r4, 0x8(r27)
|
||||
/* 815D78F0 002A7E10 7F 03 C3 78 */ mr r3, r24
|
||||
/* 815D78F4 002A7E14 A0 F8 00 00 */ lhz r7, 0x0(r24)
|
||||
/* 815D78F8 002A7E18 7F C5 F3 78 */ mr r5, r30
|
||||
/* 815D78FC 002A7E1C 38 C0 00 00 */ li r6, 0x0
|
||||
/* 815D7900 002A7E20 48 00 7E 75 */ bl PFSEC_ReadFAT
|
||||
/* 815D7904 002A7E24 2C 03 00 00 */ cmpwi r3, 0x0
|
||||
/* 815D7908 002A7E28 7C 7C 1B 78 */ mr r28, r3
|
||||
/* 815D790C 002A7E2C 40 82 FF 24 */ bne .L_815D7830
|
||||
/* 815D7910 002A7E30 93 DB 00 18 */ stw r30, 0x18(r27)
|
||||
.L_815D7914:
|
||||
/* 815D7914 002A7E34 A0 78 00 00 */ lhz r3, 0x0(r24)
|
||||
/* 815D7918 002A7E38 38 03 FF FF */ subi r0, r3, 0x1
|
||||
/* 815D791C 002A7E3C 7F FF 00 38 */ and r31, r31, r0
|
||||
/* 815D7920 002A7E40 7C 1F 00 40 */ cmplw r31, r0
|
||||
/* 815D7924 002A7E44 40 82 00 A8 */ bne .L_815D79CC
|
||||
/* 815D7928 002A7E48 80 7B 00 08 */ lwz r3, 0x8(r27)
|
||||
/* 815D792C 002A7E4C 7C 03 F8 AE */ lbzx r0, r3, r31
|
||||
/* 815D7930 002A7E50 90 1A 00 00 */ stw r0, 0x0(r26)
|
||||
/* 815D7934 002A7E54 A0 1B 00 02 */ lhz r0, 0x2(r27)
|
||||
/* 815D7938 002A7E58 28 00 00 01 */ cmplwi r0, 0x1
|
||||
/* 815D793C 002A7E5C 40 82 00 48 */ bne .L_815D7984
|
||||
/* 815D7940 002A7E60 3B 80 00 00 */ li r28, 0x0
|
||||
/* 815D7944 002A7E64 48 00 00 30 */ b .L_815D7974
|
||||
.L_815D7948:
|
||||
/* 815D7948 002A7E68 80 18 00 0C */ lwz r0, 0xc(r24)
|
||||
/* 815D794C 002A7E6C 57 84 04 3E */ clrlwi r4, r28, 16
|
||||
/* 815D7950 002A7E70 80 BB 00 18 */ lwz r5, 0x18(r27)
|
||||
/* 815D7954 002A7E74 7F 03 C3 78 */ mr r3, r24
|
||||
/* 815D7958 002A7E78 7C 04 01 D6 */ mullw r0, r4, r0
|
||||
/* 815D795C 002A7E7C 80 9B 00 08 */ lwz r4, 0x8(r27)
|
||||
/* 815D7960 002A7E80 A0 F8 00 00 */ lhz r7, 0x0(r24)
|
||||
/* 815D7964 002A7E84 38 C0 00 00 */ li r6, 0x0
|
||||
/* 815D7968 002A7E88 7C A5 02 14 */ add r5, r5, r0
|
||||
/* 815D796C 002A7E8C 48 00 81 C1 */ bl PFSEC_WriteFAT
|
||||
/* 815D7970 002A7E90 3B 9C 00 01 */ addi r28, r28, 0x1
|
||||
.L_815D7974:
|
||||
/* 815D7974 002A7E94 88 18 00 22 */ lbz r0, 0x22(r24)
|
||||
/* 815D7978 002A7E98 57 83 04 3E */ clrlwi r3, r28, 16
|
||||
/* 815D797C 002A7E9C 7C 03 00 00 */ cmpw r3, r0
|
||||
/* 815D7980 002A7EA0 41 80 FF C8 */ blt .L_815D7948
|
||||
.L_815D7984:
|
||||
/* 815D7984 002A7EA4 80 9B 00 08 */ lwz r4, 0x8(r27)
|
||||
/* 815D7988 002A7EA8 7F 03 C3 78 */ mr r3, r24
|
||||
/* 815D798C 002A7EAC A0 F8 00 00 */ lhz r7, 0x0(r24)
|
||||
/* 815D7990 002A7EB0 38 BE 00 01 */ addi r5, r30, 0x1
|
||||
/* 815D7994 002A7EB4 38 C0 00 00 */ li r6, 0x0
|
||||
/* 815D7998 002A7EB8 48 00 7D DD */ bl PFSEC_ReadFAT
|
||||
/* 815D799C 002A7EBC 2C 03 00 00 */ cmpwi r3, 0x0
|
||||
/* 815D79A0 002A7EC0 7C 7C 1B 78 */ mr r28, r3
|
||||
/* 815D79A4 002A7EC4 40 82 FE 8C */ bne .L_815D7830
|
||||
/* 815D79A8 002A7EC8 38 1E 00 01 */ addi r0, r30, 0x1
|
||||
/* 815D79AC 002A7ECC 80 7B 00 08 */ lwz r3, 0x8(r27)
|
||||
/* 815D79B0 002A7ED0 90 1B 00 18 */ stw r0, 0x18(r27)
|
||||
/* 815D79B4 002A7ED4 88 03 00 00 */ lbz r0, 0x0(r3)
|
||||
/* 815D79B8 002A7ED8 80 7A 00 00 */ lwz r3, 0x0(r26)
|
||||
/* 815D79BC 002A7EDC 54 00 40 2E */ slwi r0, r0, 8
|
||||
/* 815D79C0 002A7EE0 7C 03 02 14 */ add r0, r3, r0
|
||||
/* 815D79C4 002A7EE4 90 1A 00 00 */ stw r0, 0x0(r26)
|
||||
/* 815D79C8 002A7EE8 48 00 00 20 */ b .L_815D79E8
|
||||
.L_815D79CC:
|
||||
/* 815D79CC 002A7EEC 80 9B 00 08 */ lwz r4, 0x8(r27)
|
||||
/* 815D79D0 002A7EF0 7C 64 FA 14 */ add r3, r4, r31
|
||||
/* 815D79D4 002A7EF4 7C 04 F8 AE */ lbzx r0, r4, r31
|
||||
/* 815D79D8 002A7EF8 88 63 00 01 */ lbz r3, 0x1(r3)
|
||||
/* 815D79DC 002A7EFC 54 63 40 2E */ slwi r3, r3, 8
|
||||
/* 815D79E0 002A7F00 7C 03 02 14 */ add r0, r3, r0
|
||||
/* 815D79E4 002A7F04 90 1A 00 00 */ stw r0, 0x0(r26)
|
||||
.L_815D79E8:
|
||||
/* 815D79E8 002A7F08 2C 1C 00 00 */ cmpwi r28, 0x0
|
||||
/* 815D79EC 002A7F0C 41 82 00 14 */ beq .L_815D7A00
|
||||
/* 815D79F0 002A7F10 38 00 FF FF */ li r0, -0x1
|
||||
/* 815D79F4 002A7F14 7F 83 E3 78 */ mr r3, r28
|
||||
/* 815D79F8 002A7F18 90 1A 00 00 */ stw r0, 0x0(r26)
|
||||
/* 815D79FC 002A7F1C 48 00 00 2C */ b .L_815D7A28
|
||||
.L_815D7A00:
|
||||
/* 815D7A00 002A7F20 57 20 07 FF */ clrlwi. r0, r25, 31
|
||||
/* 815D7A04 002A7F24 41 82 00 14 */ beq .L_815D7A18
|
||||
/* 815D7A08 002A7F28 80 1A 00 00 */ lwz r0, 0x0(r26)
|
||||
/* 815D7A0C 002A7F2C 54 00 E1 3E */ srwi r0, r0, 4
|
||||
/* 815D7A10 002A7F30 90 1A 00 00 */ stw r0, 0x0(r26)
|
||||
/* 815D7A14 002A7F34 48 00 00 10 */ b .L_815D7A24
|
||||
.L_815D7A18:
|
||||
/* 815D7A18 002A7F38 80 1A 00 00 */ lwz r0, 0x0(r26)
|
||||
/* 815D7A1C 002A7F3C 54 00 05 3E */ clrlwi r0, r0, 20
|
||||
/* 815D7A20 002A7F40 90 1A 00 00 */ stw r0, 0x0(r26)
|
||||
.L_815D7A24:
|
||||
/* 815D7A24 002A7F44 38 60 00 00 */ li r3, 0x0
|
||||
.L_815D7A28:
|
||||
/* 815D7A28 002A7F48 39 61 00 30 */ addi r11, r1, 0x30
|
||||
/* 815D7A2C 002A7F4C 48 02 1A D5 */ bl _restgpr_24
|
||||
/* 815D7A30 002A7F50 80 01 00 34 */ lwz r0, 0x34(r1)
|
||||
/* 815D7A34 002A7F54 7C 08 03 A6 */ mtlr r0
|
||||
/* 815D7A38 002A7F58 38 21 00 30 */ addi r1, r1, 0x30
|
||||
/* 815D7A3C 002A7F5C 4E 80 00 20 */ blr
|
||||
.endfn PFFAT12_ReadFATEntryWithBuf
|
||||
@@ -79,13 +79,13 @@ typedef struct {
|
||||
} CDBSearchWork;
|
||||
|
||||
extern CDBSearchWork* CDBDatabaseWorkBuf;
|
||||
extern char lbl_8166B528[];
|
||||
extern char lbl_8166B550[];
|
||||
extern char lbl_8166B57C[];
|
||||
extern char lbl_8166B5A8[];
|
||||
extern char lbl_8166B5B8[];
|
||||
extern char lbl_8166B5D0[];
|
||||
extern char lbl_8166B618[];
|
||||
extern char scCdbMsg_DatabaseClosed[];
|
||||
extern char scCdbMsg_CantCreateRecordClosed[];
|
||||
extern char scCdbMsg_CantCreateRecordReadonly[];
|
||||
extern char scCdbMsg_InvalidKey[];
|
||||
extern char scCdbMsg_FileNotFound[];
|
||||
extern char scCdbMsg_CantCleanupDirsClosed[];
|
||||
extern char scCdbMsg_CantCleanupDirsReadonly[];
|
||||
|
||||
extern CDBErr CDBDatabaseInit();
|
||||
extern CDBErr CDBDatabaseOpen();
|
||||
@@ -165,7 +165,7 @@ CDBErr CDBDatabaseClose(CDBDatabase* database) {
|
||||
CDBLock();
|
||||
instance = database->instance;
|
||||
if (instance == NULL || instance->flags == 0) {
|
||||
CDBReportError(lbl_8166B528);
|
||||
CDBReportError(scCdbMsg_DatabaseClosed);
|
||||
result = CDB_ERROR_27;
|
||||
} else {
|
||||
status = CDBDatabaseFree(database);
|
||||
@@ -403,17 +403,17 @@ CDBErr CDBDatabaseCreateRecordImAtOnce_(CDBDatabase* database, CDBRecord* record
|
||||
|
||||
instance = database->instance;
|
||||
if (instance == NULL) {
|
||||
CDBReportError(lbl_8166B550);
|
||||
CDBReportError(scCdbMsg_CantCreateRecordClosed);
|
||||
return CDB_ERROR_27;
|
||||
}
|
||||
|
||||
flags = instance->flags;
|
||||
if ((flags & 2) == 0) {
|
||||
if (flags == 0) {
|
||||
CDBReportError(lbl_8166B550);
|
||||
CDBReportError(scCdbMsg_CantCreateRecordClosed);
|
||||
return CDB_ERROR_27;
|
||||
}
|
||||
CDBReportError(lbl_8166B57C);
|
||||
CDBReportError(scCdbMsg_CantCreateRecordReadonly);
|
||||
return CDB_ERROR_26;
|
||||
}
|
||||
|
||||
@@ -427,12 +427,12 @@ CDBErr CDBDatabaseFindByKey(CDBDatabase* database, CDBRecord* record, CDBRecordK
|
||||
|
||||
CDBLock();
|
||||
if (!CDBRecordKeyIsValid(recordKey)) {
|
||||
CDBReportError(lbl_8166B5A8);
|
||||
CDBReportError(scCdbMsg_InvalidKey);
|
||||
result = CDB_ERROR_5;
|
||||
} else {
|
||||
CDBRecordInitDescriptor(record, database, recordKey);
|
||||
if (!CDBRecordIsExistFile(record)) {
|
||||
CDBReportError(lbl_8166B5B8, recordKey->keyString);
|
||||
CDBReportError(scCdbMsg_FileNotFound, recordKey->keyString);
|
||||
result = CDB_ERROR_CANNOT_OPEN_FILE;
|
||||
} else {
|
||||
result = CDB_ERROR_OK;
|
||||
@@ -2608,11 +2608,11 @@ CDBErr CDBDatabaseCleanUpEmptyDirectories(CDBDatabase* database, CDBRecordLocati
|
||||
CDBUnlock();
|
||||
|
||||
if (flags == 0) {
|
||||
CDBReportError(lbl_8166B5D0);
|
||||
CDBReportError(scCdbMsg_CantCleanupDirsClosed);
|
||||
return CDB_ERROR_27;
|
||||
}
|
||||
if (flags == 1) {
|
||||
CDBReportError(lbl_8166B618);
|
||||
CDBReportError(scCdbMsg_CantCleanupDirsReadonly);
|
||||
return CDB_ERROR_26;
|
||||
}
|
||||
|
||||
@@ -2663,16 +2663,16 @@ CDBErr CDBDatabaseCleanUpEmptyDirectories(CDBDatabase* database, CDBRecordLocati
|
||||
|
||||
#pragma section data_type ".data"
|
||||
#pragma align 8
|
||||
extern char lbl_8166B528[] = "CDBDatabaseClose database is closed\n";
|
||||
extern char scCdbMsg_DatabaseClosed[] = "CDBDatabaseClose database is closed\n";
|
||||
#pragma align 8
|
||||
extern char lbl_8166B550[] = "can't create record; database is closed\n";
|
||||
extern char scCdbMsg_CantCreateRecordClosed[] = "can't create record; database is closed\n";
|
||||
#pragma align 8
|
||||
extern char lbl_8166B57C[] = "can't create record; database is readonly\n";
|
||||
extern char scCdbMsg_CantCreateRecordReadonly[] = "can't create record; database is readonly\n";
|
||||
#pragma align 8
|
||||
extern char lbl_8166B5A8[] = "invalid key\n";
|
||||
extern char scCdbMsg_InvalidKey[] = "invalid key\n";
|
||||
#pragma align 8
|
||||
extern char lbl_8166B5B8[] = "file not found : %s\n";
|
||||
extern char scCdbMsg_FileNotFound[] = "file not found : %s\n";
|
||||
#pragma align 8
|
||||
extern char lbl_8166B5D0[] = "can't execute CDBDatabaseCleanUpEmptyDirectories; database is closed\n";
|
||||
extern char scCdbMsg_CantCleanupDirsClosed[] = "can't execute CDBDatabaseCleanUpEmptyDirectories; database is closed\n";
|
||||
#pragma align 8
|
||||
extern char lbl_8166B618[] = "can't execute CDBDatabaseCleanUpEmptyDirectories; database is readonly\n";
|
||||
extern char scCdbMsg_CantCleanupDirsReadonly[] = "can't execute CDBDatabaseCleanUpEmptyDirectories; database is readonly\n";
|
||||
|
||||
@@ -18,10 +18,8 @@ enum {
|
||||
#define FRIEND_LIST_MAGIC 'WcFl'
|
||||
#define FRIEND_LIST_VERSION 2
|
||||
|
||||
const char lbl_8166E160[26] __attribute__((section(".data"), aligned(8))) = "/shared2/wc24/nwc24fl.bin";
|
||||
void* const lbl_8166E160_pad __attribute__((section(".data"))) = (void*)0;
|
||||
static const char* FLFilePath = lbl_8166E160;
|
||||
const u32 FLFilePath_pad __attribute__((section(".sdata"), aligned(1))) = 0;
|
||||
char scNwc24FlPath[] = "/shared2/wc24/nwc24fl.bin";
|
||||
static const char* FLFilePath = scNwc24FlPath;
|
||||
|
||||
const char g_SpecialsChars[16] = { '(', ')', '<', '>', '[', ']', ':', ';', '\\', ',', '"' };
|
||||
|
||||
|
||||
@@ -198,8 +198,10 @@ int SOShutdown(int socket, int how) {
|
||||
}
|
||||
|
||||
int SOPoll(SOPollFD* fds, unsigned int count, s64 timeout) {
|
||||
s32 size;
|
||||
s32 bytes;
|
||||
s32 result;
|
||||
s32 rm;
|
||||
s32 result,bytes,size;
|
||||
PollRequest* request;
|
||||
SOPollFD* reply;
|
||||
if((result=SOiPrepare(NULL,&rm))==0) {
|
||||
|
||||
@@ -2419,178 +2419,42 @@ void Base::onPressRight() {
|
||||
meScrollFlag = SF_ScrollOn;
|
||||
}
|
||||
|
||||
extern "C" asm void calc__Q39textinput9inputform4BaseFv() {
|
||||
nofralloc
|
||||
stwu r1, -0x40(r1)
|
||||
mflr r0
|
||||
stw r0, 0x44(r1)
|
||||
stfd f31, 0x30(r1)
|
||||
psq_st f31, 0x38(r1), 0, 0
|
||||
stw r31, 0x2c(r1)
|
||||
stw r30, 0x28(r1)
|
||||
mr r30, r3
|
||||
lwz r12, 0x18c(r3)
|
||||
lwz r12, 0x14(r12)
|
||||
mtctr r12
|
||||
addi r3, r3, 0x18c
|
||||
bctrl
|
||||
cmpwi r3, 0
|
||||
beq calc_L1
|
||||
lwz r12, 0x18c(r30)
|
||||
addi r3, r30, 0x18c
|
||||
lwz r12, 0x10(r12)
|
||||
mtctr r12
|
||||
bctrl
|
||||
frsp f0, f1
|
||||
stfs f1, 0x188(r30)
|
||||
stfs f0, 0x100(r30)
|
||||
calc_L1:
|
||||
lwz r12, 0x18c(r30)
|
||||
addi r3, r30, 0x18c
|
||||
lwz r12, 0x14(r12)
|
||||
mtctr r12
|
||||
bctrl
|
||||
cmpwi r3, 0
|
||||
bne calc_L2
|
||||
lwz r12, 0(r30)
|
||||
mr r3, r30
|
||||
lwz r12, 0x16c(r12)
|
||||
mtctr r12
|
||||
bctrl
|
||||
calc_L2:
|
||||
lwz r3, 0x164(r30)
|
||||
lwz r12, 0(r3)
|
||||
lwz r12, 0x78(r12)
|
||||
mtctr r12
|
||||
bctrl
|
||||
cmpwi r3, 0
|
||||
bne calc_L3
|
||||
lfs f1, lbl_81694D38(r0)
|
||||
lfs f0, 0x1ac(r30)
|
||||
fadds f0, f1, f0
|
||||
stfs f0, 0x1ac(r30)
|
||||
calc_L3:
|
||||
lwz r12, 0x18c(r30)
|
||||
addi r3, r30, 0x18c
|
||||
lwz r12, 0xc(r12)
|
||||
mtctr r12
|
||||
bctrl
|
||||
lfs f1, sfColorPhase(r0)
|
||||
lfs f0, lbl_81694D40(r0)
|
||||
fmuls f1, f0, f1
|
||||
bl SinFIdx__Q24nw4r4mathFf
|
||||
lfs f0, lbl_81694D48(r0)
|
||||
li r0, 0x5a
|
||||
li r3, 2
|
||||
li r31, 0xfd
|
||||
fmuls f2, f0, f1
|
||||
lfs f0, lbl_81694D44(r0)
|
||||
stb r3, 0x1c0(r30)
|
||||
fmr f31, f1
|
||||
lwz r3, 0x164(r30)
|
||||
fadds f0, f0, f2
|
||||
stb r0, 0x1c1(r30)
|
||||
fctiwz f0, f0
|
||||
stb r31, 0x1c2(r30)
|
||||
stfd f0, 8(r1)
|
||||
lwz r0, 0xc(r1)
|
||||
stb r0, 0x1c3(r30)
|
||||
lwz r12, 0(r3)
|
||||
lwz r12, 0x78(r12)
|
||||
mtctr r12
|
||||
bctrl
|
||||
cmpwi r3, 0
|
||||
beq calc_L4
|
||||
lfs f1, lbl_81694D50(r0)
|
||||
li r0, 0x8c
|
||||
li r3, 0x34
|
||||
lfs f0, lbl_81694D4C(r0)
|
||||
fmuls f1, f1, f31
|
||||
stb r0, 0x1c1(r30)
|
||||
stb r3, 0x1c0(r30)
|
||||
fadds f0, f0, f1
|
||||
stb r31, 0x1c2(r30)
|
||||
fctiwz f0, f0
|
||||
stfd f0, 8(r1)
|
||||
lwz r0, 0xc(r1)
|
||||
stb r0, 0x1c3(r30)
|
||||
b calc_L7
|
||||
calc_L4:
|
||||
lfs f1, 0x1ac(r30)
|
||||
lfs f5, lbl_81694D4C(r0)
|
||||
fcmpo cr0, f1, f5
|
||||
cror eq, lt, eq
|
||||
bne calc_L7
|
||||
lfs f2, lbl_81694D28(r0)
|
||||
lfs f3, lbl_81694D54(r0)
|
||||
fmr f4, f2
|
||||
lfs f6, lbl_81694D58(r0)
|
||||
fmr f7, f2
|
||||
bl hermiteInterporation__Q29textinput4utilFfffffff
|
||||
fctiwz f0, f1
|
||||
lfs f2, lbl_81694D28(r0)
|
||||
lfs f1, 0x1ac(r30)
|
||||
fmr f4, f2
|
||||
lfs f3, lbl_81694D5C(r0)
|
||||
stfd f0, 8(r1)
|
||||
fmr f7, f2
|
||||
lfs f5, lbl_81694D4C(r0)
|
||||
lwz r0, 0xc(r1)
|
||||
lfs f6, lbl_81694D60(r0)
|
||||
stb r0, 0x1c0(r30)
|
||||
bl hermiteInterporation__Q29textinput4utilFfffffff
|
||||
fctiwz f0, f1
|
||||
lfs f2, lbl_81694D28(r0)
|
||||
lfs f3, lbl_81694D64(r0)
|
||||
fmr f4, f2
|
||||
lfs f1, 0x1ac(r30)
|
||||
stfd f0, 0x10(r1)
|
||||
fmr f6, f3
|
||||
lfs f5, lbl_81694D4C(r0)
|
||||
lwz r0, 0x14(r1)
|
||||
fmr f7, f2
|
||||
stb r0, 0x1c1(r30)
|
||||
bl hermiteInterporation__Q29textinput4utilFfffffff
|
||||
fctiwz f1, f1
|
||||
lfs f2, sfColorPhase(r0)
|
||||
lfs f0, lbl_81694D40(r0)
|
||||
stfd f1, 0x18(r1)
|
||||
fmuls f1, f0, f2
|
||||
lwz r0, 0x1c(r1)
|
||||
stb r0, 0x1c2(r30)
|
||||
bl SinFIdx__Q24nw4r4mathFf
|
||||
lfs f2, lbl_81694D28(r0)
|
||||
fmr f31, f1
|
||||
lfs f3, lbl_81694D4C(r0)
|
||||
fmr f4, f2
|
||||
lfs f1, 0x1ac(r30)
|
||||
fmr f5, f3
|
||||
lfs f6, lbl_81694D44(r0)
|
||||
fmr f7, f2
|
||||
bl hermiteInterporation__Q29textinput4utilFfffffff
|
||||
lfs f0, lbl_81694D68(r0)
|
||||
fmuls f0, f0, f31
|
||||
fadds f0, f1, f0
|
||||
fctiwz f0, f0
|
||||
stfd f0, 0x20(r1)
|
||||
lwz r0, 0x24(r1)
|
||||
stb r0, 0x1c3(r30)
|
||||
calc_L7:
|
||||
lwz r3, 0x214(r30)
|
||||
lfs f1, sfColorPhase(r0)
|
||||
lfs f0, lbl_81694D58(r0)
|
||||
addi r0, r3, 8
|
||||
stw r0, 0x214(r30)
|
||||
fadds f0, f1, f0
|
||||
stfs f0, sfColorPhase(r0)
|
||||
psq_l f31, 0x38(r1), 0, 0
|
||||
lfd f31, 0x30(r1)
|
||||
lwz r31, 0x2c(r1)
|
||||
lwz r30, 0x28(r1)
|
||||
lwz r0, 0x44(r1)
|
||||
mtlr r0
|
||||
addi r1, r1, 0x40
|
||||
blr
|
||||
inline f32 nextColorPhase(f32 phase) { phase += 2.0f; return phase; }
|
||||
inline f32 colorSine(f32 phase) { return nw4r::math::SinFIdx(phase * 0.7111111f); }
|
||||
void Base::calc() {
|
||||
if (mScrollAnm.isActive()) {
|
||||
f32 scroll = mScrollAnm.getValue();
|
||||
mfScrollY = scroll;
|
||||
mfDrawScrollY = mfScrollY;
|
||||
}
|
||||
if (!mScrollAnm.isActive()) autoScroll();
|
||||
if (!mpString->isOnSustain()) mfSustainTimer = 1.0f + mfSustainTimer;
|
||||
mScrollAnm.calc();
|
||||
f32 wave = colorSine(sfColorPhase);
|
||||
mSelectedColor.r = 2;
|
||||
mSelectedColor.g = 90;
|
||||
mSelectedColor.b = 253;
|
||||
mSelectedColor.a = static_cast<u8>(150.0f + 30.0f * wave);
|
||||
if (mpString->isOnSustain()) {
|
||||
mSelectedColor.r = 52;
|
||||
mSelectedColor.g = 140;
|
||||
mSelectedColor.b = 253;
|
||||
mSelectedColor.a = static_cast<u8>(50.0f + 10.0f * wave);
|
||||
} else if (mfSustainTimer <= 50.0f) {
|
||||
mSelectedColor.r = static_cast<u8>(util::hermiteInterporation(mfSustainTimer, 0.0f, 52.0f, 0.0f, 50.0f, 2.0f, 0.0f));
|
||||
mSelectedColor.g = static_cast<u8>(util::hermiteInterporation(mfSustainTimer, 0.0f, 140.0f, 0.0f, 50.0f, 90.0f, 0.0f));
|
||||
u8 blue = static_cast<u8>(util::hermiteInterporation(mfSustainTimer, 0.0f, 253.0f, 0.0f, 50.0f, 253.0f, 0.0f));
|
||||
f32 phase = sfColorPhase;
|
||||
f32 angle = phase * 0.7111111f;
|
||||
mSelectedColor.b = blue;
|
||||
wave = nw4r::math::SinFIdx(angle);
|
||||
f32 alpha = util::hermiteInterporation(mfSustainTimer, 0.0f, 50.0f, 0.0f, 50.0f, 150.0f, 0.0f);
|
||||
mSelectedColor.a = static_cast<u8>(alpha + 20.0f * wave);
|
||||
}
|
||||
u32 cursorTimer = muCursorTimer + 8;
|
||||
f32 phase = sfColorPhase;
|
||||
muCursorTimer = cursorTimer;
|
||||
sfColorPhase = nextColorPhase(phase);
|
||||
}
|
||||
|
||||
Base::RowInfoManager::~RowInfoManager() {
|
||||
@@ -2824,49 +2688,29 @@ void tistring::Decolated::clear() {
|
||||
}
|
||||
|
||||
namespace inputform {
|
||||
extern "C" asm void init__Q49textinput9inputform4Base14RowInfoManagerFv() {
|
||||
nofralloc
|
||||
li r8, 0
|
||||
li r4, 0
|
||||
b init_RowInfo_L1
|
||||
init_RowInfo_L2:
|
||||
lwz r7, 0(r3)
|
||||
subi r5, r8, 1
|
||||
clrlslwi r6, r8, 16, 3
|
||||
addi r0, r8, 1
|
||||
sthux r5, r6, r7
|
||||
addi r8, r8, 1
|
||||
sth r0, 2(r6)
|
||||
sth r4, 4(r6)
|
||||
sth r4, 6(r6)
|
||||
init_RowInfo_L1:
|
||||
lhz r5, 4(r3)
|
||||
clrlwi r0, r8, 16
|
||||
cmplw r0, r5
|
||||
blt init_RowInfo_L2
|
||||
lhz r0, 4(r3)
|
||||
subi r5, r5, 1
|
||||
lwz r7, 0(r3)
|
||||
li r4, 0
|
||||
slwi r6, r0, 3
|
||||
clrlslwi r0, r5, 16, 3
|
||||
sthux r5, r6, r7
|
||||
sth r4, 2(r6)
|
||||
lwz r6, 0(r3)
|
||||
lhz r5, 4(r3)
|
||||
add r4, r6, r0
|
||||
sth r5, 2(r4)
|
||||
lhz r0, 4(r3)
|
||||
sth r0, 0(r6)
|
||||
lhz r5, 4(r3)
|
||||
lwz r4, 0(r3)
|
||||
addi r5, r5, 1
|
||||
clrlslwi r0, r5, 16, 3
|
||||
sthux r5, r4, r0
|
||||
lhz r3, 4(r3)
|
||||
addi r0, r3, 1
|
||||
sth r0, 2(r4)
|
||||
blr
|
||||
inline u16 initializeRowLinks(Base::Info_* const& rows, const u16& capacity) {
|
||||
for (u16 index = 0; index < capacity; ++index) {
|
||||
Base::Info_* row = &rows[index];
|
||||
row->Back = index - 1;
|
||||
row->Next = index + 1;
|
||||
row->StrCount = 0;
|
||||
row->DispRowCount = 0;
|
||||
}
|
||||
return capacity;
|
||||
}
|
||||
void Base::RowInfoManager::init() {
|
||||
u16 capacity = initializeRowLinks(mpInfo, mMaxLength);
|
||||
Info_* freeHead = &mpInfo[mMaxLength];
|
||||
u16 last = capacity - 1;
|
||||
freeHead->Back = last;
|
||||
freeHead->Next = 0;
|
||||
Info_* rows = mpInfo;
|
||||
rows[last].Next = mMaxLength;
|
||||
rows[0].Back = mMaxLength;
|
||||
u16 activeIndex = mMaxLength + 1;
|
||||
Info_* activeHead = &mpInfo[activeIndex];
|
||||
activeHead->Back = activeIndex;
|
||||
activeHead->Next = mMaxLength + 1;
|
||||
}
|
||||
nw4r::math::VEC2 LayoutByNW4R::getScale() const {
|
||||
return mpLayout->GetRootPane()->FindPaneByName(static_cast<const char*>(mpLayoutData), true)->GetScale();
|
||||
@@ -3205,8 +3049,8 @@ bool Base::onCursor(CursorPos* cursor) {
|
||||
glyph.rect.bottom = 0.0f;
|
||||
glyph.character = *predicted;
|
||||
calcRect(glyph);
|
||||
f32 width = glyph.rect.right - glyph.rect.left;
|
||||
f32 fieldWidth = mRect.right - mRect.left;
|
||||
f32 width = glyph.rect.GetWidth();
|
||||
f32 fieldWidth = mRect.GetWidth();
|
||||
f32 cursorX = GetCursorX();
|
||||
if (cursorX + width >= fieldWidth) doLineFeed();
|
||||
Print(*predicted);
|
||||
@@ -3249,9 +3093,7 @@ bool Base::onCursor(CursorPos* cursor) {
|
||||
marker.character = 0xE057;
|
||||
calcRect(space);
|
||||
calcRect(marker);
|
||||
f32 markerWidth = marker.rect.right - marker.rect.left;
|
||||
f32 spaceWidth = space.rect.right - space.rect.left;
|
||||
f32 offset = ((spaceWidth - markerWidth) * 0.5f) * getScale().x;
|
||||
f32 offset = ((space.rect.GetWidth() - marker.rect.GetWidth()) / 2.0f) * getScale().x;
|
||||
MoveCursorX(offset);
|
||||
Print(0xE057);
|
||||
MoveCursorX(offset);
|
||||
|
||||
@@ -312,7 +312,7 @@ namespace ipl {
|
||||
|
||||
#pragma push
|
||||
#pragma section sconst_type ".sdata2"
|
||||
extern "C" const f32 lbl_816948EC = 0.0f;
|
||||
extern "C" const f32 scDateZeroF = 0.0f;
|
||||
extern "C" const f32 lbl_816948F0;
|
||||
#pragma pop
|
||||
} // namespace scene
|
||||
|
||||
@@ -10,9 +10,9 @@
|
||||
namespace ipl {
|
||||
namespace scene {
|
||||
// clang-format off
|
||||
extern "C" char lbl_8164E290[] = "Cursur_a";
|
||||
extern "C" char scCursur_a[] = "Cursur_a";
|
||||
|
||||
static const char* scCursur = lbl_8164E290;
|
||||
static const char* scCursur = scCursur_a;
|
||||
|
||||
static const char* scCursorAnims[] = {
|
||||
"my_IplTop_d_FocusOff.brlan",
|
||||
@@ -20,10 +20,10 @@ namespace ipl {
|
||||
"my_IplTop_d_Select.brlan",
|
||||
};
|
||||
|
||||
extern "C" const char* lbl_8169699C = "T_Balloon";
|
||||
extern "C" const char* scPaneName_T_Balloon = "T_Balloon";
|
||||
|
||||
extern "C" const char* lbl_816969A8 = "W_Base";
|
||||
extern "C" const char* lbl_816969B4 = "W_Shade";
|
||||
extern "C" const char* scPaneName_W_Base = "W_Base";
|
||||
extern "C" const char* scPaneName_W_Shade = "W_Shade";
|
||||
|
||||
static const char* scLangGroups[] = {
|
||||
"JPN",
|
||||
@@ -38,8 +38,8 @@ namespace ipl {
|
||||
"KOR",
|
||||
};
|
||||
|
||||
extern "C" char lbl_816969DC[] = "Calc";
|
||||
extern "C" char lbl_816969E1[] = "Create";
|
||||
extern "C" char scExport_Calc[] = "Calc";
|
||||
extern "C" char scExport_Create[] = "Create";
|
||||
|
||||
#pragma pack(1)
|
||||
struct ModuleData {
|
||||
@@ -53,7 +53,7 @@ namespace ipl {
|
||||
};
|
||||
#pragma pack()
|
||||
|
||||
extern "C" ModuleData lbl_8164E328 = {
|
||||
extern "C" ModuleData scModuleData = {
|
||||
{
|
||||
{
|
||||
"JPN",
|
||||
@@ -112,9 +112,9 @@ namespace ipl {
|
||||
"icon_Whole.brlan",
|
||||
};
|
||||
|
||||
extern "C" char lbl_8164E6AF[] = "%s_Rso%d.brlan";
|
||||
extern "C" char lbl_8164E6C0[] = "icon_Start.brlan";
|
||||
extern "C" char lbl_816969E8[] = "arc";
|
||||
extern "C" char scBrlan_RsoFmt[] = "%s_Rso%d.brlan";
|
||||
extern "C" char scBrlan_icon_Start[] = "icon_Start.brlan";
|
||||
extern "C" char scArc[] = "arc";
|
||||
|
||||
static const u32 scLangLookup[SC_PRODUCT_AREA_MAX][16] = {
|
||||
// Japan
|
||||
@@ -296,7 +296,7 @@ namespace ipl {
|
||||
|
||||
int ChannelObj::calcExtModule(EGG::ExpHeap* expHeap, bool unk0, bool onSceneChange) {
|
||||
int result = EXT_MODULE_RESULT_WAIT;
|
||||
const char* dataBase = lbl_8164E290;
|
||||
const char* dataBase = scCursur_a;
|
||||
|
||||
if (mExtModuleState == EXT_MODULE_STATE_UNAVAILABLE) {
|
||||
return EXT_MODULE_RESULT_UNAVAILABLE;
|
||||
@@ -354,7 +354,7 @@ namespace ipl {
|
||||
|
||||
// Import `int Calc(int)`
|
||||
// This is during ChannelObj's loop.
|
||||
mpRSOCalc = (channel::CalcFunc)RSOFindExportSymbolAddr(mpRSOHeader, lbl_816969DC);
|
||||
mpRSOCalc = (channel::CalcFunc)RSOFindExportSymbolAddr(mpRSOHeader, scExport_Calc);
|
||||
|
||||
// Import `void ThreadCalc()`
|
||||
// This is executed on a seperate thread.
|
||||
@@ -364,7 +364,7 @@ namespace ipl {
|
||||
|
||||
// Import `void Create(nw4r::lyt::Layout*)`
|
||||
// This is the initialization of the module.
|
||||
channel::CreateFunc createFunc = (channel::CreateFunc)RSOFindExportSymbolAddr(mpRSOHeader, lbl_816969E1);
|
||||
channel::CreateFunc createFunc = (channel::CreateFunc)RSOFindExportSymbolAddr(mpRSOHeader, scExport_Create);
|
||||
if (createFunc != NULL) {
|
||||
createFunc(mpThumbLayout->getNW4RLyt());
|
||||
}
|
||||
@@ -501,8 +501,8 @@ namespace ipl {
|
||||
}
|
||||
|
||||
void ChannelObj::createDiskLayout(void* data) {
|
||||
const ModuleData* moduleData = reinterpret_cast<const ModuleData*>(lbl_8164E290 + 0x98);
|
||||
mpDiskLayout = layout::Object::create(mpDiskHeap, 0x19000, data, lbl_816969E8, moduleData->iconBrlyt);
|
||||
const ModuleData* moduleData = reinterpret_cast<const ModuleData*>(scCursur_a + 0x98);
|
||||
mpDiskLayout = layout::Object::create(mpDiskHeap, 0x19000, data, scArc, moduleData->iconBrlyt);
|
||||
setLangPane(mpDiskLayout);
|
||||
|
||||
if (mpDiskLayout->searchFile(moduleData->iconBrlan)) {
|
||||
@@ -638,7 +638,7 @@ namespace ipl {
|
||||
void ChannelObj::setLangPane(const layout::Object* layout) {
|
||||
int lang = System::getLanguage();
|
||||
const char* langGroup = scLangGroups[lang];
|
||||
char local_50[40] = "";
|
||||
char langCodeBuf[40] = "";
|
||||
|
||||
bool bVar4 = false;
|
||||
|
||||
@@ -663,8 +663,8 @@ namespace ipl {
|
||||
|
||||
for (int i = 0; i < 10; i++) {
|
||||
if (strncmp(it->GetName(), scLangGroups[i], 3) == 0) {
|
||||
memcpy(&local_50[i], it->GetName(), 3);
|
||||
local_50[i + 3] = 0;
|
||||
memcpy(&langCodeBuf[i], it->GetName(), 3);
|
||||
langCodeBuf[i + 3] = 0;
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -680,10 +680,10 @@ namespace ipl {
|
||||
} else {
|
||||
s32 region = System::getRegion();
|
||||
for (int i = 0; i < channel::MAX_ANIMS; i++) {
|
||||
char* groupName = (char*)lbl_8164E328.langGroupLookup[region][i];
|
||||
char* groupName = (char*)scModuleData.langGroupLookup[region][i];
|
||||
|
||||
if (groupName != NULL) {
|
||||
if (strcmp(groupName, &local_50[scLangLookup[region][i]]) == 0) {
|
||||
if (strcmp(groupName, &langCodeBuf[scLangLookup[region][i]]) == 0) {
|
||||
nw4r::lyt::Group* group = layout->FindGroupByName(groupName);
|
||||
for (nw4r::lyt::PaneLinkList::Iterator it = group->GetPaneList().GetBeginIter(); it != group->GetPaneList().GetEndIter();
|
||||
it++) {
|
||||
@@ -698,7 +698,7 @@ namespace ipl {
|
||||
void ChannelObj::bindRsoAnm(layout::Object* layout, layout::Animator** anims, const char* layoutFile) {
|
||||
for (int i = 0; i < channel::MAX_ANIMS; i++) {
|
||||
char fileName[20];
|
||||
sprintf(fileName, lbl_8164E6AF, layoutFile, i);
|
||||
sprintf(fileName, scBrlan_RsoFmt, layoutFile, i);
|
||||
|
||||
if (layout->searchFile(fileName)) {
|
||||
char groupName[8];
|
||||
@@ -772,10 +772,10 @@ namespace ipl {
|
||||
f32 ChannelObj::createWadThumbnail() {
|
||||
f32 frame = 0.0f;
|
||||
|
||||
mpThumbLayout = layout::Object::create(mpMainHeap, 0x8000, mpThumbFile->getBuffer(), lbl_816969E8, lbl_8164E290 + 0x3F8);
|
||||
mpThumbLayout = layout::Object::create(mpMainHeap, 0x8000, mpThumbFile->getBuffer(), scArc, scCursur_a + 0x3F8);
|
||||
setLangPane(mpThumbLayout);
|
||||
|
||||
const char* dataBase = lbl_8164E290;
|
||||
const char* dataBase = scCursur_a;
|
||||
u32 rsoIdx = System::getChannelManager()->getIconRSOIdx(mChanPage, mChanIndex);
|
||||
u32 csIdx = System::getChannelManager()->getIconCSIdx(mChanPage, mChanIndex);
|
||||
|
||||
@@ -826,11 +826,11 @@ namespace ipl {
|
||||
return frame;
|
||||
}
|
||||
|
||||
extern "C" char lbl_8164E6CF[] = "my_IplTop_b.brlyt";
|
||||
extern "C" char lbl_8164E6E1[] = "my_IplTop_b.brlan";
|
||||
extern "C" char scBrlyt_my_IplTop_b[] = "my_IplTop_b.brlyt";
|
||||
extern "C" char scBrlan_my_IplTop_b[] = "my_IplTop_b.brlan";
|
||||
|
||||
f32 ChannelObj::createWrongThumbnail() {
|
||||
mpThumbLayout = layout::Object::create(mpMainHeap, 0x8000, mpSysLayoutFile, lbl_816969E8, lbl_8164E6CF);
|
||||
mpThumbLayout = layout::Object::create(mpMainHeap, 0x8000, mpSysLayoutFile, scArc, scBrlyt_my_IplTop_b);
|
||||
|
||||
mpThumbLayout->FindPaneByName("Ch0")->SetVisible(false);
|
||||
mpThumbLayout->FindPaneByName("Ch1")->GetMaterial()->SetTevColor(0, (GXColorS10){0, 0, 0, 255});
|
||||
@@ -841,8 +841,8 @@ namespace ipl {
|
||||
}
|
||||
|
||||
f32 ChannelObj::createEmptyThumbnail() {
|
||||
mpThumbLayout = layout::Object::create(mpMainHeap, 0x8000, mpSysLayoutFile, lbl_816969E8, lbl_8164E6CF);
|
||||
mpThumbAnim = mpThumbLayout->bind(lbl_8164E6E1);
|
||||
mpThumbLayout = layout::Object::create(mpMainHeap, 0x8000, mpSysLayoutFile, scArc, scBrlyt_my_IplTop_b);
|
||||
mpThumbAnim = mpThumbLayout->bind(scBrlan_my_IplTop_b);
|
||||
|
||||
return System::getRndm()->get_u16() % 2000;
|
||||
}
|
||||
@@ -871,12 +871,12 @@ namespace ipl {
|
||||
calcBalloon(pos);
|
||||
}
|
||||
|
||||
extern "C" char lbl_8164E6F3[] = "my_IplTop_d.brlyt";
|
||||
extern "C" char lbl_8164E705[] = "my_IplTopBalloon_a.brlyt";
|
||||
extern "C" char lbl_8164E71E[] = "my_IplTopBalloon_a_BalloonInOut.brlan";
|
||||
extern "C" char scBrlyt_my_IplTop_d[] = "my_IplTop_d.brlyt";
|
||||
extern "C" char scBrlyt_my_IplTopBalloon_a[] = "my_IplTopBalloon_a.brlyt";
|
||||
extern "C" char scBrlan_BalloonInOut[] = "my_IplTopBalloon_a_BalloonInOut.brlan";
|
||||
|
||||
void ChannelObj::initCursor() {
|
||||
mpCursorLayout = new (mpCursorHeap, 4) layout::Object(mpCursorHeap, mpSysLayoutFile, lbl_816969E8, lbl_8164E6F3);
|
||||
mpCursorLayout = new (mpCursorHeap, 4) layout::Object(mpCursorHeap, mpSysLayoutFile, scArc, scBrlyt_my_IplTop_d);
|
||||
|
||||
for (int i = 0; i < ANIM_CURSOR_MAX; i++) {
|
||||
mpCursorAnims[i] = mpCursorLayout->bind(scCursorAnims[i], scCursur, false);
|
||||
@@ -1001,19 +1001,19 @@ namespace ipl {
|
||||
mpBalloonLayout = NULL;
|
||||
return;
|
||||
}
|
||||
mpBalloonLayout = new (mpBalloonHeap, 4) layout::Object(mpBalloonHeap, mpSysLayoutFile, lbl_816969E8, lbl_8164E705);
|
||||
mpBalloonLayout = new (mpBalloonHeap, 4) layout::Object(mpBalloonHeap, mpSysLayoutFile, scArc, scBrlyt_my_IplTopBalloon_a);
|
||||
|
||||
setBalloonText((wchar_t*)System::getChannelManager()->getTitleName(mChanPage, mChanIndex, 0));
|
||||
|
||||
mpBalloonAnim = mpBalloonLayout->bind(lbl_8164E71E);
|
||||
mpBalloonAnim = mpBalloonLayout->bind(scBrlan_BalloonInOut);
|
||||
setBalloonAnim(0);
|
||||
mpBalloonLayout->finishBinding();
|
||||
}
|
||||
|
||||
extern "C" char lbl_8164E744[] = "WIPL_SE_BALLOON";
|
||||
extern "C" char scSE_BALLOON[] = "WIPL_SE_BALLOON";
|
||||
|
||||
void ChannelObj::setBalloonText(const wchar_t* text) {
|
||||
nw4r::lyt::TextBox* textPane = nw4r::ut::DynamicCast<nw4r::lyt::TextBox*>(mpBalloonLayout->FindPaneByName(lbl_8169699C));
|
||||
nw4r::lyt::TextBox* textPane = nw4r::ut::DynamicCast<nw4r::lyt::TextBox*>(mpBalloonLayout->FindPaneByName(scPaneName_T_Balloon));
|
||||
|
||||
wchar_t fullStr[channel::META_CHANNEL_NAME_LENGTH + 3] = L"";
|
||||
u32 strLen;
|
||||
@@ -1052,22 +1052,22 @@ namespace ipl {
|
||||
|
||||
nw4r::ut::Rect textRect = textPane->GetTextDrawRect(*mpBalloonLayout->getDrawInfo());
|
||||
|
||||
nw4r::lyt::Size newSize(mpBalloonLayout->FindPaneByName(lbl_816969A8)->GetSize());
|
||||
nw4r::lyt::Size newSize(mpBalloonLayout->FindPaneByName(scPaneName_W_Base)->GetSize());
|
||||
newSize.width = textRect.right - textRect.left + 40.0f;
|
||||
|
||||
if (newSize.width < mLocationAdjust * 160.0f) {
|
||||
newSize.width = mLocationAdjust * 160.0f;
|
||||
}
|
||||
|
||||
mpBalloonLayout->FindPaneByName(lbl_816969B4)->SetSize(newSize);
|
||||
mpBalloonLayout->FindPaneByName(lbl_816969A8)->SetSize(newSize);
|
||||
mpBalloonLayout->FindPaneByName(scPaneName_W_Shade)->SetSize(newSize);
|
||||
mpBalloonLayout->FindPaneByName(scPaneName_W_Base)->SetSize(newSize);
|
||||
}
|
||||
|
||||
void ChannelObj::calcBalloon(const nw4r::math::VEC3& vec) {
|
||||
if (mpBalloonLayout != NULL) {
|
||||
nw4r::lyt::Size size;
|
||||
|
||||
size = mpBalloonLayout->FindPaneByName(lbl_816969A8)->GetSize();
|
||||
size = mpBalloonLayout->FindPaneByName(scPaneName_W_Base)->GetSize();
|
||||
|
||||
f32 val = -2.0f + ((size.height / 2) + mThumbHeight);
|
||||
val *= -1.0f;
|
||||
@@ -1117,7 +1117,7 @@ namespace ipl {
|
||||
mpBalloonLayout->GetRootPane()->SetVisible(true);
|
||||
mpBalloonLayout->setAnmType(ANIM_TYPE_FORWARD);
|
||||
mpBalloonLayout->start();
|
||||
snd::getSystem()->startSE(lbl_8164E744);
|
||||
snd::getSystem()->startSE(scSE_BALLOON);
|
||||
} else if (unk == 4) {
|
||||
unk_0x68 = 0;
|
||||
}
|
||||
@@ -1229,7 +1229,7 @@ namespace ipl {
|
||||
if (group != NULL) {
|
||||
mpNwc24NewGroup = group;
|
||||
} else {
|
||||
lookup = (char**)lbl_8164E328.langGroupLookup[System::getRegion()];
|
||||
lookup = (char**)scModuleData.langGroupLookup[System::getRegion()];
|
||||
|
||||
for (int i = 0; lookup[i] != NULL; i++) {
|
||||
sprintf(grpName, "New_%s", lookup[i]);
|
||||
|
||||
@@ -1,19 +1,19 @@
|
||||
#include <revolution/gx/GXStruct.h>
|
||||
#include <revolution/os/OSError.h>
|
||||
|
||||
extern "C" const unsigned char lbl_8169622C;
|
||||
extern "C" const unsigned char lbl_8169622D;
|
||||
extern "C" const unsigned char lbl_8169622E;
|
||||
extern "C" const unsigned char lbl_8169622F;
|
||||
extern "C" const char lbl_81639230[65];
|
||||
extern "C" const unsigned char scRsoFatalColorR;
|
||||
extern "C" const unsigned char scRsoFatalColorG;
|
||||
extern "C" const unsigned char scRsoFatalColorB;
|
||||
extern "C" const unsigned char scRsoFatalColorA;
|
||||
extern "C" const char scRsoFatalMsg[65];
|
||||
|
||||
#define NW4R_DB_ASSERT_H
|
||||
#define NW4R_ASSERT(x) \
|
||||
{ \
|
||||
if (!(x)) { \
|
||||
GXColor front = {*((volatile const unsigned char*)&lbl_8169622C), *((volatile const unsigned char*)&lbl_8169622D), *((volatile const unsigned char*)&lbl_8169622E), *((volatile const unsigned char*)&lbl_8169622F)}; \
|
||||
GXColor front = {*((volatile const unsigned char*)&scRsoFatalColorR), *((volatile const unsigned char*)&scRsoFatalColorG), *((volatile const unsigned char*)&scRsoFatalColorB), *((volatile const unsigned char*)&scRsoFatalColorA)}; \
|
||||
GXColor back = {0, 0, 0, 0}; \
|
||||
OSFatal((GXColor)front, (GXColor)back, lbl_81639230); \
|
||||
OSFatal((GXColor)front, (GXColor)back, scRsoFatalMsg); \
|
||||
} \
|
||||
}
|
||||
|
||||
@@ -326,15 +326,15 @@ __declspec(export) void IplRso_symbolMaker() {
|
||||
wideTextWriter->CalcStringRect(&rect, L"");
|
||||
}
|
||||
|
||||
extern "C" __declspec(section ".sdata") const unsigned char lbl_8169622C = 255;
|
||||
extern "C" __declspec(section ".sdata") const unsigned char lbl_8169622D = 255;
|
||||
extern "C" __declspec(section ".sdata") const unsigned char lbl_8169622E = 255;
|
||||
extern "C" __declspec(section ".sdata") const unsigned char lbl_8169622F = 0;
|
||||
extern "C" __declspec(section ".sdata") const unsigned char scRsoFatalColorR = 255;
|
||||
extern "C" __declspec(section ".sdata") const unsigned char scRsoFatalColorG = 255;
|
||||
extern "C" __declspec(section ".sdata") const unsigned char scRsoFatalColorB = 255;
|
||||
extern "C" __declspec(section ".sdata") const unsigned char scRsoFatalColorA = 0;
|
||||
|
||||
extern "C" __declspec(section ".data") const char lbl_81639230[65] = "Error#004\nAn error has occurred.\nThe system files are corrupted.";
|
||||
extern "C" __declspec(section ".data") const char scRsoFatalMsg[65] = "Error#004\nAn error has occurred.\nThe system files are corrupted.";
|
||||
|
||||
extern "C" __declspec(section ".data") __declspec(align(1)) const f32 rso_data_pad_f32 = 0.0f;
|
||||
extern "C" __declspec(section ".data") __declspec(align(1)) const u16 rso_data_pad_u16 = 0;
|
||||
extern "C" __declspec(section ".data") __declspec(align(1)) const u8 rso_data_pad_u8 = 0;
|
||||
|
||||
extern "C" __declspec(section ".sdata2") const f32 lbl_81694598 = 0.0f;
|
||||
extern "C" __declspec(section ".sdata2") const f32 scRsoZeroF = 0.0f;
|
||||
|
||||
358
tools/decomp-assist/sol-high-inputform-continuation.attempts.md
Normal file
358
tools/decomp-assist/sol-high-inputform-continuation.attempts.md
Normal file
@@ -0,0 +1,358 @@
|
||||
# tiInputForm continuation
|
||||
Baseline quick gate: instruction-exact 214/221; objdiff 216/221; code 45080/50656; data 908/3772; asm bodies 3; pool identical; regressions 0; DOL SHA1 26116613f624061ba99c8d1a299aaa6efa85670d.
|
||||
Structural diagnosis before experiments:
|
||||
- onCursor: same 0x120 frame and 473 instructions; five differences at width temporaries and two multiplication operands. Inline Rect accessors affect operand form.
|
||||
- calcCursorPos: same 0xf0 frame and 326 instructions; scale components occupy reversed FP registers, rectangle arithmetic is jointly scheduled rather than the target's separate inline height/width boundaries.
|
||||
- LayoutByNW4R::create: 352/356 instructions; initial root query uses virtual getPane instead of direct FindPaneByName; later conditional query hoists receiver loads; animation-file pointer is cached across calls where target reloads it.
|
||||
- setLanguage: same frame and 237 instructions; two conditional pane-name blocks hoist layout/root loads before branch. No string-pool divergence.
|
||||
- Concatenated isEnableCursorCache/getStartPos: original eight-byte symbol covers two existing members. No source/config renaming or resizing allowed.
|
||||
- disasm_fn stops at paired-single instructions on this Capstone build; ctxdiff and per-instruction declsearch decoding expose the full body.
|
||||
Initial nine cursor trials were rerun with corrected pool_diff arguments below. First copies without pool output are excluded from the audit.
|
||||
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-accessor-boundary-0 | 540b49819992 | score (0, 4) instructions 473/473 |
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-accessor-boundary-1 | 1018ca1bcebf | score (0, 3) instructions 473/473 |
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-accessor-boundary-2 | 10371ce40618 | score (10, 17) instructions 473/473 |
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-accessor-boundary-3 | f728d01ca4c9 | score (0, 4) instructions 473/473 |
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-accessor-boundary-4 | 318a3e072a93 | score (4, 8) instructions 473/473 |
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-center-helper-0 | df65ad444316 | score (14, 17) instructions 473/473 |
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-center-helper-1 | 39992fee9a8b | score (14, 17) instructions 473/473 |
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-center-helper-2 | db564c79896e | score (0, 7) instructions 473/473 |
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-center-helper-3 | 9868b91a4ea9 | score (0, 3) instructions 473/473 |
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-accessor-boundary-0 | 540b49819992 | score (0, 4) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-accessor-boundary-1 | 1018ca1bcebf | score (0, 3) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-accessor-boundary-2 | 10371ce40618 | score (10, 17) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-accessor-boundary-3 | f728d01ca4c9 | score (0, 4) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-accessor-boundary-4 | 318a3e072a93 | score (4, 8) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-center-helper-0 | df65ad444316 | score (14, 17) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-center-helper-1 | 39992fee9a8b | score (14, 17) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-center-helper-2 | db564c79896e | score (0, 7) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-center-helper-3 | 9868b91a4ea9 | score (0, 3) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-reuse-rectangle-0 | fbfea889b955 | score (0, 4) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-reuse-rectangle-1 | 30287152ca58 | score (0, 4) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-reuse-rectangle-2 | db5ab9c485e4 | score (0, 4) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-reuse-rectangle-3 | 03cd168ad159 | score (0, 4) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-reuse-rectangle-4 | 58ce0d8ec056 | score (0, 4) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-reuse-rectangle-5 | 74a1b2358802 | score (0, 4) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-reuse-rectangle-6 | a5f82cf8538b | score (0, 4) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-reuse-rectangle-7 | b147b955a959 | score (0, 4) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-reuse-rectangle-8 | 3930e547f58d | score (0, 4) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-reuse-rectangle-9 | ba9eb102785b | score (0, 4) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-reuse-rectangle-10 | 7ad938b508c7 | score (0, 4) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-reuse-rectangle-11 | 3c182590a36c | score (0, 4) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-decl-scope-0-0 | d11215cf5e08 | score (0, 4) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-decl-scope-1-0 | 266cd86b5276 | score (0, 4) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-decl-scope-2-0 | 9cfc32375c4d | score (0, 6) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-decl-scope-0-1 | 3afe057a0e80 | score (0, 4) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-decl-scope-1-1 | 49f309a1542e | score (0, 4) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-decl-scope-2-1 | 21300e88c458 | score (0, 6) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-decl-scope-0-2 | 6040e571ab84 | score (0, 4) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-decl-scope-1-2 | 68e4541c6b7e | score (0, 4) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-decl-scope-2-2 | 420ff29a9882 | score (0, 6) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-decl-scope-0-3 | 6e91b9f42d87 | score (0, 4) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-decl-scope-1-3 | 11a0ffa84178 | score (0, 4) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-decl-scope-2-3 | e9c8fd782fdc | score (0, 6) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-decl-scope-0-4 | e91f413718f5 | score (0, 4) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-decl-scope-1-4 | b6eb44567fbb | score (0, 4) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-decl-scope-2-4 | 4a9aa7494020 | score (0, 6) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-decl-scope-0-5 | f728d01ca4c9 | score (0, 4) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-decl-scope-1-5 | 67c80fb73b61 | score (0, 4) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-decl-scope-2-5 | 15913b71258b | score (0, 6) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calcCursorPos__Q39textinput9inputform4BaseFff | cursorpos-inline-geometry-0 | 229f61d14189 | score (26, 43) instructions 326/326 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calcCursorPos__Q39textinput9inputform4BaseFff | cursorpos-inline-geometry-1 | 0c12625beaf2 | score (26, 43) instructions 326/326 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calcCursorPos__Q39textinput9inputform4BaseFff | cursorpos-inline-geometry-2 | b2f56ff914f1 | score (80, 235) instructions 317/326 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calcCursorPos__Q39textinput9inputform4BaseFff | cursorpos-inline-geometry-3 | 721eb7bbb34b | score (80, 235) instructions 317/326 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calcCursorPos__Q39textinput9inputform4BaseFff | cursorpos-inline-geometry-4 | 23f72561d7f1 | score (26, 54) instructions 326/326 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calcCursorPos__Q39textinput9inputform4BaseFff | cursorpos-inline-geometry-5 | 7382d3822dec | score (26, 54) instructions 326/326 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calcCursorPos__Q39textinput9inputform4BaseFff | cursorpos-inline-geometry-6 | c099e471bba7 | score (26, 54) instructions 326/326 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calcCursorPos__Q39textinput9inputform4BaseFff | cursorpos-inline-geometry-7 | b8accdca32b1 | score (26, 54) instructions 326/326 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calcCursorPos__Q39textinput9inputform4BaseFff | cursorpos-inline-geometry-8 | 0c49513b1190 | score (72, 329) instructions 331/326 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calcCursorPos__Q39textinput9inputform4BaseFff | cursorpos-inline-geometry-9 | 567002642739 | score (72, 329) instructions 331/326 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calcCursorPos__Q39textinput9inputform4BaseFff | cursorpos-inline-geometry-10 | 30a4359e3249 | score (245, 397) instructions 401/326 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calcCursorPos__Q39textinput9inputform4BaseFff | cursorpos-inline-geometry-11 | 81459b226e6c | score (245, 397) instructions 401/326 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-operand-helper-0 | ce49aebb516b | score (0, 5) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-operand-helper-1 | a135e0144bc9 | score (0, 4) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-operand-helper-2 | c286200c90fa | score (0, 4) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-operand-helper-3 | e8a7bfb851a4 | score (0, 3) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-operand-helper-4 | 8c86eb679ff1 | score (0, 7) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-operand-helper-5 | 293a7c71503b | score (14, 17) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-operand-helper-6 | b01025a3ca45 | score (0, 7) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-operand-helper-7 | 2003dd441280 | score (0, 7) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-operand-helper-8 | 917a6209708b | score (14, 17) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-operand-helper-9 | d9346cd0dc50 | score (0, 7) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-operand-helper-10 | e70ab2990eaf | score (10, 17) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-operand-helper-11 | 9a1a3c6f0761 | score (0, 4) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-operand-helper-12 | 20b779c34e7e | score (10, 17) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-operand-helper-13 | 93c0fbd6d383 | score (0, 3) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-all-accessors-0 | de89b173bcd2 | score (0, 2) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-all-accessors-1 | 859f4ef7ab72 | score (0, 1) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-all-accessors-2 | 87ff22954cef | score (0, 2) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-all-accessors-3 | 1097890e7782 | score (0, 1) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-all-accessors-4 | 81faa3d995dc | score (0, 1) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
onCursor__Q39textinput9inputform4BaseFPQ49textinput10textdrawer4Base9CursorPos | cursor-all-accessors-5 | 8e7f6ceaecca | score (0, 0) instructions 473/473 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
|
||||
Accepted onCursor: fresh full gate PASS; objdiff 100.0%; ctxdiff 473/473, diffs 0; pool identical; regressions 0; readability/forbidden 0; DOL correct. Inline width accessors throughout onCursor plus a single centered width expression preserve target temporary homes and multiplication operands. Shared headers unchanged.
|
||||
setLanguage__Q39textinput9inputform12LayoutByNW4RFQ29textinput8Language | language-selector-boundary-0 | 0d0c42639971 | score (24, 186) instructions 239/237 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
setLanguage__Q39textinput9inputform12LayoutByNW4RFQ29textinput8Language | language-selector-boundary-1 | a2a02ac0dc07 | score (24, 186) instructions 239/237 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
setLanguage__Q39textinput9inputform12LayoutByNW4RFQ29textinput8Language | language-selector-boundary-2 | build failed; excluded
|
||||
setLanguage__Q39textinput9inputform12LayoutByNW4RFQ29textinput8Language | language-selector-boundary-3 | fdbfdb7f264d | score (12, 22) instructions 237/237 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
setLanguage__Q39textinput9inputform12LayoutByNW4RFQ29textinput8Language | language-selector-boundary-4 | e659de7a358f | score (12, 22) instructions 237/237 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
setLanguage__Q39textinput9inputform12LayoutByNW4RFQ29textinput8Language | language-selector-boundary-5 | 9f7f572dbf04 | score (23, 190) instructions 252/237 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
setLanguage__Q39textinput9inputform12LayoutByNW4RFQ29textinput8Language | language-selector-boundary-6 | ba10179ece2a | score (31, 190) instructions 252/237 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
create__Q39textinput9inputform12LayoutByNW4RFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | layoutcreate-query-file-slots-0 | 8e7f6ceaecca | score (20, 230) instructions 352/356 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
create__Q39textinput9inputform12LayoutByNW4RFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | layoutcreate-query-file-slots-1 | 0a364a04c1a3 | score (15, 178) instructions 354/356 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
create__Q39textinput9inputform12LayoutByNW4RFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | layoutcreate-query-file-slots-2 | 3dd47ea1b7d0 | score (11, 231) instructions 354/356 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
create__Q39textinput9inputform12LayoutByNW4RFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | layoutcreate-query-file-slots-3 | eefda73f93e6 | score (6, 153) instructions 356/356 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
create__Q39textinput9inputform12LayoutByNW4RFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | layoutcreate-query-file-slots-4 | 9420eff8e29f | score (20, 230) instructions 352/356 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
create__Q39textinput9inputform12LayoutByNW4RFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | layoutcreate-query-file-slots-5 | 01d2c5a19793 | score (15, 178) instructions 354/356 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
create__Q39textinput9inputform12LayoutByNW4RFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | layoutcreate-query-file-slots-6 | 62883ff07dd4 | score (11, 231) instructions 354/356 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
create__Q39textinput9inputform12LayoutByNW4RFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | layoutcreate-query-file-slots-7 | 379e110e3fb7 | score (6, 153) instructions 356/356 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
create__Q39textinput9inputform4BaseFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | basecreate-row-helper-0 | f1745af389f0 | score (0, 26) instructions 72/72 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
create__Q39textinput9inputform4BaseFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | basecreate-row-helper-1 | build failed; excluded
|
||||
create__Q39textinput9inputform4BaseFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | basecreate-row-helper-2 | 29237d032c25 | score (0, 26) instructions 72/72 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
create__Q39textinput9inputform4BaseFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | basecreate-row-helper-3 | d100c1be01c9 | score (0, 27) instructions 72/72 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
create__Q39textinput9inputform4BaseFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | basecreate-row-helper-4 | 53166392bdfb | score (0, 27) instructions 72/72 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
create__Q39textinput9inputform4BaseFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | basecreate-row-helper-5 | build failed; excluded
|
||||
create__Q39textinput9inputform4BaseFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | basecreate-row-helper-6 | 8eb55addec1d | score (0, 27) instructions 72/72 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
create__Q39textinput9inputform4BaseFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | basecreate-row-helper-7 | 229f003b20cb | score (0, 27) instructions 72/72 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calc__Q39textinput9inputform4BaseFv | calc-color-sine-boundary-0 | build failed; excluded
|
||||
calc__Q39textinput9inputform4BaseFv | calc-color-sine-boundary-1 | build failed; excluded
|
||||
calc__Q39textinput9inputform4BaseFv | calc-color-sine-boundary-2 | build failed; excluded
|
||||
calc__Q39textinput9inputform4BaseFv | calc-color-sine-boundary-3 | build failed; excluded
|
||||
calc__Q39textinput9inputform4BaseFv | calc-color-sine-boundary-4 | build failed; excluded
|
||||
calc__Q39textinput9inputform4BaseFv | calc-color-sine-boundary-5 | build failed; excluded
|
||||
calc__Q39textinput9inputform4BaseFv | calc-color-sine-boundary-6 | build failed; excluded
|
||||
calc__Q39textinput9inputform4BaseFv | calc-color-sine-boundary-7 | build failed; excluded
|
||||
calc__Q39textinput9inputform4BaseFv | calc-color-sine-boundary-8 | build failed; excluded
|
||||
calc__Q39textinput9inputform4BaseFv | calc-color-sine-boundary-9 | build failed; excluded
|
||||
|
||||
Assembly conversion diagnosis:
|
||||
- Base::create target frame 0x20, 72 instructions. First C++ form has identical structure and frame, 26 register differences confined to circular row removal/insertion. The inline-helper boundary trials retain structure but change row/index register homes.
|
||||
- Base::calc target frame 0x40, 165 instructions. Animation, kana timer and color interpolation calls are structurally represented; remaining checks compare sine angle operands, float conversion/store scheduling and counter/phase updates.
|
||||
- RowInfoManager::init target leaf, 39 instructions. u16 loop index; row Back/Next/StrCount/DispRowCount stores; target re-reads capacity for free/active sentinels and uses update-address stores.
|
||||
calc__Q39textinput9inputform4BaseFv | calc-color-sine-boundary-0 | 239a30680a4e | score (15, 19) instructions 165/165 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calc__Q39textinput9inputform4BaseFv | calc-color-sine-boundary-1 | d0c86385a93f | score (15, 21) instructions 165/165 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calc__Q39textinput9inputform4BaseFv | calc-color-sine-boundary-2 | 0f58ed0ac038 | score (15, 21) instructions 165/165 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calc__Q39textinput9inputform4BaseFv | calc-color-sine-boundary-3 | 49b8cf4e2fec | score (15, 19) instructions 165/165 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calc__Q39textinput9inputform4BaseFv | calc-color-sine-boundary-4 | 04b55da1bd68 | score (15, 19) instructions 165/165 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calc__Q39textinput9inputform4BaseFv | calc-color-sine-boundary-5 | 618bd5ec4be4 | score (15, 19) instructions 165/165 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calc__Q39textinput9inputform4BaseFv | calc-color-sine-boundary-6 | 33ff141f1f0a | score (15, 19) instructions 165/165 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calc__Q39textinput9inputform4BaseFv | calc-color-sine-boundary-7 | 1e799393dd2d | score (15, 24) instructions 165/165 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calc__Q39textinput9inputform4BaseFv | calc-color-sine-boundary-8 | 9e6d79635811 | score (19, 22) instructions 165/165 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calc__Q39textinput9inputform4BaseFv | calc-color-sine-boundary-9 | 33bef97a5cd5 | score (13, 21) instructions 165/165 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
init__Q49textinput9inputform4Base14RowInfoManagerFv | rows-init-head-boundary-0 | ec8b1b6f2d22 | score (8, 15) instructions 39/39 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
init__Q49textinput9inputform4Base14RowInfoManagerFv | rows-init-head-boundary-1 | 09e37bef8e4a | score (8, 15) instructions 39/39 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
init__Q49textinput9inputform4Base14RowInfoManagerFv | rows-init-head-boundary-2 | e789d7c358de | score (7, 15) instructions 39/39 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
init__Q49textinput9inputform4Base14RowInfoManagerFv | rows-init-head-boundary-3 | 83832dfadf25 | score (7, 15) instructions 39/39 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
init__Q49textinput9inputform4Base14RowInfoManagerFv | rows-init-head-boundary-4 | 86c40292827f | score (8, 15) instructions 39/39 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
init__Q49textinput9inputform4Base14RowInfoManagerFv | rows-init-head-boundary-5 | d2f1f0e27b81 | score (8, 15) instructions 39/39 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
init__Q49textinput9inputform4Base14RowInfoManagerFv | rows-init-head-boundary-6 | 4a519ea9b66e | score (7, 15) instructions 39/39 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
init__Q49textinput9inputform4Base14RowInfoManagerFv | rows-init-head-boundary-7 | 417c06aece08 | score (7, 15) instructions 39/39 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calc__Q39textinput9inputform4BaseFv | calc-color-inspect | 49b8cf4e2fec | score (15, 19) instructions 165/165 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calc__Q39textinput9inputform4BaseFv | calc-color-sine-boundary-0 | 2126f11ffa6e | score (10, 14) instructions 165/165 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calc__Q39textinput9inputform4BaseFv | calc-color-sine-boundary-1 | dafd3daec426 | score (10, 16) instructions 165/165 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calc__Q39textinput9inputform4BaseFv | calc-color-sine-boundary-2 | 1ee30699a55d | score (10, 16) instructions 165/165 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calc__Q39textinput9inputform4BaseFv | calc-color-sine-boundary-3 | 1e7b8c222fa3 | score (10, 14) instructions 165/165 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calc__Q39textinput9inputform4BaseFv | calc-color-sine-boundary-4 | 35c8f47bee42 | score (10, 14) instructions 165/165 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calc__Q39textinput9inputform4BaseFv | calc-color-sine-boundary-5 | 6767ce1a898b | score (10, 14) instructions 165/165 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calc__Q39textinput9inputform4BaseFv | calc-color-sine-boundary-6 | 43069bea0824 | score (10, 14) instructions 165/165 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
|
||||
Calc semantic correction from target offsets: 0x78 is Decolated::isOnSustain, not 0xC0 isKanaFix. The store at Base+0x100 is mfDrawScrollY, not CharWriter cursorY. Initial calc trials used these incorrect APIs and were not candidates; corrected and rerun.
|
||||
calc__Q39textinput9inputform4BaseFv | calc-color-sine-boundary-7 | ce8459d74e29 | score (10, 19) instructions 165/165 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calc__Q39textinput9inputform4BaseFv | calc-color-sine-boundary-8 | a76720f622cd | score (14, 17) instructions 165/165 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calc__Q39textinput9inputform4BaseFv | calc-color-sine-boundary-9 | 6777eef4b9ad | score (8, 16) instructions 165/165 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calc__Q39textinput9inputform4BaseFv | calc-corrected-inspect | 1e7b8c222fa3 | score (10, 14) instructions 165/165 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
init__Q49textinput9inputform4Base14RowInfoManagerFv | rows-init-inspect | ec8b1b6f2d22 | score (8, 15) instructions 39/39 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calc__Q39textinput9inputform4BaseFv | calc-blue-angle-phase-staging-0 | 4640f7059093 | score (0, 5) instructions 165/165 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calc__Q39textinput9inputform4BaseFv | calc-blue-angle-phase-staging-1 | 2ba30cd77e4b | score (4, 9) instructions 165/165 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calc__Q39textinput9inputform4BaseFv | calc-blue-angle-phase-staging-2 | 7f88daa38038 | score (0, 5) instructions 165/165 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calc__Q39textinput9inputform4BaseFv | calc-blue-angle-phase-staging-3 | 48a587ce1fde | score (4, 9) instructions 165/165 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calc__Q39textinput9inputform4BaseFv | calc-blue-angle-phase-staging-4 | f18185222219 | score (0, 5) instructions 165/165 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calc__Q39textinput9inputform4BaseFv | calc-blue-angle-phase-staging-5 | 2ce8c5cc738f | score (4, 9) instructions 165/165 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calc__Q39textinput9inputform4BaseFv | calc-blue-angle-phase-staging-6 | f3dfcf774839 | score (0, 5) instructions 165/165 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calc__Q39textinput9inputform4BaseFv | calc-blue-angle-phase-staging-7 | 2ce8c5cc738f | score (4, 9) instructions 165/165 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calc__Q39textinput9inputform4BaseFv | calc-blue-angle-phase-staging-8 | ca4f607b4fd7 | score (0, 5) instructions 165/165 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calc__Q39textinput9inputform4BaseFv | calc-blue-angle-phase-staging-9 | 3b2250a30010 | score (4, 9) instructions 165/165 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calc__Q39textinput9inputform4BaseFv | calc-blue-angle-phase-staging-10 | ca4f607b4fd7 | score (0, 5) instructions 165/165 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calc__Q39textinput9inputform4BaseFv | calc-blue-angle-phase-staging-11 | a18dc38b6b17 | score (4, 9) instructions 165/165 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calc__Q39textinput9inputform4BaseFv | calc-conversion-phase-order-0 | aa8541648f06 | score (5, 20) instructions 166/165 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calc__Q39textinput9inputform4BaseFv | calc-conversion-phase-order-1 | e21fdd48c5c6 | score (5, 20) instructions 166/165 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calc__Q39textinput9inputform4BaseFv | calc-conversion-phase-order-2 | faca7686c58e | score (5, 20) instructions 166/165 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calc__Q39textinput9inputform4BaseFv | calc-conversion-phase-order-3 | b4249a99d930 | score (5, 20) instructions 166/165 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calc__Q39textinput9inputform4BaseFv | calc-conversion-phase-order-4 | 9ab268f25ddd | score (5, 20) instructions 166/165 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calc__Q39textinput9inputform4BaseFv | calc-conversion-phase-order-5 | ee59a86845cc | score (5, 16) instructions 166/165 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calc__Q39textinput9inputform4BaseFv | calc-conversion-phase-order-6 | a3120eb506b9 | score (2, 6) instructions 165/165 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calc__Q39textinput9inputform4BaseFv | calc-conversion-phase-order-7 | 1fe2ad3b1397 | score (2, 6) instructions 165/165 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calc__Q39textinput9inputform4BaseFv | calc-conversion-phase-order-8 | a1beabe08f52 | score (2, 6) instructions 165/165 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calc__Q39textinput9inputform4BaseFv | calc-conversion-phase-order-9 | 363f9e0250f8 | score (2, 6) instructions 165/165 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calc__Q39textinput9inputform4BaseFv | calc-conversion-phase-order-10 | 79f77912079d | score (2, 6) instructions 165/165 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calc__Q39textinput9inputform4BaseFv | calc-conversion-phase-order-11 | 902951983695 | score (2, 2) instructions 165/165 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calc__Q39textinput9inputform4BaseFv | calc-conversion-phase-order-12 | 7b9abaf39016 | score (0, 4) instructions 165/165 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calc__Q39textinput9inputform4BaseFv | calc-conversion-phase-order-13 | ffac791f24ec | score (0, 4) instructions 165/165 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calc__Q39textinput9inputform4BaseFv | calc-conversion-phase-order-14 | be4f91ea1749 | score (0, 4) instructions 165/165 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calc__Q39textinput9inputform4BaseFv | calc-conversion-phase-order-15 | b438cb6f1be9 | score (0, 4) instructions 165/165 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calc__Q39textinput9inputform4BaseFv | calc-conversion-phase-order-16 | 862dc5c969dd | score (0, 4) instructions 165/165 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calc__Q39textinput9inputform4BaseFv | calc-conversion-phase-order-17 | 2576056bcbd8 | score (0, 0) instructions 165/165 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
|
||||
Accepted Base::calc conversion: fresh full gate PASS; exact-name objdiff 100.0%; ctxdiff 165/165, diffs 0; pool identical; regressions/readability/forbidden 0; DOL correct. Ordinary phase, angle and blue locals plus inline sine/phase helpers reproduce conversion scheduling. Asm bodies 3 -> 2. Shared headers unchanged.
|
||||
init__Q49textinput9inputform4Base14RowInfoManagerFv | rows-loop-inline-boundary-0 | dfc2c3928b7b | score (6, 29) instructions 40/39 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
init__Q49textinput9inputform4Base14RowInfoManagerFv | rows-loop-inline-boundary-1 | 79524dce7876 | score (1, 19) instructions 40/39 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
init__Q49textinput9inputform4Base14RowInfoManagerFv | rows-loop-inline-boundary-2 | 6ac603673f04 | score (7, 29) instructions 40/39 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
init__Q49textinput9inputform4Base14RowInfoManagerFv | rows-loop-inline-boundary-3 | de7cfab457b6 | score (1, 13) instructions 40/39 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
init__Q49textinput9inputform4Base14RowInfoManagerFv | rows-loop-inline-boundary-4 | e8c333cd6103 | score (6, 29) instructions 40/39 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
init__Q49textinput9inputform4Base14RowInfoManagerFv | rows-loop-inline-boundary-5 | 8a721e15fd5f | score (1, 19) instructions 40/39 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
init__Q49textinput9inputform4Base14RowInfoManagerFv | rows-loop-inline-boundary-6 | 86f2f41a660b | score (7, 29) instructions 40/39 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
init__Q49textinput9inputform4Base14RowInfoManagerFv | rows-loop-inline-boundary-7 | 28aa8b233900 | score (1, 13) instructions 40/39 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
init__Q49textinput9inputform4Base14RowInfoManagerFv | rows-helper-inspect | de7cfab457b6 | score (1, 13) instructions 40/39 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calcCursorPos__Q39textinput9inputform4BaseFff | cursorpos-width-height-staging-0 | 1e041c5fef80 | score (30, 44) instructions 326/326 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calcCursorPos__Q39textinput9inputform4BaseFff | cursorpos-width-height-staging-1 | 4f7f7c023d8b | score (30, 41) instructions 326/326 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calcCursorPos__Q39textinput9inputform4BaseFff | cursorpos-width-height-staging-2 | 00e14a2f6393 | score (26, 43) instructions 326/326 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calcCursorPos__Q39textinput9inputform4BaseFff | cursorpos-width-height-staging-3 | 0d019d99741b | score (26, 43) instructions 326/326 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calcCursorPos__Q39textinput9inputform4BaseFff | cursorpos-width-height-staging-4 | 5627486657ea | score (47, 274) instructions 328/326 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calcCursorPos__Q39textinput9inputform4BaseFff | cursorpos-width-height-staging-5 | 8868c258fb15 | score (47, 274) instructions 328/326 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calcCursorPos__Q39textinput9inputform4BaseFff | cursorpos-width-height-staging-6 | 8d4526a2623b | score (43, 274) instructions 328/326 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calcCursorPos__Q39textinput9inputform4BaseFff | cursorpos-width-height-staging-7 | 4031d758a885 | score (43, 274) instructions 328/326 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calcCursorPos__Q39textinput9inputform4BaseFff | cursorpos-width-height-staging-8 | d143733e3881 | score (87, 236) instructions 317/326 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calcCursorPos__Q39textinput9inputform4BaseFff | cursorpos-width-height-staging-9 | b4f2b359a081 | score (87, 236) instructions 317/326 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calcCursorPos__Q39textinput9inputform4BaseFff | cursorpos-width-height-staging-10 | defd99d47ba5 | score (83, 236) instructions 317/326 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calcCursorPos__Q39textinput9inputform4BaseFff | cursorpos-width-height-staging-11 | 411946c62b40 | score (83, 236) instructions 317/326 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
init__Q49textinput9inputform4Base14RowInfoManagerFv | rows-sentinel-link-pointer-0 | da8f49bed7c6 | score (0, 0) instructions 39/39 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
|
||||
RowInfoManager::init exact source: the inline initialization loop returns its final capacity read; the caller obtains the free sentinel separately, then retains one row-array pointer while linking last/first free rows. This removes the erroneous extra pointer reload after the last-row Next store. All 39 instructions now match.
|
||||
|
||||
Accepted RowInfoManager::init conversion: fresh full gate PASS; exact-name objdiff 100.0%; ctxdiff 39/39, diffs 0; pool identical; regressions/readability/forbidden 0; DOL correct; asm bodies 2 -> 1. Shared headers unchanged.
|
||||
create__Q39textinput9inputform4BaseFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | basecreate-reference-helper-0 | e042cd32ef69 | score (40, 84) instructions 110/72 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
create__Q39textinput9inputform4BaseFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | basecreate-reference-helper-1 | ade50018c439 | score (40, 84) instructions 110/72 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
create__Q39textinput9inputform4BaseFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | basecreate-reference-helper-2 | 599cf4ca313c | score (40, 84) instructions 110/72 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
create__Q39textinput9inputform4BaseFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | basecreate-reference-helper-3 | 49a2bbe294f3 | score (40, 84) instructions 110/72 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
create__Q39textinput9inputform4BaseFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | basecreate-reference-helper-4 | 62954c466ad1 | score (40, 84) instructions 110/72 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
create__Q39textinput9inputform4BaseFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | basecreate-reference-helper-5 | 91272c7d5545 | score (40, 84) instructions 110/72 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
create__Q39textinput9inputform4BaseFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | basecreate-reference-helper-6 | a53d64c51aa3 | score (40, 84) instructions 110/72 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
create__Q39textinput9inputform4BaseFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | basecreate-reference-helper-7 | e39b83eaa20b | score (40, 84) instructions 110/72 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
|
||||
Conversion integration check: the full row-init gate passed exact/regression checks, but LayoutByNW4R::create fell from 95.02809% to 84.07865% because MWCC auto-inlined the newly available initializer. Target create explicitly calls RowInfoManager::init. Definition-only never_inline was too late for earlier callers. Added the repository-standard never_inline declaration only for TIINPUTFORM_IMPLEMENTATION inside the existing RowInfoManager guard; the TIMANAGER side retains its original void init declaration. Only this .cpp defines TIINPUTFORM_IMPLEMENTATION. No guard was removed or widened. Fresh full gate follows before committing this boundary correction.
|
||||
|
||||
Accepted initializer boundary correction: full gate PASS; LayoutByNW4R::create restored to 352/356 instructions and 95.02809%; RowInfoManager::init still 39/39, diffs 0 and objdiff 100.0%; pool identical, regressions/readability/forbidden 0; DOL correct.
|
||||
create__Q39textinput9inputform4BaseFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | basecreate-reference-helper-0 | e042cd32ef69 | score (1, 39) instructions 73/72 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
create__Q39textinput9inputform4BaseFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | basecreate-reference-helper-1 | ade50018c439 | score (1, 39) instructions 73/72 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
create__Q39textinput9inputform4BaseFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | basecreate-reference-helper-2 | 599cf4ca313c | score (1, 39) instructions 73/72 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
create__Q39textinput9inputform4BaseFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | basecreate-reference-helper-3 | 49a2bbe294f3 | score (1, 39) instructions 73/72 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
create__Q39textinput9inputform4BaseFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | basecreate-reference-helper-4 | 62954c466ad1 | score (1, 39) instructions 73/72 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
create__Q39textinput9inputform4BaseFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | basecreate-reference-helper-5 | 91272c7d5545 | score (1, 39) instructions 73/72 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
create__Q39textinput9inputform4BaseFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | basecreate-reference-helper-6 | a53d64c51aa3 | score (1, 39) instructions 73/72 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
create__Q39textinput9inputform4BaseFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | basecreate-reference-helper-7 | e39b83eaa20b | score (1, 39) instructions 73/72 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
create__Q39textinput9inputform4BaseFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | basecreate-reference-helper-8 | df9472b3186e | score (1, 39) instructions 73/72 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
create__Q39textinput9inputform4BaseFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | basecreate-reference-helper-9 | 6895d3bc27eb | score (1, 39) instructions 73/72 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
create__Q39textinput9inputform4BaseFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | basecreate-reference-helper-10 | 5a0360a632d8 | score (1, 39) instructions 73/72 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
create__Q39textinput9inputform4BaseFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | basecreate-reference-helper-11 | 75e599406c64 | score (1, 39) instructions 73/72 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
create__Q39textinput9inputform4BaseFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | basecreate-reference-helper-12 | f344d29fa00d | score (1, 39) instructions 73/72 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
create__Q39textinput9inputform4BaseFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | basecreate-reference-helper-13 | ac42aaba75f3 | score (1, 39) instructions 73/72 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
create__Q39textinput9inputform4BaseFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | basecreate-reference-helper-14 | 61f231e282c7 | score (1, 39) instructions 73/72 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
create__Q39textinput9inputform4BaseFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | basecreate-reference-helper-15 | c8e3540e4959 | score (1, 39) instructions 73/72 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
create__Q39textinput9inputform4BaseFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | basecreate-leading-ring-locals-0 | f776393f0aed | score (0, 26) instructions 72/72 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
create__Q39textinput9inputform4BaseFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | basecreate-leading-ring-locals-1 | 2b0fb7b0c98b | score (0, 26) instructions 72/72 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
create__Q39textinput9inputform4BaseFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | basecreate-leading-ring-locals-2 | d5215b77be19 | score (0, 26) instructions 72/72 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
create__Q39textinput9inputform4BaseFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | basecreate-leading-ring-locals-3 | 44f54d993847 | score (0, 26) instructions 72/72 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
create__Q39textinput9inputform4BaseFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | basecreate-leading-ring-locals-4 | 8601c987d6ad | score (0, 26) instructions 72/72 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
create__Q39textinput9inputform4BaseFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | basecreate-leading-ring-locals-5 | 6f1e7633e326 | score (0, 26) instructions 72/72 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
create__Q39textinput9inputform4BaseFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | basecreate-leading-ring-locals-6 | 6014399e7ba8 | score (0, 26) instructions 72/72 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
create__Q39textinput9inputform4BaseFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | basecreate-leading-ring-locals-7 | 65428f0b90c0 | score (0, 26) instructions 72/72 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
setLanguage__Q39textinput9inputform12LayoutByNW4RFQ29textinput8Language | language-switch-selector-0 | 4417f7ecc4a2 | score (12, 184) instructions 245/237 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
setLanguage__Q39textinput9inputform12LayoutByNW4RFQ29textinput8Language | language-switch-selector-1 | b5b75ace0dc1 | score (8, 183) instructions 241/237 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
setLanguage__Q39textinput9inputform12LayoutByNW4RFQ29textinput8Language | language-switch-selector-2 | 9afb465f5890 | score (12, 22) instructions 237/237 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
setLanguage__Q39textinput9inputform12LayoutByNW4RFQ29textinput8Language | language-switch-selector-3 | 922960de967b | score (16, 26) instructions 237/237 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
setLanguage__Q39textinput9inputform12LayoutByNW4RFQ29textinput8Language | language-switch-selector-4 | 149947ecad68 | score (12, 22) instructions 237/237 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
setLanguage__Q39textinput9inputform12LayoutByNW4RFQ29textinput8Language | language-switch-selector-5 | 4e1574eddac8 | score (34, 250) instructions 256/237 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calcCursorPos__Q39textinput9inputform4BaseFff | cursorpos-three-value-inline-0 | 49a0a5720575 | score (42, 59) instructions 326/326 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calcCursorPos__Q39textinput9inputform4BaseFff | cursorpos-three-value-inline-1 | b068c5da5a9b | score (44, 62) instructions 326/326 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calcCursorPos__Q39textinput9inputform4BaseFff | cursorpos-three-value-inline-2 | 3b2c10513378 | score (42, 59) instructions 326/326 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calcCursorPos__Q39textinput9inputform4BaseFff | cursorpos-three-value-inline-3 | fdeede389926 | score (87, 234) instructions 317/326 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calcCursorPos__Q39textinput9inputform4BaseFff | cursorpos-three-value-inline-4 | b5ed4ad23f31 | score (42, 59) instructions 326/326 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calcCursorPos__Q39textinput9inputform4BaseFff | cursorpos-three-value-inline-5 | 05c76f1f77d6 | score (44, 62) instructions 326/326 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calcCursorPos__Q39textinput9inputform4BaseFff | cursorpos-three-value-inline-6 | 17176a8e11bd | score (42, 59) instructions 326/326 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
calcCursorPos__Q39textinput9inputform4BaseFff | cursorpos-three-value-inline-7 | 93af05e2b2f8 | score (87, 234) instructions 317/326 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
|
||||
Base::create register search seed 0:
|
||||
```text
|
||||
declaration block:
|
||||
Info_* rows;
|
||||
Info_* selected;
|
||||
u16 previous;
|
||||
u16 next;
|
||||
u16 selectedIndex;
|
||||
Info_* listEnd;
|
||||
start (0, 26)
|
||||
improved (0, 25)
|
||||
improved (0, 22)
|
||||
improved (0, 20)
|
||||
best (0, 20) after 57 builds; kept in source:
|
||||
u16 previous;
|
||||
Info_* listEnd;
|
||||
Info_* rows;
|
||||
u16 next;
|
||||
Info_* selected;
|
||||
u16 selectedIndex;
|
||||
```
|
||||
create__Q39textinput9inputform4BaseFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | basecreate-declsearch-0 | 126621259fa8 | score (0, 20) instructions 72/72 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
|
||||
Base::create register search seed 7:
|
||||
```text
|
||||
declaration block:
|
||||
u16 selectedIndex;
|
||||
Info_* rows;
|
||||
Info_* listEnd;
|
||||
u16 next;
|
||||
Info_* selected;
|
||||
u16 previous;
|
||||
start (0, 25)
|
||||
improved (0, 24)
|
||||
improved (0, 22)
|
||||
improved (0, 20)
|
||||
best (0, 20) after 52 builds; kept in source:
|
||||
u16 previous;
|
||||
Info_* rows;
|
||||
Info_* listEnd;
|
||||
u16 next;
|
||||
Info_* selected;
|
||||
u16 selectedIndex;
|
||||
```
|
||||
create__Q39textinput9inputform4BaseFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | basecreate-declsearch-7 | 55560468d892 | score (0, 20) instructions 72/72 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
|
||||
Base::create register search seed 19:
|
||||
```text
|
||||
declaration block:
|
||||
Info_* selected;
|
||||
u16 next;
|
||||
u16 previous;
|
||||
u16 selectedIndex;
|
||||
Info_* rows;
|
||||
Info_* listEnd;
|
||||
start (0, 27)
|
||||
improved (0, 25)
|
||||
improved (0, 24)
|
||||
improved (0, 23)
|
||||
improved (0, 19)
|
||||
best (0, 19) after 59 builds; kept in source:
|
||||
u16 next;
|
||||
Info_* rows;
|
||||
Info_* selected;
|
||||
u16 previous;
|
||||
u16 selectedIndex;
|
||||
Info_* listEnd;
|
||||
```
|
||||
|
||||
Remaining source forms after structural trials:
|
||||
- calcCursorPos: scalar/vector scale forms, direct/inline rectangle extents, height/width temporaries and order were built. No exact C++ candidate; original 326-instruction body retained.
|
||||
- LayoutByNW4R::create: direct initial root lookup and animation-file slot references recover 356/356 instructions; conditional receiver load timing and register allocation still differ. Restored original body.
|
||||
- setLanguage: inline name/root selectors, explicit temporaries, duplicate calls, switch/loop/goto forms all built; receiver hoisting or extra branch instructions persist. Restored original body.
|
||||
- Base::create: circular row helpers and pointer/reference boundaries were built; plain C++ reaches 72/72 with zero structural differences. Declaration searches are the final register-only experiments; no non-exact conversion will be retained.
|
||||
- Concatenated cache/start symbol remains an eight-byte original symbol spanning two existing C++ members, without an exact-name source counterpart. Renaming or resizing either source/config symbol is forbidden; no trials can legitimately repair its identity.
|
||||
create__Q39textinput9inputform4BaseFP12MEMAllocatorPQ39textinput9inputform10EditBuffer | basecreate-declsearch-19 | 54bad2f75ddf | score (0, 19) instructions 72/72 | POOL IDENTICAL up to 20 (mine=20 base=20)
|
||||
|
||||
Final open-function audit, all non-exact trials restored:
|
||||
calcCursorPos__Q39textinput9inputform4BaseFff: 32 distinct successfully built source variants, pool identical.
|
||||
create__Q39textinput9inputform12LayoutByNW4RFP12MEMAllocatorPQ39textinput9inputform10EditBuffer: 8 distinct successfully built source variants, pool identical.
|
||||
setLanguage__Q39textinput9inputform12LayoutByNW4RFQ29textinput8Language: 12 distinct successfully built source variants, pool identical.
|
||||
create__Q39textinput9inputform4BaseFP12MEMAllocatorPQ39textinput9inputform10EditBuffer: 33 distinct successfully built source variants, pool identical.
|
||||
Register search total: 168 builds, three distinct initial declaration orders; best C++ Base::create score structural 0 / exact 19, instructions 72/72; restored. Asm bodies 3 -> 1.
|
||||
|
||||
Final full clean-build gate PASS. Instruction-exact 214 -> 215; objdiff-exact 216 -> 217; code bytes 45080 -> 46972; data 908 -> 908; asm bodies 3 -> 1. Pool identical, regressions 0, forbidden/readability 0, DOL SHA1 correct. All unaccepted source trials restored.
|
||||
@@ -0,0 +1,65 @@
|
||||
# tiInputForm matching continuation
|
||||
|
||||
Instruction-exact 214/221 -> 215/221. Objdiff-exact 216/221 -> 217/221.
|
||||
Matched code 45080/50656 -> 46972/50656 bytes. Matched data 908/3772 -> 908/3772 bytes.
|
||||
Assembly bodies 3 -> 1. Exact C++ conversions: Base::calc, Base::RowInfoManager::init.
|
||||
New exact function: Base::onCursor.
|
||||
|
||||
The cursor change uses existing rectangle width accessors and computes the centered marker offset in one expression. This preserves width temporary homes and both multiplication operand orders. Fresh ctxdiff: 473/473 instructions, diffs 0.
|
||||
|
||||
The calculation conversion follows the actual sustain virtual slot and cached draw-scroll field. Separate blue, phase and angle values preserve conversion/store/sine scheduling. Ordinary inline sine and phase helpers reproduce the target operand order. Fresh ctxdiff: 165/165 instructions, diffs 0.
|
||||
|
||||
The row initializer uses an inline loop returning its final capacity read, then retains the row-array pointer for linking the final and first free rows. Fresh ctxdiff: 39/39 instructions, diffs 0. The original creation functions call the initializer out of line. The repository-standard never_inline attribute is therefore applied to its declaration only under TIINPUTFORM_IMPLEMENTATION, inside the existing guard. The other existing guard sides keep their declarations. A definition-only attribute was ineffective and was removed. The final header correction restores LayoutByNW4R::create to its original 352/356 instructions and 95.02809%.
|
||||
|
||||
## Remaining functions
|
||||
|
||||
| Function | Objdiff | Evidence |
|
||||
| --- | --- | --- |
|
||||
| Base::calcCursorPos | 91.622696% | 326/326 instructions; cached scale register homes and rectangle arithmetic scheduling differ. 32 distinct built source variants. |
|
||||
| LayoutByNW4R::create | 95.02809% | 352/356 instructions; initial root lookup, conditional receiver timing and animation-file pointer reload boundaries differ. 8 distinct built variants. Direct root lookup and file-slot references reach 356/356 but remain non-exact. |
|
||||
| LayoutByNW4R::setLanguage | 96.44726% | 237/237 instructions; root receiver loads move ahead of conditional pane-name selection. 12 distinct built variants. |
|
||||
| Concatenated isEnableCursorCache/getStartPos | None | Original eight-byte symbol spans two existing members. No permitted source/config identity change repairs this pairing. |
|
||||
|
||||
Base::create remains an instruction-exact assembly body. Its C++ conversion trials reached 72/72 instructions with zero structural differences. Three final declaration searches performed 168 builds; best result retains 19 register differences. All non-exact conversions were restored. Its 33 distinct successfully built source variants are recorded in the attempts log.
|
||||
|
||||
The remaining actual functions and the remaining assembly conversion each have at least three distinct built source attempts. No shared guard side was removed or widened. No configuration, symbol sizes, other translation-unit source, protected tools or baseline reports were changed.
|
||||
|
||||
Data remains incomplete in objdiff. Existing weak/deduplicated data and the concatenated source-symbol identity remain unresolved; this run makes no full-unit or linked-completion claim. Two existing instruction-gate branch-normalization artifacts also remain; their objdiff scores are 100%. No symbols or offsets were adjusted to alter their counts.
|
||||
|
||||
## Local commits
|
||||
|
||||
- 7ebf38b7 match input form cursor marker spacing
|
||||
- 0d9e4bd0 replace input form calculation assembly with c++
|
||||
- 9ea85e5a replace row initialization assembly with c++
|
||||
- fc9db92c preserve row initializer call boundary
|
||||
|
||||
## Final full gate
|
||||
|
||||
```text
|
||||
full build: ok
|
||||
main.dol sha1: 26116613f624061ba99c8d1a299aaa6efa85670d
|
||||
[src/keyboard/tiInputForm] pool: IDENTICAL
|
||||
[src/keyboard/tiInputForm] objdiff: code 46972/50656 data 908/3772 functions 217/221 fuzzy 99.5623 linked code 0
|
||||
[src/keyboard/tiInputForm] instruction-exact functions: 215/221
|
||||
[src/keyboard/tiInputForm] section .bss size 96 match None
|
||||
[src/keyboard/tiInputForm] section .ctors size 4 match 100.0
|
||||
[src/keyboard/tiInputForm] section .data size 2736 match 65.53332
|
||||
[src/keyboard/tiInputForm] section .rodata size 760 match 100.0
|
||||
[src/keyboard/tiInputForm] section .sbss size 32 match 33.333336
|
||||
[src/keyboard/tiInputForm] section .sdata size 40 match 100.0
|
||||
[src/keyboard/tiInputForm] section .sdata2 size 104 match 100.0
|
||||
[src/keyboard/tiInputForm] section .text size 50656 match 99.5623
|
||||
[src/keyboard/tiInputForm] below 100: calcCursorPos__Q39textinput9inputform4BaseFff 91.622696
|
||||
[src/keyboard/tiInputForm] below 100: create__Q39textinput9inputform12LayoutByNW4RFP12MEMAllocatorPQ39textinput9inputform10EditBuffer 95.02809
|
||||
[src/keyboard/tiInputForm] below 100: setLanguage__Q39textinput9inputform12LayoutByNW4RFQ29textinput8Language 96.44726
|
||||
[src/keyboard/tiInputForm] below 100: isEnableCursorCache__Q39textinput10textdrawer4BaseCFvgetStartPos__Q39textinput10textdrawer4BaseCFv None
|
||||
[src/keyboard/tiInputForm] baseline: code 45080/50656 data 908 functions 216 fuzzy 99.5591
|
||||
regressions vs baseline: 0
|
||||
global matched_code_percent: 87.67423 -> 87.73740
|
||||
global fuzzy_match_percent: 99.36937 -> 99.36944
|
||||
global complete_code_percent: 61.81448 -> 61.81448
|
||||
global matched_data_percent: 91.15570 -> 91.15570
|
||||
forbidden patterns added (net, per file): 0
|
||||
readability warnings (net, per file; must be 0 in the final result): 0
|
||||
GATE PASS
|
||||
```
|
||||
Reference in New Issue
Block a user