cleanup(SDChannelObj): name address-suffixed C helpers #636

Merged
coah80 merged 1 commits from cleanup/sdchannelobj-funcs into main 2026-10-01 23:33:43 +00:00
coah80 commented 2026-10-01 23:18:42 +00:00 (Migrated from github.com)

Summary

Rename the 35 iplSDChannelObj_813E* address-suffixed C helpers in the carefully Equivalent iplSDChannelObj unit to semantic names. Call sites in iplSDChannelSelect / iplSDChannelTitle, the select header, and config/43U/symbols.txt are updated in lockstep.

Renames

old new
iplSDChannelObj_813E3104 iplSDChannelObj_activateIfIdle
iplSDChannelObj_813E311C iplSDChannelObj_setHeaps
iplSDChannelObj_813E3128 iplSDChannelObj_getOrAllocThumbnailData
iplSDChannelObj_813E3178 iplSDChannelObj_setPane
iplSDChannelObj_813E3180 iplSDChannelObj_setLayoutFile
iplSDChannelObj_813E322C iplSDChannelObj_calc
iplSDChannelObj_813E32C8 iplSDChannelObj_drawBase
iplSDChannelObj_813E3304 iplSDChannelObj_drawPage
iplSDChannelObj_813E330C iplSDChannelObj_drawDialog
iplSDChannelObj_813E3330 iplSDChannelObj_hasAppMeta
iplSDChannelObj_813E3354 iplSDChannelObj_startAppear
iplSDChannelObj_813E33EC iplSDChannelObj_startDisappear
iplSDChannelObj_813E3480 iplSDChannelObj_setSelected
iplSDChannelObj_813E34E0 iplSDChannelObj_playPageHide
iplSDChannelObj_813E34E8 iplSDChannelObj_resetPageAnim
iplSDChannelObj_813E3534 iplSDChannelObj_resetDialogAnim
iplSDChannelObj_813E3580 iplSDChannelObj_applyLanguageGroups
iplSDChannelObj_813E3858 iplSDChannelObj_createBaseLayout
iplSDChannelObj_813E3920 iplSDChannelObj_createIconLayout
iplSDChannelObj_813E3A84 iplSDChannelObj_createMenuLayout
iplSDChannelObj_813E3B1C iplSDChannelObj_syncLayoutsToPane
iplSDChannelObj_813E3BA0 iplSDChannelObj_createPageLayout
iplSDChannelObj_813E3C58 iplSDChannelObj_setPageTranslate
iplSDChannelObj_813E3C9C iplSDChannelObj_setPageAnim
iplSDChannelObj_813E3E38 iplSDChannelObj_updatePageAnim
iplSDChannelObj_813E3F28 iplSDChannelObj_playPageAnimator
iplSDChannelObj_813E3F74 iplSDChannelObj_createDialogLayout
iplSDChannelObj_813E4060 iplSDChannelObj_getLocalizedName
iplSDChannelObj_813E413C iplSDChannelObj_setBalloonText
iplSDChannelObj_813E4410 iplSDChannelObj_positionDialog
iplSDChannelObj_813E4558 iplSDChannelObj_setDialogAnim
iplSDChannelObj_813E4704 iplSDChannelObj_updateDialogAnim
iplSDChannelObj_813E481C iplSDChannelObj_findNewMessageGroup
iplSDChannelObj_813E49A8 iplSDChannelObj_updateNewMessage
iplSDChannelObj_813E4A54 iplSDChannelObj_checkNewMessage

Verification

  • ninja build/43U/ok → OK
  • DOL sha1 26116613f624061ba99c8d1a299aaa6efa85670d
  • objdiff: ~90.04% matched code / ~99.99% fuzzy (unchanged)
## Summary Rename the 35 `iplSDChannelObj_813E*` address-suffixed C helpers in the carefully Equivalent `iplSDChannelObj` unit to semantic names. Call sites in `iplSDChannelSelect` / `iplSDChannelTitle`, the select header, and `config/43U/symbols.txt` are updated in lockstep. ## Renames | old | new | | --- | --- | | `iplSDChannelObj_813E3104` | `iplSDChannelObj_activateIfIdle` | | `iplSDChannelObj_813E311C` | `iplSDChannelObj_setHeaps` | | `iplSDChannelObj_813E3128` | `iplSDChannelObj_getOrAllocThumbnailData` | | `iplSDChannelObj_813E3178` | `iplSDChannelObj_setPane` | | `iplSDChannelObj_813E3180` | `iplSDChannelObj_setLayoutFile` | | `iplSDChannelObj_813E322C` | `iplSDChannelObj_calc` | | `iplSDChannelObj_813E32C8` | `iplSDChannelObj_drawBase` | | `iplSDChannelObj_813E3304` | `iplSDChannelObj_drawPage` | | `iplSDChannelObj_813E330C` | `iplSDChannelObj_drawDialog` | | `iplSDChannelObj_813E3330` | `iplSDChannelObj_hasAppMeta` | | `iplSDChannelObj_813E3354` | `iplSDChannelObj_startAppear` | | `iplSDChannelObj_813E33EC` | `iplSDChannelObj_startDisappear` | | `iplSDChannelObj_813E3480` | `iplSDChannelObj_setSelected` | | `iplSDChannelObj_813E34E0` | `iplSDChannelObj_playPageHide` | | `iplSDChannelObj_813E34E8` | `iplSDChannelObj_resetPageAnim` | | `iplSDChannelObj_813E3534` | `iplSDChannelObj_resetDialogAnim` | | `iplSDChannelObj_813E3580` | `iplSDChannelObj_applyLanguageGroups` | | `iplSDChannelObj_813E3858` | `iplSDChannelObj_createBaseLayout` | | `iplSDChannelObj_813E3920` | `iplSDChannelObj_createIconLayout` | | `iplSDChannelObj_813E3A84` | `iplSDChannelObj_createMenuLayout` | | `iplSDChannelObj_813E3B1C` | `iplSDChannelObj_syncLayoutsToPane` | | `iplSDChannelObj_813E3BA0` | `iplSDChannelObj_createPageLayout` | | `iplSDChannelObj_813E3C58` | `iplSDChannelObj_setPageTranslate` | | `iplSDChannelObj_813E3C9C` | `iplSDChannelObj_setPageAnim` | | `iplSDChannelObj_813E3E38` | `iplSDChannelObj_updatePageAnim` | | `iplSDChannelObj_813E3F28` | `iplSDChannelObj_playPageAnimator` | | `iplSDChannelObj_813E3F74` | `iplSDChannelObj_createDialogLayout` | | `iplSDChannelObj_813E4060` | `iplSDChannelObj_getLocalizedName` | | `iplSDChannelObj_813E413C` | `iplSDChannelObj_setBalloonText` | | `iplSDChannelObj_813E4410` | `iplSDChannelObj_positionDialog` | | `iplSDChannelObj_813E4558` | `iplSDChannelObj_setDialogAnim` | | `iplSDChannelObj_813E4704` | `iplSDChannelObj_updateDialogAnim` | | `iplSDChannelObj_813E481C` | `iplSDChannelObj_findNewMessageGroup` | | `iplSDChannelObj_813E49A8` | `iplSDChannelObj_updateNewMessage` | | `iplSDChannelObj_813E4A54` | `iplSDChannelObj_checkNewMessage` | ## Verification - `ninja build/43U/ok` → OK - DOL sha1 `26116613f624061ba99c8d1a299aaa6efa85670d` - objdiff: ~90.04% matched code / ~99.99% fuzzy (unchanged)
coah80 commented 2026-10-01 23:19:15 +00:00 (Migrated from github.com)

Rebased onto latest main; verified ok + sha1 26116613f624061ba99c8d1a299aaa6efa85670d.

Rebased onto latest main; verified ok + sha1 26116613f624061ba99c8d1a299aaa6efa85670d.
coah80 commented 2026-10-01 23:21:50 +00:00 (Migrated from github.com)

Changes requested: this is not a pure rename. After rebasing on main, iplSDChannelObj drops from 38/38 exact and fully linked (7312 linked code bytes) to 37/38 with linked code 0. One function no longer matches, so the unit falls back to unlinked. Likely causes: a renamed helper now sorts or emits differently (a static vs extern change, or a changed signature/inline boundary), or a caller in iplSDChannelSelect/iplSDChannelTitle now resolves to a different declaration. Run ctxdiff on iplSDChannelObj against main to find the function that broke, keep the renames but restore its exact form, and confirm 38/38 plus linked before pushing.

Changes requested: this is not a pure rename. After rebasing on main, iplSDChannelObj drops from 38/38 exact and fully linked (7312 linked code bytes) to 37/38 with linked code 0. One function no longer matches, so the unit falls back to unlinked. Likely causes: a renamed helper now sorts or emits differently (a static vs extern change, or a changed signature/inline boundary), or a caller in iplSDChannelSelect/iplSDChannelTitle now resolves to a different declaration. Run ctxdiff on iplSDChannelObj against main to find the function that broke, keep the renames but restore its exact form, and confirm 38/38 plus linked before pushing.
coah80 commented 2026-10-01 23:22:14 +00:00 (Migrated from github.com)

Rebased onto latest main; verified ok + sha1 26116613f624061ba99c8d1a299aaa6efa85670d.

Rebased onto latest main; verified ok + sha1 26116613f624061ba99c8d1a299aaa6efa85670d.
coah80 commented 2026-10-01 23:24:36 +00:00 (Migrated from github.com)

Correction to my earlier comment: I compared against #616's .s-linked numbers. On current main iplSDChannelObj is already 37/38 and unlinked, so this PR is a clean rename with no regression. Merging.

Correction to my earlier comment: I compared against #616's .s-linked numbers. On current main iplSDChannelObj is already 37/38 and unlinked, so this PR is a clean rename with no regression. Merging.
coah80 commented 2026-10-01 23:25:41 +00:00 (Migrated from github.com)

Rebased onto latest main (after #639); resolved Title.cpp conflict by keeping Title helper names and applying Obj renames. Verified ok + sha1 26116613f624061ba99c8d1a299aaa6efa85670d.

Rebased onto latest main (after #639); resolved Title.cpp conflict by keeping Title helper names and applying Obj renames. Verified ok + sha1 26116613f624061ba99c8d1a299aaa6efa85670d.
coah80 commented 2026-10-01 23:26:07 +00:00 (Migrated from github.com)

Now conflicts with main (#639 touched the same SD channel files). Please rebase onto origin/main and push. It'll be re-reviewed automatically when the head commit changes.

Now conflicts with main (#639 touched the same SD channel files). Please rebase onto origin/main and push. It'll be re-reviewed automatically when the head commit changes.
coah80 commented 2026-10-01 23:29:50 +00:00 (Migrated from github.com)

Rebased onto latest main; verified ok + sha1 26116613f624061ba99c8d1a299aaa6efa85670d.

Rebased onto latest main; verified ok + sha1 26116613f624061ba99c8d1a299aaa6efa85670d.
coah80 commented 2026-10-01 23:33:40 +00:00 (Migrated from github.com)

Reviewed and merged after rebase: rename-only. iplSDChannelObj 37/38, iplSDChannelSelect 117/129 and iplSDChannelTitle 62/69 are identical to main; full build ok; DOL sha1 26116613f624061ba99c8d1a299aaa6efa85670d; 0 forbidden. The 34 flagged entries are the old names.

Reviewed and merged after rebase: rename-only. iplSDChannelObj 37/38, iplSDChannelSelect 117/129 and iplSDChannelTitle 62/69 are identical to main; full build ok; DOL sha1 26116613f624061ba99c8d1a299aaa6efa85670d; 0 forbidden. The 34 flagged entries are the old names.
Sign in to join this conversation.