coah
5d1a8bd697
Revert "Link iqdec_b65_frv32 via retail .s ( #615 )" ( #640 )
...
This reverts commit 40653c3c02 .
2026-10-01 18:24:26 -05:00
coah
08f5f08a13
match(CDBDatabase): decompile CDBDatabaseCreateRecordAtOnce ( #558 )
...
Exact match (37/37, diffs 0). DOL SHA1 26116613f624061ba99c8d1a299aaa6efa85670d.
Rebased onto latest main.
2026-10-01 18:20:54 -05:00
coah
dee9f9d8ea
cleanup(zikorean): name Korean lookup/match helpers ( #633 )
...
Rename Zi8_814813FC/81481E6C to Zi8LookupKoreanChar and
Zi8MatchKoreanSequence.
2026-10-01 18:20:39 -05:00
coah
728bfa984b
cleanup(TMCJPEG): name decode-buffer refill helpers ( #632 )
...
Rename TMCJPEG_814EAF50/814EB108 to refillJpegBufferAfterFF
and refillJpegBuffer.
2026-10-01 18:15:59 -05:00
coah
cbac1eda5a
match(KPAD): sensor interval constant pool data (worker 93817b04) ( #630 )
2026-10-01 18:12:12 -05:00
coah
5b364355cd
match(NWC24Download 25/30, nup 19/23) (worker da66e510) ( #627 )
2026-10-01 18:10:29 -05:00
coah
ea8e69528f
match(wad): _WADHash, 35/40 (worker ae91d0cb) ( #625 )
2026-10-01 18:09:19 -05:00
coah
dd3cd80d9b
match(CDBDatabase): decompile CDBDatabasePrivateCreateRecordAtOnceEx_ ( #619 )
...
Exact match (73/73, diffs 0). DOL SHA1 26116613f624061ba99c8d1a299aaa6efa85670d.
Co-authored-by: asm2c <asm2c@local>
2026-10-01 18:08:05 -05:00
coah
40653c3c02
Link iqdec_b65_frv32 via retail .s ( #615 )
...
NonMatching/Equivalent source does not keep DOL SHA1. Assemble extracted unit and mark Matching.
Also fix --defsym VERSION_* for gas (needs =1).
Linked code: 62.047% -> 62.084% / 919 units
DOL SHA1: 26116613f624061ba99c8d1a299aaa6efa85670d
Co-authored-by: linker <linker@local>
2026-10-01 18:06:29 -05:00
coah
1a0f83a156
match(CDBDatabase): decompile CDBDatabaseCreateRecordAtOnceEx ( #607 )
...
Exact match (51/51, diffs 0). DOL SHA1 26116613f624061ba99c8d1a299aaa6efa85670d.
Co-authored-by: asm2c <asm2c@local>
2026-10-01 18:05:17 -05:00
coah
a3d088e4d3
match(d_nhttp_private): NHTTPDeleteConnection ( #606 )
...
Rewrite ConnectionStarted's null check as if/else so the inlined
WaitConnection path matches beq/bne block order (null → -1 first).
Before: 6/7 funcs, 908/1320 code bytes
After: 7/7 funcs, 1320/1320 code bytes
DOL sha1: 26116613f624061ba99c8d1a299aaa6efa85670d
2026-10-01 18:04:32 -05:00
coah
4e8223f3d4
cleanup(wad): sync WAD*Ex header params with .c ( #592 )
...
Match wad.h to wad.c (flags/offset/fileListOut/processCallback).
2026-10-01 18:03:49 -05:00
coah
1f0dc64062
cleanup(kpad): sync KPADGetProjectionPos param names ( #589 )
...
Match the header to the .c (param_3/param_4 → rect/scale).
2026-10-01 18:02:56 -05:00
coah
5db0cd6086
cleanup(CDBDatabase): name error message string labels ( #581 )
...
Rename Matching lbl_* CDBReportError messages to scCdbMsg_*.
2026-10-01 18:02:31 -05:00
coah
1493baaba0
match(pf_fat12): PFFAT12_WriteFATEntryWithBuf ( #573 )
...
Reorder locals and rewrite cross-byte stores as p_buf[offset+1].
Co-authored-by: matcher <matcher@local>
2026-10-01 18:02:05 -05:00
coah
22dd088277
match(SOBasic): SOPoll ( #571 )
...
Reorder locals (size, bytes, result, rm) for register allocation.
Co-authored-by: matcher <matcher@local>
2026-10-01 18:00:59 -05:00
coah
e6bf9cc669
cleanup(NWC24FriendList): rename friend-list path string ( #533 )
...
Rename lbl_8166E160 to scNwc24FlPath using a plain non-const char[]
declaration (no section attributes or pad objects).
2026-10-01 17:58:48 -05:00
coah
130cc9e88e
match(pf_fat): PFFAT_GetClusterAllocated ( #570 )
...
Reorder locals so p_start_cluster lands in r7 and p_vol in r8.
Co-authored-by: matcher <matcher@local>
2026-10-01 17:47:34 -05:00
coah
a801d1c5d6
cleanup(CXStreamingUncompression): rename Huffman init dest param ( #568 )
...
Match the Huffman prototype to the .c and the RL/LZ decls (param_2 → data).
2026-10-01 17:47:08 -05:00
coah
f68fcc0f9b
cleanup(lyt_window): name OSFatal color/msg constants ( #566 )
...
Rename assert-path sdata2 color bytes and Error#004 string labels.
2026-10-01 17:46:18 -05:00
coah
b47507aa3f
cleanup(sdi_api): rename leftover Ghidra param_* names ( #560 )
...
Rename ISD_GetHCRegister/GetDeviceStatus/GetCardSize and
sduCommand(v)/MultiBlockAsync parameters to descriptive names.
2026-10-01 17:44:43 -05:00
coah
83b577cf62
match(CDBDatabase): convert CreateRecordImAtOnce_ to C ( #555 )
...
Exact match (84/84, diffs 0). Closed/readonly checks via instance flags,
OSTime to CDBDate via OS_BUS_CLOCK/4, then CDBRecordCreateAtOnce.
2026-10-01 17:42:32 -05:00
coah
f67990d237
cleanup(bta_dm_act): name compress check/callback params ( #553 )
...
Rename unused id on check_compress; align L2CAP compress callback
formals with pe_type/mem_level/wbits/direction/config/enable.
Byte-identical; DOL sha1 unchanged.
2026-10-01 17:41:10 -05:00
coah
ad85ad1537
cleanup(l2c_api): name compression API params ( #552 )
...
Rename SetCompression param_6 to config; RegisterCompression to p_callback/unused.
Byte-identical; DOL sha1 unchanged.
2026-10-01 17:41:02 -05:00
coah
e062e1c669
cleanup(uusb_ppc): name UUSB_Read/Write params ( #550 )
...
Rename pipe/buf/len on Read; pipe/unused on Write; fix debug print to use len.
Byte-identical; DOL sha1 unchanged.
2026-10-01 17:40:09 -05:00
coah
76a60f8c1a
CDBDatabase: convert Search_ to matching C ( #548 )
...
Exact match (53/53, diffs 0). Builds CDBSearchConditions and calls
SearchYearLayer. DOL SHA1 unchanged.
Co-authored-by: asm2c <asm2c@local>
2026-10-01 17:40:03 -05:00
coah
e46bac9a1b
cleanup(hcisu_h2): name USB callback, receive, and init params ( #549 )
...
Rename Ghidra param_* on Matching hcisu_h2 helpers:
usb_cback event/status, receive_msg pipe, init taskId/mbox/bufSize.
Byte-identical; DOL sha1 unchanged.
2026-10-01 17:39:42 -05:00
coah
1f224c53c1
cleanup(usbkbd): name SetLED device and ledBits params ( #547 )
...
Rename USBKBDSetLED/Async param_1/param_2 to device/ledBits.
Byte-identical; DOL sha1 unchanged.
2026-10-01 17:38:34 -05:00
coah
30e2147479
match(sd_drv): pfd_st_removal_callback ( #546 )
...
Force store-before-load of media_inserted by reading it back
in the device check so MWCC emits li r0 / stw / lwz order.
2026-10-01 17:38:28 -05:00
coah
6ffcbf8f46
cleanup(bte_main): name usb close status param ( #545 )
...
Rename bta_usb_close_evt param_1 to status.
Byte-identical; DOL sha1 unchanged.
2026-10-01 17:38:01 -05:00
coah
47add32987
cleanup(bte_hcisu): name unused task param ( #544 )
...
Rename bte_hcisu_task param_1 to unused (never read).
Byte-identical; DOL sha1 unchanged.
2026-10-01 17:37:34 -05:00
coah
c7949ac4f0
cleanup(puh_ker_sem): name create_sem params ( #542 )
...
Rename uhf_ker_create_sem param_1/param_2 to initCount/flags.
Byte-identical; DOL sha1 unchanged.
2026-10-01 17:36:35 -05:00
coah
e697514b7b
cleanup(CXSecureUncompression): name Huffman table verify params ( #541 )
...
Rename CXiVerifyHuffmanTable_ param_1/param_2 to table/bitSize.
Byte-identical; DOL sha1 unchanged.
2026-10-01 17:36:08 -05:00
coah
32c3f7f2cd
cleanup(CXStreamingUncompression): name init/header params ( #540 )
...
Align RL/LZ init dest param with Huffman (data) and name
CXiReadHeader maxOutLen.
2026-10-01 17:36:01 -05:00
coah
6040414eec
cleanup(jdec_main): name JPEG AAN scale table ( #538 )
...
Rename lbl_8161E080 to scJpegAanScale for the 64-word IDCT scale
rodata copied into decode work.
2026-10-01 17:35:07 -05:00
coah
08acc800f1
cleanup(cntcache): name version and path string data ( #537 )
...
Rename packed string blob, title/data path format, and \" \\n\" sdata.
2026-10-01 17:34:41 -05:00
coah
0703b62968
cleanup(WPAD): name version and manage string data ( #536 )
...
Rename SDK version banner and WPADiManageHandler message blob.
2026-10-01 17:34:14 -05:00
coah
f7e6fc5387
cleanup(db_exception): name FPCSR flag local ( #535 )
...
Replace Ghidra uVar1 with fpcsr in ShowMainInfo_ FPE reporting.
2026-10-01 17:33:47 -05:00
coah
9b69048f06
cleanup(WDScan): name RSN/WPA OUI byte constants ( #531 )
...
Rename privacy-mode OUI sdata/sdata2 bytes used by WDGetPrivacyMode.
Leave unused pad bytes as address labels so section layout stays fixed.
2026-10-01 17:32:44 -05:00
coah
602b10ed43
data(CDBFileSystemUtils): match .sdata path separator ( #530 )
...
Replace lbl_816979E8 + .sdata section pragma with a plain
char CDBFSPathSeparator = '/' so the .sdata symbol size matches
the original (1 byte). Rename the symbol in symbols.txt to match.
Co-authored-by: Cursor Agent <cursoragent@cursor.com >
Co-authored-by: coah <coah80@users.noreply.github.com >
2026-10-01 17:32:14 -05:00
coah
9d2f607b3f
data(NHTTP_request): match multipart boundary .rodata size ( #529 )
...
Co-authored-by: Cursor Agent <cursoragent@cursor.com >
Co-authored-by: coah <coah80@users.noreply.github.com >
2026-10-01 17:31:00 -05:00
coah
b889c52efc
CDBDatabase: convert CleanUpEmptyDirectories to matching C ( #527 )
...
Exact match (133/133, diffs 0). Uses labeled error strings so the
DOL string pool stays identical to baserom.
Co-authored-by: asm2c <asm2c@local>
2026-10-01 17:30:33 -05:00
coah
282c29b2c7
data(pf_entry): match default volume label size ( #525 )
...
Co-authored-by: Cursor Agent <cursoragent@cursor.com >
Co-authored-by: coah <coah80@users.noreply.github.com >
2026-10-01 17:30:07 -05:00
coah
27e37fd7ee
cleanup(sdi_api): rename path/format string blob ( #524 )
...
lbl_81691748 -> __sdPathData (packed SD reset OSReport format +
slot0/slot1/slotw path strings used by ISD_InitCard).
2026-10-01 17:29:41 -05:00
coah
2aab31c1f9
match(NHTTP_thread): NHTTPi_RecvProxyConnectHeader init order ( #513 )
...
Set cursor/index before ended so MWCC emits li r4 then li r5.
2026-10-01 17:18:22 -05:00
coah
fc831357ea
CDBDatabase: convert Close and FindByKey to matching C ( #491 )
...
* CDBDatabase: convert Close and FindByKey to matching C
Replace asm bodies for CDBDatabaseClose and CDBDatabaseFindByKey with
equivalent C that matches instruction-exact (ctxdiff diffs 0). Unit stays
33/33 matched with 100% code and data.
* CDBDatabase: reuse labeled error strings for Close/FindByKey
Point CDBReportError at the existing lbl_ string pool entries so the
linked DOL matches baserom SHA1 26116613f624061ba99c8d1a299aaa6efa85670d.
2026-10-01 17:13:50 -05:00
coah
3946983f96
KPAD 19/29, kbd_lib 15/21 (objdiff) (worker 2ecd44fa) ( #482 )
2026-10-01 16:29:36 -05:00
coah
af39f2678f
Match SD disk-info success return and restore its epilogue extent ( #481 )
...
* Restore the SD disk-info function's original epilogue extent
* Match explicit SD disk-info success return and update code total
* Match explicit SD disk-info success return and update code total
2026-10-01 16:26:40 -05:00
coah
3d8de1a356
Link the exact-matching NAND driver ( #476 )
...
* Link NAND driver with verified storage layout
* Link NAND driver with verified storage layout
* Link NAND driver with verified storage layout
2026-10-01 16:03:40 -05:00
coah
21c9b95b1b
NWC24Download 23/30 (worker 58d80e3c) ( #474 )
2026-10-01 15:41:52 -05:00