Skip to content

Decompile sCrc::calcCRC32 - #129

Merged
CLF78 merged 3 commits into
NSMBW-Community:masterfrom
alvaroms97:decomp/s-crc-calccrc32
Sep 12, 2026
Merged

CLF78 merged 3 commits into
NSMBW-Community:masterfrom
alvaroms97:decomp/s-crc-calccrc32

Conversation

@alvaroms97

Copy link
Copy Markdown
Contributor

Decompiles sCrc::calcCRC32 (wiimj2d.dol), a trivial tail-call wrapper around OSCalcCRC32.

@decomp-dev

decomp-dev Bot commented Sep 10, 2026 •

Copy link
Copy Markdown

Report for SMNP01 (f44feea - 98d458b)

📈 Matched code: 8.86% (+0.00%, +4 bytes)
📈 Linked code: 8.87% (+0.00%, +4 bytes)

✅ 7 new matches
Unit Item Bytes Before After
dol/sLib/s_crc.cpp sCrc::calcCRC32(const void*, unsigned long) +4 0.00% 100.00%
runtime/global_destructor_chain.c __register_global_object -4 100.00% 100.00%
runtime/global_destructor_chain.c __register_global_object -4 100.00% 100.00%
runtime/global_destructor_chain.c __register_global_object -4 100.00% 100.00%
runtime/global_destructor_chain.c __destroy_global_chain -12 100.00% 100.00%
runtime/global_destructor_chain.c __destroy_global_chain -12 100.00% 100.00%
runtime/global_destructor_chain.c __destroy_global_chain -12 100.00% 100.00%
🥀 3 broken matches
Unit Item Bytes Before After
runtime/global_destructor_chain.c .dtors -8 100.00% 0.00%
runtime/global_destructor_chain.c .dtors -4 100.00% 0.00%
runtime/global_destructor_chain.c .dtors -4 100.00% 0.00%
📈 3 improvements in unmatched items
Unit Item Bytes Before After
runtime/global_destructor_chain.c .sbss +5 0.00% 66.67%
runtime/global_destructor_chain.c .sbss +5 0.00% 66.67%
runtime/global_destructor_chain.c .sbss +5 0.00% 66.67%
📉 3 regressions in unmatched items
Unit Item Bytes Before After
runtime/global_destructor_chain.c .bss -5 66.67% 0.00%
runtime/global_destructor_chain.c .bss -5 66.67% 0.00%
runtime/global_destructor_chain.c .bss -5 66.67% 0.00%

@CLF78
CLF78 self-requested a review September 12, 2026 21:36
@CLF78
CLF78 merged commit 84e0459 into NSMBW-Community:master Sep 12, 2026
2 checks 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