Match tiToolBar unit #218

Merged
coah80 merged 1 commits from agent/w0928/ti-toolbar into main 2026-09-28 04:40:51 +00:00
coah80 commented 2026-09-28 04:40:42 +00:00 (Migrated from github.com)

matches tiToolBar and links it

  • cancelStateFocusIn had ANM_07 where the target has ANM_08, the jump table entries were swapped. code was already 100% in objdiff so it never flagged it
  • the three @20@ thunks came out draw, init, dtor, the original has dtor first. that only happens when a class deriving from LayoutByNW4R with an inline ctor is visible, so tiToolBar.h now has the real Sample class (read off Manager::createToolBar) behind TI_TOOLBAR_SAMPLE_CLASS, other units still see the empty one
  • symbols.txt for this unit only: strings and jump tables renamed to @NNNN locals, the two .sdata pointers named, csAninationFile resized to its real 0x1DC
  • config.yml: block + re-add the two pAnims relocs that point one past the end of csAninationFile, otherwise dtk invents a label there and .rodata/.data cant both hit 100
  • flipped to Matching

gates (fresh orchestrator build on top of #217)

  • pool identical, 12 strings
  • objdiff 37/37 functions at 100, code 5464/5464, data 1452/1452 (.ctors .data .rodata .sdata all 100)
  • instruction diff 0 on all 37 functions
  • clean ninja build/43U/ok passes, main.dol sha1 26116613f624061ba99c8d1a299aaa6efa85670d
  • full ninja passes
matches tiToolBar and links it - `cancelStateFocusIn` had `ANM_07` where the target has `ANM_08`, the jump table entries were swapped. code was already 100% in objdiff so it never flagged it - the three `@20@` thunks came out draw, init, dtor, the original has dtor first. that only happens when a class deriving from `LayoutByNW4R` with an inline ctor is visible, so tiToolBar.h now has the real `Sample` class (read off `Manager::createToolBar`) behind `TI_TOOLBAR_SAMPLE_CLASS`, other units still see the empty one - symbols.txt for this unit only: strings and jump tables renamed to `@NNNN` locals, the two .sdata pointers named, `csAninationFile` resized to its real 0x1DC - config.yml: block + re-add the two `pAnims` relocs that point one past the end of `csAninationFile`, otherwise dtk invents a label there and .rodata/.data cant both hit 100 - flipped to Matching gates (fresh orchestrator build on top of #217) - pool identical, 12 strings - objdiff 37/37 functions at 100, code 5464/5464, data 1452/1452 (.ctors .data .rodata .sdata all 100) - instruction diff 0 on all 37 functions - clean `ninja build/43U/ok` passes, main.dol sha1 `26116613f624061ba99c8d1a299aaa6efa85670d` - full ninja passes
Sign in to join this conversation.