Commit Graph

138 Commits

Author SHA1 Message Date
coah
f85a98a6e3 cleanup(iplSettingSelect): name exit-sequence helpers (#516)
Rename Matching-only fn_* exit/reboot helpers to descriptive
snake_case names; update mangled symbols.txt entries.
2026-10-01 17:15:19 -05:00
devin-ai-integration[bot]
ce424f1a3e Link scene/memoryCard/iplMemoryCard (clean subset) (#467)
Model MemCardEventListener as a novtable abstract base and give
MemCardEventHandler its full pure-virtual surface so the GCWindow and
MemoryCardManager vtables reproduce the original zero-slot layout.
Declare lbl_81694A78 as a file-scope const so the object exports the
u64->f64 conversion constant that iplMemoryCardBase.o references.

Co-authored-by: devin <devin@cognition.ai>
Co-authored-by: coah80 <usernamecole7@gmail.com>
2026-10-01 12:54:08 +00:00
coah
87e7ab6922 iplSDChannelSelect, tiCandidateBox: structural fixes (worker d5dcdbc0) (#451) 2026-10-01 02:01:17 -05:00
devin-ai-integration[bot]
faee1f779d Link fa msc units + msc_drv (#449)
Co-authored-by: devin <devin@cognition.ai>
Co-authored-by: wch <usernamecole7@gmail.com>
2026-10-01 04:37:58 +00:00
coah
6a2a3dd67f iplSDChannelSelect 102/129, iplSDMemory 63/66 (worker 68e4d339) (#381) 2026-09-30 10:01:16 -05:00
coah
55fd34f972 iplSDChannelSelect 98/129, iplSetting 102/112 (worker 1cf3ee73) (#375) 2026-09-30 08:40:18 -05:00
coah
2058b121cc iplSetting 100/112, iplSDMemory 62/66 (worker dee954b8) (#369) 2026-09-30 06:57:39 -05:00
coah
4f78910f8b iplSetting 97/112, iplSDChannelSelect 94/129, iplSDMemory (worker 5693252e) (#365) 2026-09-30 05:55:11 -05:00
coah
e744a24c1f iplMemoryCardBase 34/34, ATERM 5/26, AOSS 8/21 (worker 260cca0c) (#347) 2026-09-30 01:59:10 -05:00
coah
8b568557b0 iplSDChannelObj: 36/38 exact (worker 0b3375b0) (#315) 2026-09-29 20:55:45 -05:00
coah
ca4339eece iplMemoryCard: 41/41 functions (worker 4d184a0a) (#307) 2026-09-29 19:59:56 -05:00
coah
0107230f11 iplGCWindow: 47/48 functions, pool identical (worker c44639cd) (#306) 2026-09-29 19:48:44 -05:00
coah
c77b866ed4 iplGCWindow: 46/48 functions (worker a046844b) (#305) 2026-09-29 19:28:12 -05:00
coah
fcb5be85f7 Decompile iplSDChannelTitle to 63/69 functions (gpt-6.1-sol low) (worker b1c15e3d) (#288) 2026-09-29 17:02:20 -05:00
devin-ai-integration[bot]
882a83064e memoryCard: link iplGCSaveData (objdiff 100% code+data) (#278)
Co-authored-by: devin <devin@cognition.ai>
Co-authored-by: wch <usernamecole7@gmail.com>
2026-09-29 20:24:14 +00:00
coah
daf758ece1 Decompile AOSS to 7/21 functions (worker 5f0c95f9) (#273) 2026-09-29 10:34:38 -05:00
coah
74f1719bfd iplSDChannelSelect: 89/129 functions (worker f62627b8) (#266) 2026-09-29 08:17:16 -05:00
coah
c21dcc3d31 iplSDMemory: 48/66 functions (#260)
* sdmemory: carry over worker delta (sd channel select header changes left out)

* add SDChannelSelect state/worker accessors used by iplSDMemory
2026-09-29 04:21:39 -05:00
coah
ac51d83fa5 iplSetting: 78/112 functions (worker 3adbf457) (#259) 2026-09-29 04:14:07 -05:00
coah
51f940c1ea Decompile iplSetting to 68/112 functions (#256)
* start decompiling setting scene

* match basic setting scene helpers

* match setting constructor and storage

* match setting lookup helpers

* match setting cleanup methods

* restore setting scene name tables

* match setting fadein state copy

* decompile setting screen transitions

* match setting video mode transition

* decompile setting normal update

* decompile setting fadeout

* match setting data initialization

* decompile setting input initialization

* decompile setting access point flow

* decompile setting network workflows

* match setting helper frames

* match setting update initialization

* match setting eula initialization

* match setting fadein readiness

* type setting helper allocations

* localize browser setting tables

* match setting controller flow

* match setting exit condition

* improve setting screen mode flow

* match setting normal state cases

* improve setting keyboard initialization

* match setting text input handling

* match setting ssid initialization

* match setting address initialization

* match setting proxy initialization

* match setting nickname save

* match setting security and ssid writes

* match setting proxy profile updates

* match setting mtu parsing

* match parental password results

* match parental security answer result

* match master key result order

* improve setting text validation

* implement setting reverse ip conversion

* type setting text buffer as wide characters

* match setting default back string

* improve setting safe mode match

* match setting access point reset

* match setting access point redraw

* match setting access point events

* match setting left event

* improve setting creation and AP traversal
2026-09-29 01:28:56 -05:00
coah
313e396989 sdmemory: continue decompilation (worker snapshot d94f5e95) (#254) 2026-09-28 23:57:13 -05:00
coah
f98e550b24 sdchansel: continue decompilation (worker snapshot b063d97f) (#253) 2026-09-28 23:57:07 -05:00
coah
9347e0b1c3 Decompile iplSDMemory to 22/66 functions (#249)
* decompile SD memory setup helpers

* match SD memory arrow helpers

* match sd memory setup helpers

* decompile sd memory dialog reset

* order sd memory text pane updates

* match sd memory calculation

* decompile sd memory dialog states
2026-09-28 22:53:23 -05:00
coah
341ce036f5 Decompile iplSDChannelSelect to 42/129 functions (#248)
* start sd channel select decompilation

* add sd channel layouts and drawing

* match sd worker state helpers

* match nand title count handling

* name sd channel scene helpers

* match sd worker completion handlers

* match channel visibility lookup

* match channel queue helpers

* fix sd command notice payloads

* align sd worker state dispatch

* match sd channel object destruction

* match visible channel drawing passes

* match sd channel layout updates

* match sd channel pane helpers

* match page animation calculation
2026-09-28 22:53:07 -05:00
coah
258f4a6f91 iplAddressEdit: 77/94 functions, no inline asm left (#244)
* remove stale address edit externs

* use keyboard input form member

* use nigaoe name member

* decompile address edit fade-in

* decompile address edit normal init

* decompile address edit fadeout init

* decompile address edit common calc

* decompile address edit normal state

* decompile delete message fade-in

* decompile friend info removal

* decompile delete result transition

* decompile delete result state

* decompile input wait fade-in

* decompile input normal state

* decompile address edit draw

* model string owner pointer

* decompile friend code formatting

* decompile duplicate friend code check

* decompile own friend code check

* decompile Wii ID formatting

* decompile address edit fadeout

* decompile address edit button fade-in

* remove stale address edit symbols

* match address edit event dispatch

* simplify address edit pane access

* match address edit decision animations

* match address edit event dispatch

* match address edit button fadeout

* match address edit delete animation

* match address edit mii fadeout

* simplify address edit state handlers

* simplify address edit state dispatch

* simplify address edit scene creation
2026-09-28 19:31:31 -05:00
coah
17a33b2d18 Decompile iplAddressEdit to 72/94 functions (#240)
* wip: salvaged iplAddressEdit (old luna, contains hacks to remove)

* decompile address edit

* convert address edit methods
2026-09-28 18:11:06 -05:00
coah
dcfa7b859d Link iplBoardObject properly, prep iplBoard (#238)
* match board angle constants

* align board helper emission

* link board object unit
2026-09-28 17:49:43 -05:00
coah
287f88ae75 Decompile iplAddress to 86/101 functions, drop its inline asm (#233)
* wip: salvage uncommitted luna worktree state

* continue address scene decompilation

* match address page advance

* match address page rewind

* match address friend cache types

* match address error message codegen
2026-09-28 14:56:13 -05:00
coah
c3e50612b2 Revert padding/asm-hack links from #225, #229, #230 (#232)
* Revert "Link iplChannelSelect + fix channelTitle pad interaction (clean subset) (#230)"

This reverts commit 27844c37b3.

* Revert "Link iplBoard + iplBoardObject as matching (#229)"

This reverts commit abf047bc3b.

* Revert "Link iplChannelTitle, iplController, iplSaveDataManager, eggAudioExpMgr (#225)"

This reverts commit 52977bb782.
2026-09-28 14:15:36 -05:00
devin-ai-integration[bot]
27844c37b3 Link iplChannelSelect + fix channelTitle pad interaction (clean subset) (#230)
* Link iplChannelSelect as matching

Co-Authored-By: wch <usernamecole7@gmail.com>

* Fix DOL link: trim iplChannelTitle .data pad shim to original size

The padNN zero-fill shim overshot the original object's .data tail
(0x96c vs 0x950) by 7 f32 entries. The extra 0x1c + alignment pushed
.sdata2/.sdata bases +0x20, shifting the entire downstream layout and
breaking the byte-identical DOL hash on current main (0ed25ee...).

Removing pad46-pad52 restores .data to 0x950 and the full build verifies:
build/43U/main.dol sha1 26116613f624061ba99c8d1a299aaa6efa85670d.

Co-Authored-By: wch <usernamecole7@gmail.com>

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: wch <usernamecole7@gmail.com>
2026-09-28 18:26:25 +00:00
devin-ai-integration[bot]
abf047bc3b Link iplBoard + iplBoardObject as matching (#229)
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: wch <usernamecole7@gmail.com>
2026-09-28 15:03:56 +00:00
coah
784a463f27 feat: match iplChanAppBase unit (#215)
Define AnmController before the gui classes in this unit so its weak
vtable is emitted last, name the unit's .data literals as
compiler-generated symbols, and link the unit.
2026-09-27 23:29:20 -05:00
coah
a824e02a30 fix: restore 43U DOL hash on main (#213)
* fix: restore MSL extab flags and force-active stripped symbols

* fix: limit ChannelTitle novtable header changes to IPL_CHANNEL_TITLE_NOVTABLE

PR #182 made gui::EventHandler novtable and rewrote HermiteIntp for every
unit, which dropped __vt__Q23gui12EventHandler from linked scene units and
moved EventHandler::onEvent. Restore the pre-#182 definitions unless the
macro is defined.

* fix: restore u16 addrType in cdb::Manager::createNewRecord

The original symbol takes u16 (mangled UsUs); the enum parameter made
createNewRecord 4 bytes longer. Match the caller in iplNwc24Manager with a
u16 local assigned through if/else.

* fix: emit TVRC loop handlers after TVRCSendStartAsync

The original object places both alarm handlers at the end of .text.

* fix: construct scene::Date::mscMaxDate with utility::Date

The MaxDate wrapper emitted a weak MaxDate ctor that the original does
not have, shifting .text by 0x10 after iplDate. Go back to a plain
utility::Date followed by the 0x10-byte padding array.

* fix: define textinput PaneComponent dtor after PaneManager dtor

Matches the original object's function order, which also pulls the weak
GUIComponent dtor into place.

* fix: define EGG audio Arg and SoundHeapMgr ctors out of line

Emits IAudioMgr::Arg::Arg first and SoundHeapMgr's weak dtor ahead of its
ctor, matching the original eggAudioMgr function order.

* fix: define WaveFile dtors in AudioWavePlayer after the ctor

The original emits WavePacket's weak dtor first, then the WaveFileAiff and
WaveFileWav dtors. Declaring the dtors after getBit keeps the vtables in
AudioWaveUtility.

* fix: restore fork-point iplCSMtx string pooling

Moving "MTX34" into a static const array put it in .sdata2 and left the
pooled .sdata copy to be dead-stripped, shifting both sections.

* fix: share tiGUIManager's named 0.0f constant

drawLine_ and PaneComponent::contain now load lbl_81694EE8, as in the
original, instead of emitting their own 0.0f ahead of it in .sdata2.

* fix: force-active unreferenced iplDate and WDScan data

MWLD dead-strips scene::padding (the 0x10 bytes after Date::mscMaxDate)
and the unreferenced WDScan .sdata2 bytes lbl_81695063/lbl_81695067,
which shifted .bss and .sdata2.

* fix: unlink eggAudioExpMgr

MWCC emits the @52 calc thunk ahead of the @52 dtor thunk, but the
original has them the other way round, which swaps two vtable entries.
Link the original object until the order is matched.

* fix: shrink Calendar .data padding now that EventHandler has a vtable

With gui::EventHandler no longer novtable, its 0x18-byte vtable fills most
of the gap after __vt__Q33ipl5scene8Calendar; keep one 4-byte pad.
2026-09-27 23:26:31 -05:00
coah
bf479c7e3f Match ChannelTitle unit (#182) 2026-09-22 03:22:51 -05:00
coah
1171037c9b Match iplDate static data 2026-09-22 04:25:34 +00:00
coah
06b833a14b Match address destroy 2026-09-20 14:03:20 +00:00
coah
72280d4ee3 Match address NWC24 state 2026-09-20 13:43:26 +00:00
coah
bd8334a741 Match address parental state 2026-09-20 13:43:13 +00:00
coah
ef6987878b Match address edit message state 2026-09-20 13:43:02 +00:00
coah
71cf69bb1b Match address add message state 2026-09-20 13:42:50 +00:00
coah
f051f83348 Match address string clear 2026-09-20 13:22:01 +00:00
coah
9fd301c8fd Match address display code 2026-09-20 13:19:33 +00:00
Hydoza
1d9d608ae1 Fix header guard typo in APScanThread class 2026-08-01 03:52:34 +02:00
Hydoza
50dff0d4c1 Match APScanThread class 2026-08-01 03:11:28 +02:00
koopthekoopa
18213a8f5d Equivalent match iplChannelTitle.cpp 2026-07-22 19:41:35 +01:00
Skyler Calaman
a8df98f25a iplNandSDWorker_AutoTest Matching, split string blocks in iplKitayamaTest 2026-07-11 14:54:02 -04:00
koopthekoopa
4917e4e680 Update CONTRIBUTING.md 2026-07-09 17:47:55 +01:00
koopthekoopa
ff68d54ab3 clean up 2026-07-08 16:37:32 +01:00
koopthekoopa
13908b1198 Fix compile and link errors 2026-06-28 10:01:17 +01:00
KoopTheKoopa
af1e856d37 Merge pull request #31 from Blckbrry-Pi/Save-and-Channel-Edit
Scenes & classes for Editing Save & Channel Data (`channelEdit`, `memory`, and `saveDataEdit` scenes)
2026-06-27 17:28:47 +01:00