Skip to content

NoteCounter matches 100% except .sbss - #75

Merged
Fl-ppie merged 3 commits into
SMGCommunity:mainfrom
not-aoyama:NoteCounter
Nov 29, 2026
Merged

Fl-ppie merged 3 commits into
SMGCommunity:mainfrom
not-aoyama:NoteCounter

Conversation

@not-aoyama

Copy link
Copy Markdown
Contributor

I tried marking this TU as Matching, but it caused Ninja to fail.

Also, the local variable declarations in exeShowToHide and exeHideToShow are necessary for matching.

@decomp-dev

decomp-dev Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

Report for SB4E01 (622823b - b9709a2)

📈 Matched code: 21.01% (+0.03%, +1568 bytes)
📈 Matched data: 11.39% (+0.01%, +172 bytes)

✅ 24 new matches
Unit Item Bytes Before After
main/Game/Screen/NoteCounter NoteCounter::add() +316 0.00% 100.00%
main/Game/Screen/NoteCounter NoteCounter::exeHideToShow() +216 0.00% 100.00%
main/Game/Screen/NoteCounter NoteCounter::exeShowToHide() +192 0.00% 100.00%
main/Game/Screen/NoteCounter .data +160 0.00% 100.00%
main/Game/Screen/NoteCounter NoteCounter::declareNoteNumMaxAndMelody(LiveActor*, long, long, float) +152 0.00% 100.00%
main/Game/Screen/NoteCounter NoteCounter::NoteCounter(const char*) +100 0.00% 100.00%
main/Game/Screen/NoteCounter NoteCounter::~NoteCounter() +92 0.00% 100.00%
main/Game/Screen/NoteCounter NrvNoteCounter::NoteCounterNrvShowWait::execute(Spine*) const +72 0.00% 100.00%
main/Game/Screen/NoteCounter NoteCounter::init(const JMapInfoIter&) +68 0.00% 100.00%
main/Game/Screen/NoteCounter __sinit_\NoteCounter_cpp +68 0.00% 100.00%
main/Game/Screen/NoteCounter NrvNoteCounter::NoteCounterNrvHide::execute(Spine*) const +64 0.00% 100.00%
main/Game/Screen/NoteCounter MR::failureNoteCollection() +52 0.00% 100.00%
main/Game/Screen/NoteCounter MR::addNoteToCounter() +40 0.00% 100.00%
main/Game/Screen/NoteCounter NoteCounter::tryEndDisp() +36 0.00% 100.00%
main/Game/Screen/NoteCounter NrvNoteCounter::NoteCounterNrvShow::NoteCounterNrvShow() +16 0.00% 100.00%
main/Game/Screen/NoteCounter NrvNoteCounter::NoteCounterNrvShowWait::NoteCounterNrvShowWait() +16 0.00% 100.00%
main/Game/Screen/NoteCounter NrvNoteCounter::NoteCounterNrvShowToHide::NoteCounterNrvShowToHide() +16 0.00% 100.00%
main/Game/Screen/NoteCounter NrvNoteCounter::NoteCounterNrvHideToShow::NoteCounterNrvHideToShow() +16 0.00% 100.00%
main/Game/Screen/NoteCounter NrvNoteCounter::NoteCounterNrvHide::NoteCounterNrvHide() +16 0.00% 100.00%
main/Game/Screen/NoteCounter .rodata +8 0.00% 100.00%
main/Game/Screen/NoteCounter NrvNoteCounter::NoteCounterNrvHideToShow::execute(Spine*) const +8 0.00% 100.00%
main/Game/Screen/NoteCounter NrvNoteCounter::NoteCounterNrvShowToHide::execute(Spine*) const +8 0.00% 100.00%
main/Game/Screen/NoteCounter .ctors +4 0.00% 100.00%
main/Game/Screen/NoteCounter NrvNoteCounter::NoteCounterNrvShow::execute(Spine*) const +4 0.00% 100.00%
📈 2 improvements in unmatched items
Unit Item Bytes Before After
main/Game/Screen/NoteCounter .sbss +19 0.00% 80.00%
main/Game/Screen/NoteCounter .sdata2 +7 0.00% 44.44%

Comment thread src/Game/Screen/NoteCounter.cpp Resolved
Comment thread include/Game/Util/ActorSensorUtil.hpp Resolved
@Fl-ppie

Fl-ppie commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

.sbss not matching is usually either an issue with the nerves or .data is misordered.

@not-aoyama

Copy link
Copy Markdown
Contributor Author

I'm not sure what to do about that. .data and .data-0 are matching 100% right now. As for the nerves, they're defined in __sinit_\NoteCounter_cpp, which is also matching 100%.

@Fl-ppie

Fl-ppie commented Nov 29, 2026

Copy link
Copy Markdown
Contributor

Resolve the merge conflicts and then I'll merge it.

@Fl-ppie
Fl-ppie merged commit 1ef5968 into SMGCommunity:main Nov 29, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants