cleanup(iplBalloon): name fade/align/margin fields #654

Merged
coah80 merged 1 commits from cleanup/iplBalloon-unks into main 2026-10-01 23:40:28 +00:00
coah80 commented 2026-10-01 23:39:09 +00:00 (Migrated from github.com)

Matching-only cleanup for TextBalloon (include/scene/textBalloon/iplBalloon.h + src/scene/textBalloon/iplBalloon.cpp).

Renames

Before After
unk_0x08 mbWaitingFadeIn
unk_0x28 mHAlign
unk_0x2C mbUse16x9X
unk_0x30 mMargin16x9
unk_0x34 mMargin4x3
ctor unk2 / unk3 / unk4 initialPos / margin16x9 / margin4x3
setPos(..., bool unk0, int unk1) setPos(..., bool use16x9X, int hAlign)

Left unk_0x00 / unk_0x04 alone (unused padding).

No call-site edits: other units only construct / setPos with positional args (header+implementation only).

Objdiff (main/src/scene/textBalloon/iplBalloon)

Before After
matched_code 100% 100%
fuzzy_match 100% 100%
functions 18/18 18/18
matched_data 100% 100%

Dependents that include the header stayed Matching (iplTextWriter, iplLetterWriter, iplButton, iplMemory, iplChannelEdit, iplMemoryCard).

Gate

  • ninja all_source build/43U/ok
  • DOL sha1 26116613f624061ba99c8d1a299aaa6efa85670d
Matching-only cleanup for `TextBalloon` (`include/scene/textBalloon/iplBalloon.h` + `src/scene/textBalloon/iplBalloon.cpp`). ## Renames | Before | After | |--------|--------| | `unk_0x08` | `mbWaitingFadeIn` | | `unk_0x28` | `mHAlign` | | `unk_0x2C` | `mbUse16x9X` | | `unk_0x30` | `mMargin16x9` | | `unk_0x34` | `mMargin4x3` | | ctor `unk2` / `unk3` / `unk4` | `initialPos` / `margin16x9` / `margin4x3` | | `setPos(..., bool unk0, int unk1)` | `setPos(..., bool use16x9X, int hAlign)` | Left `unk_0x00` / `unk_0x04` alone (unused padding). No call-site edits: other units only construct / `setPos` with positional args (header+implementation only). ## Objdiff (`main/src/scene/textBalloon/iplBalloon`) | | Before | After | |--|--------|-------| | matched_code | 100% | 100% | | fuzzy_match | 100% | 100% | | functions | 18/18 | 18/18 | | matched_data | 100% | 100% | Dependents that include the header stayed Matching (`iplTextWriter`, `iplLetterWriter`, `iplButton`, `iplMemory`, `iplChannelEdit`, `iplMemoryCard`). ## Gate - `ninja all_source build/43U/ok` - DOL sha1 `26116613f624061ba99c8d1a299aaa6efa85670d`
coah80 commented 2026-10-01 23:40:25 +00:00 (Migrated from github.com)

Reviewed and merged: rebased on main, full build ok, DOL sha1 26116613f624061ba99c8d1a299aaa6efa85670d, 0 regressions, 0 forbidden patterns.

Reviewed and merged: rebased on main, full build ok, DOL sha1 26116613f624061ba99c8d1a299aaa6efa85670d, 0 regressions, 0 forbidden patterns.
Sign in to join this conversation.