Skip to content

Match rest of NWC24#124

Merged
kiwi515 merged 4 commits intodoldecomp:masterfrom
Alex9303:NWC24
Feb 22, 2026
Merged

Match rest of NWC24#124
kiwi515 merged 4 commits intodoldecomp:masterfrom
Alex9303:NWC24

Conversation

@Alex9303
Copy link
Contributor

This pr (mostly) matches the rest of NWC24. The only nonmatching function is NWC24CommitMsgInternal due to a small regswap. All code was matched with help of Ghidra, Permuter, and AI. NWC24InitBase64Table was borrowed from wii-ipl. I followed the formatting guidelines in contributing.md to the best of my ability. The biggest thing wrong with my code at the moment are the strings. I do plan on making updates to this pr to get the strings to match.

@decomp-dev
Copy link

decomp-dev bot commented Feb 22, 2026

Report for RSPE01_01 (f8d01da - 1150c32)

📈 Matched code: 29.11% (+0.49%, +17172 bytes)
📈 Matched data: 26.59% (+0.00%, +48 bytes)

✅ 52 new matches
Unit Item Bytes Before After
main/revolution/NWC24/NWC24StdApi convNum +1384 0.00% 100.00%
main/revolution/NWC24/NWC24StdApi Mail_vsprintf +1216 0.00% 100.00%
main/revolution/NWC24/NWC24MBoxCtrl DuplicationCheck +992 0.00% 100.00%
main/revolution/NWC24/NWC24MsgCommit CheckMsgBoxSpace +892 0.00% 100.00%
main/revolution/NWC24/NWC24Mime QEncode +812 0.00% 100.00%
main/revolution/NWC24/NWC24Mime NWC24InitBase64Table +736 0.00% 100.00%
main/revolution/NWC24/NWC24MBoxCtrl NWC24iMBoxCancelMsg +516 0.00% 100.00%
main/revolution/NWC24/NWC24MBoxCtrl GetCachedMBCHeader +468 0.00% 100.00%
main/revolution/NWC24/NWC24DateParser ConvertDateToDays +452 0.00% 100.00%
main/revolution/NWC24/NWC24MBoxCtrl NWC24iMBoxAddMsgObj +420 0.00% 100.00%
main/revolution/NWC24/NWC24MBoxCtrl CopyMsgObjToMBCFmt +412 0.00% 100.00%
main/revolution/NWC24/NWC24DateParser ConvertDaysToDate +412 0.00% 100.00%
main/revolution/NWC24/NWC24MBoxCtrl NWC24iOpenMBox +404 0.00% 100.00%
main/revolution/NWC24/NWC24MBoxCtrl MountVFMBox +396 0.00% 100.00%
main/revolution/NWC24/NWC24MsgCommit WriteMIMEAttachHeader +368 0.00% 100.00%
main/revolution/NWC24/NWC24MsgCommit WriteToField +360 0.00% 100.00%
main/revolution/NWC24/NWC24MsgCommit WriteBase64Data +356 0.00% 100.00%
main/revolution/NWC24/NWC24DateParser NWC24iDateToOSCalendarTime +340 0.00% 100.00%
main/revolution/NWC24/NWC24MBoxCtrl NWC24iMBoxOpenNewMsg +320 0.00% 100.00%
main/revolution/NWC24/NWC24MBoxCtrl NWC24iMBoxFlushHeader +320 0.00% 100.00%
main/revolution/NWC24/NWC24DateParser NWC24iEpochSecondsToDate +316 0.00% 100.00%
main/revolution/NWC24/NWC24MBoxCtrl AddMBCEntry +308 0.00% 100.00%
main/revolution/NWC24/NWC24Mime Base64Encode +308 0.00% 100.00%
main/revolution/NWC24/NWC24MsgCommit WriteContentTypeField +308 0.00% 100.00%
main/revolution/NWC24/NWC24MsgCommit WriteDateField +288 0.00% 100.00%
main/revolution/NWC24/NWC24MsgCommit WriteSMTP_RCPTTO +276 0.00% 100.00%
main/revolution/NWC24/NWC24MBoxCtrl NWC24iMBoxCheck +272 0.00% 100.00%
main/revolution/NWC24/NWC24MsgCommit SynthesizeAddrStr +272 0.00% 100.00%
main/revolution/NWC24/NWC24MsgCommit WriteXWiiAppIdField +268 0.00% 100.00%
main/revolution/NWC24/NWC24MsgCommit WriteFromField +256 0.00% 100.00%

...and 22 more new matches

📈 9 improvements in unmatched items
Unit Item Bytes Before After
main/revolution/NWC24/NWC24MsgCommit NWC24CommitMsgInternal +3156 0.00% 99.90%
main/revolution/NWC24/NWC24MBoxCtrl DeleteMsg +1251 0.00% 99.99%
main/revolution/NWC24/NWC24StdApi .data +133 0.00% 98.51%
main/revolution/NWC24/NWC24MBoxCtrl .data +89 0.00% 53.33%
main/revolution/NWC24/NWC24Mime .data +68 0.00% 95.65%
main/revolution/NWC24/NWC24MsgCommit .data +24 0.00% 3.67%
main/revolution/NWC24/NWC24MBoxCtrl .sdata +13 0.00% 85.71%
main/revolution/NWC24/NWC24Mime .sdata +6 0.00% 77.78%
main/revolution/NWC24/NWC24MsgCommit .sdata +3 0.00% 2.34%

@kiwi515 kiwi515 merged commit 63248ee into doldecomp:master Feb 22, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants