- SDButton::setEventHandler was genuinely 1-arg in retail (dead second
param): corrected decl/def/call sites + symbols.txt mangle. Fixes 5
fns to instruction-identical and lifts iplSDChannelTitle data to
.data/.rodata/.sdata/.sdata2 100% (was 12.1%).
- ut_ArchiveFontBase: reordered sheetOffsetsScratch decl/assign to
match orig materialization.
Both units remain NonMatching — flip attempts verified to break the
linked DOL: iplSDChannelTitle's object emits 51 net-extra anonymous
literal objects (pool merge/order differs, fuzzy 99.94) plus two fns
+4B each (updateCopyStart, startCopyProgress); ut_ArchiveFontBase has
a ~0x380B content region differing (fuzzy 98.47). DOL sha1 stays
26116613f624061ba99c8d1a299aaa6efa85670d with them unlinked.
Co-authored-by: devin <devin@cognition.ai>
Co-authored-by: coah80 <usernamecole7@gmail.com>
Rename iplSDChannelObj_813E* helpers to semantic names (setHeaps,
createBaseLayout, getLocalizedName, etc.) across the unit, callers,
header, and symbols.txt. Byte-identical: ok + sha1
26116613f624061ba99c8d1a299aaa6efa85670d; unit still ~90% code /
~99.99% fuzzy.
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>
* 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
* 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
* 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>
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.