Commit Graph

395 Commits

Author SHA1 Message Date
Devin AI
9adb3e9996 keyboard: fix DOL regression — revert EventHandler decl-only (in-class is base model); decl-only InputForm setters + Manager::start/end with out-of-line defs in iplLetterWriter.cpp matching base GLOBAL emission
- tiGUIManager.h: restore in-class onEvent/setLatestEventCtrlNo/getLatestEventCtrlNo/changeEventHandler (base emits weak copies in linked TUs; decl-only refs resolved via base tiPcKeyboard.o broke -ipa codegen globally)
- MyTiInputForm.h: setNigaoeEventObserver declared-only (base: GLOBAL only in iplLetterWriter.o @0x50c)
- tiManager.h: start/end declared-only (base: GLOBAL only in iplLetterWriter.o @0x524/@0xc38)
- iplLetterWriter.cpp: out-of-line defs for memo::InputForm::setNigaoeEventObserver, letter::InputForm::setPhotoDraw/setType, Manager::start/end at base's exact emission positions; base .text identical through 0xf50
- tiPcKeyboard.cpp: drop EventHandler out-of-line defs (in-class model)
- DOL sha1 26116613 verified

Co-Authored-By: wch <usernamecole7@gmail.com>
2026-10-01 10:14:27 +00:00
Devin AI
82c2972066 keyboard: EventHandler method TU-placement, HWKeyboard::csAninationFile shared table, inputChar/tiHKBManager variants; remove ifdef pure-virtual trick
Co-Authored-By: wch <usernamecole7@gmail.com>
2026-10-01 09:45:42 +00:00
Devin AI
42beb56024 MyTiInputForm: move scroll-visible bools to base class, fix AnimPaneGroup List_Init, direct startAnm overload
Co-Authored-By: wch <usernamecole7@gmail.com>
2026-10-01 09:32:28 +00:00
Devin AI
3c4d73e4d1 tiCellPhone: bool mbLineFeed member + read-back idiom
setLineFeedButton/setPredictLanguageButton/updatePredictLanguage identical
via storing bool member then passing it to setVisible (MWCC emits
lbz+rlwinm canonicalize mask). onActive remains 4 stack-slot diffs.

Co-Authored-By: wch <usernamecole7@gmail.com>
2026-10-01 01:04:00 +00:00
Devin AI
b0fc50b103 tiTextDrawer: shrink DrawInfo to 24 bytes (matches base frame)
Co-Authored-By: wch <usernamecole7@gmail.com>
2026-10-01 00:57:17 +00:00
Devin AI
4865afc664 keyboard tiString: !=0 bool conversions + s32 mTranslateMode
- isDakuten/isHandaku/isSmall: explicit !=0 on util fn results emits
  neg/or/rlwinm idiom - all 3 identical
- mTranslateMode u32->s32: signed cmpw vs cmplw - setTranslateMode and
  inputString(PCw,mode) identical
- inputChar residual: base keeps live-index sthx stores in mode==3 arm
  (count not constant-foldable - tie-break)

Co-Authored-By: wch <usernamecole7@gmail.com>
2026-10-01 00:28:13 +00:00
Devin AI
40856d3a48 keyboard: MyTiManager decl-only accessor virtuals + non-static state objects
- memo::Manager accessor virtuals setSaveData/getSaveData/getState/getConfigType
  decl-only in header (out-of-line defs live in consumer TUs like base) ->
  kills 4 weak-copy extras and fixes .data to 100%
- state objects sDisp/sEdit/sAppear/sDisappear non-static -> GLOBAL binds
  matching base symtab (.sbss/.bss placement identical)

Co-Authored-By: wch <usernamecole7@gmail.com>
2026-10-01 00:18:37 +00:00
Devin AI
3d11c10ef1 keyboard: align ported headers with remote model; fix DOL regression
- tiGUIManager.{h,cpp}: use remote tip's consistent model (decl-only
  ~GUIComponent/getFlightDuration/setFlightDuration defined in cpp);
  main's inline-only variant + remote cpps moved weak-method emission
  out of base-expected TUs (wrong DOL hash)
- MyTiLetterForm.cpp: trigger -> field_0x0C (remote header naming)
- port headers for MyTiInputForm/MyTiLetterForm/tiInputForm/tiNw4rManager/
  tiSignWindow/tiString/tiTextDrawer into my ported units
Verified: full build, sha1 26116613f624061ba99c8d1a299aaa6efa85670d

Co-Authored-By: wch <usernamecole7@gmail.com>
2026-09-30 22:39:58 +00:00
Devin AI
98574fffcc Merge remote leaf line: verified keyboard work (DOL-identical) onto latest main
Remote tip carries the authoritative leaf state (17 commits incl. tiHwKeyboard
scaffolding, vt-slot fixes, Sample dtor thunk order, tiManager->tiKeyboard
rename). Resolved 26 add/add+content conflicts taking the remote line; my
session edits kept as attempts-doc notes.

Co-Authored-By: wch <usernamecole7@gmail.com>
2026-09-30 22:04:53 +00:00
Devin AI
9e56f9f587 keyboard: tiPcKeyboard setTranslateMode exact + tie-break documentation
setTranslateMode: uninitialized keyMode + 3-case switch (no default) preserves
the original UB register state — 105/105 diffs 0. updateInput/getControlKey/
onPressedShift documented as lazy-width/reg tie-breaks; tiString inputChar,
tiZiString clearCandidates/update, tiCandidateBox create loop strength-
reduction, MyTiInputForm vtable-order via IMPL guards.

Co-Authored-By: wch <usernamecole7@gmail.com>
2026-09-30 21:59:01 +00:00
coah
5981234728 scene units: small fuzzy gains (worker 0eaf4057) (#392) 2026-09-30 12:13:13 -05:00
coah
bf90a97c1a iplSetting 104/112 (fuzzy 93 -> 98) (worker e82cba45) (#385) 2026-09-30 11:04:42 -05:00
coah
6a2a3dd67f iplSDChannelSelect 102/129, iplSDMemory 63/66 (worker 68e4d339) (#381) 2026-09-30 10:01:16 -05:00
coah
91e65d765b tiCellPhone 83/86 (data 100%), NWC24Download 17/30 (worker b5116e0e) (#378) 2026-09-30 09:03:41 -05:00
coah
55fd34f972 iplSDChannelSelect 98/129, iplSetting 102/112 (worker 1cf3ee73) (#375) 2026-09-30 08:40:18 -05:00
coah
7a6efe8a2c pf_dir 34/38, NWC24Download 16/30, tiCellPhone 79/86 (worker 6e98b375) (#373) 2026-09-30 07:49:35 -05:00
coah
2058b121cc iplSetting 100/112, iplSDMemory 62/66 (worker dee954b8) (#369) 2026-09-30 06:57:39 -05:00
coah
f9bd6755ba KPAD 13/29 (worker a6808c6c) (#366) 2026-09-30 05:58:34 -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
033b33a486 tiCellPhone: 72/86 functions (worker 1ccf7e1f) (#335) 2026-09-30 00:18:48 -05:00
coah
9ad0863dbf tiHwKeyboard 10/10, tiCandidateBox 105/112, MyTiManager 91/91 (worker 913d06d4) (#333) 2026-09-30 00:14:18 -05:00
coah
64018b3b33 tiTextDrawer 23/24, MyTiLetterForm 26/26 (worker ea883a22) (#330) 2026-09-29 23:19:04 -05:00
coah
2748f29a98 tiString 41/42, tiZiString 24/29 (worker aa0ab97c) (#329) 2026-09-29 22:58:25 -05:00
coah
95c685534e tiHKBManager: 21/29 functions, data 100% (worker adbf6056) (#323) 2026-09-29 22:05:27 -05:00
coah
620a8a6814 tiSignWindow: 55/56 functions, data 100% (worker ba6ad09d) (#319) 2026-09-29 21:28:25 -05:00
coah
54d865f151 tiManager: 61/62 functions (worker db16fa0c) (#317) 2026-09-29 21:08:29 -05:00
coah
8b568557b0 iplSDChannelObj: 36/38 exact (worker 0b3375b0) (#315) 2026-09-29 20:55:45 -05:00
coah
413e6c483b tiInputForm: convert 29 more asm bodies to C (12 left) (worker 99756b60) (#310) 2026-09-29 20:16:30 -05:00
coah
d76c36462f iplCardSequence: 23/30 functions, data 100% (worker 68c1c3b9) (#309) 2026-09-29 20:15:21 -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
550c5f19c1 tiInputForm: convert 11 asm bodies to C (worker 392d5810) (#304) 2026-09-29 19:25:34 -05:00
coah
92f10a65fa tiPcKeyboard: 135/141 functions (worker d836d531) (#302) 2026-09-29 19:13:54 -05:00
coah
e858a9362d tiInputForm: 208/221 functions (worker 66d51a87) (#301) 2026-09-29 19:02:36 -05:00
coah
bd1885f9be tiPcKeyboard: 131/141 functions (worker 9de5a728) (#300) 2026-09-29 18:53:51 -05:00
coah
83a55a20a0 tiPcKeyboard: 129/141 functions (worker 13286b26) (#298) 2026-09-29 18:38:17 -05:00
coah
1bc8f49115 tiPcKeyboard: 123/141 functions (worker 51e4c318) (#296) 2026-09-29 18:14:49 -05:00
coah
fddb035def Decompile tiPcKeyboard to 120/141 functions (gpt-6.1-sol medium) (worker 7ab3be61) (#292) 2026-09-29 17:46:52 -05:00
coah
5ed744554c Decompile MyTiInputForm: 84/84 functions, 100% code (gpt-6.1-sol medium) (worker 2013f10c) (#289) 2026-09-29 17:05:33 -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
64f977ea3b Decompile MyTiManager to 84/91 functions (worker 8468d303) (#274) 2026-09-29 14:29:06 -05:00
coah
daf758ece1 Decompile AOSS to 7/21 functions (worker 5f0c95f9) (#273) 2026-09-29 10:34:38 -05:00
Devin AI
960e1306cb keyboard: fix vt slot targets — drop spurious Base overrides, add LbNW onKey/sign-page/close overrides
Co-Authored-By: wch <usernamecole7@gmail.com>
2026-09-29 15:34:00 +00:00
Devin AI
b4a59ad689 tiHwKeyboard: guard-goto for mods&8, compound OR range check, updateTriggerKey_ ~99.5
Co-Authored-By: wch <usernamecole7@gmail.com>
2026-09-29 14:52:20 +00:00
coah
74f1719bfd iplSDChannelSelect: 89/129 functions (worker f62627b8) (#266) 2026-09-29 08:17:16 -05:00
Devin AI
830ddafdcc keyboard: Sample dtor inline decls fix @N@ thunk order; DOL byte-identical
Co-Authored-By: wch <usernamecole7@gmail.com>
2026-09-29 12:50:17 +00:00
Devin AI
9eb648ea69 keyboard phase-2: tiCellPhone impl + tiPcKeyboard/tiHKBManager/tiHwKeyboard iteration
- tiCellPhone: full unit implementation (Base/L/EventHandler), 69/86 fns at 100
- tiPcKeyboard: remaining-iteration, string pool identical 204/204
- tiHKBManager: GetModifierState unrolled state-mask merge
- tiHwKeyboard: updateTriggerKey_ residual tie-break
- MyTiManager: bg::Base defs placement, memo::Manager vtable verified (all virtuals present in orig)
- Remaining diffs are count-equal register/scheduling tie-breaks

Co-Authored-By: wch <usernamecole7@gmail.com>
2026-09-29 12:50:17 +00:00