Skip to content

Decompile daBullet_c - #118

Merged
RootCubed merged 7 commits into
NSMBW-Community:masterfrom
break-core:d_a_bullet
Aug 25, 2026
Merged

Decompile daBullet_c#118
RootCubed merged 7 commits into
NSMBW-Community:masterfrom
break-core:d_a_bullet

Conversation

@break-core

@break-core break-core commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Everything is matching but [.data-0] in objdiff claims its missing 4 bytes for no reason.

@decomp-dev

decomp-dev Bot commented Aug 24, 2026

Copy link
Copy Markdown

Report for SMNP01 (549105a - ad6629c)

Total code: 6263204 bytes (-8 bytes)
Total functions: 39970 (-1)
📈 Matched code: 8.61% (+0.11%, +6776 bytes)
📈 Linked code: 8.63% (+0.11%, +6776 bytes)
📈 Matched data: 2.24% (+0.03%, +580 bytes)
📈 Linked data: 3.89% (+0.07%, +1612 bytes)

✅ 81 new matches
Unit Item Bytes Before After
dol/bases/d_a_bullet.cpp __sinit_\d_a_bullet_cpp +1704 0.00% 100.00%
dol/bases/d_a_bullet.cpp .bss +512 0.00% 100.00%
dol/bases/d_a_bullet.cpp daBullet_c::collisionCallback(dCc_c*, dCc_c*) +420 0.00% 100.00%
dol/bases/d_a_bullet.cpp daBullet_c::revengeCallback(dCc_c*, dCc_c*) +320 0.00% 100.00%
dol/bases/d_a_bullet.cpp daBullet_c::hitProc_Star(dCc_c*) +288 0.00% 100.00%
dol/bases/d_a_bullet.cpp daBullet_c::hitProc_Shell(dCc_c*) +288 0.00% 100.00%
dol/bases/d_a_bullet.cpp daBullet_c::hitProc_YoshiBullet(dCc_c*) +288 0.00% 100.00%
dol/bases/d_a_bullet.cpp daBullet_c::preExecute() +260 0.00% 100.00%
dol/bases/d_a_bullet.cpp sFStateVirtualID_c<daBullet_c>::superID() const +224 0.00% 100.00%
dol/bases/d_a_bullet.cpp sFStateVirtualID_c<daBullet_c>::number() const +220 0.00% 100.00%
dol/bases/d_a_bullet.cpp daBullet_c::setEatSpitOut(dActor_c*) +216 0.00% 100.00%
dol/bases/d_a_bullet.cpp daBullet_c::waterSplashEffect(const mVec3_c&, float) +188 0.00% 100.00%
dol/bases/d_a_bullet.cpp daBullet_c::splashProc() +160 0.00% 100.00%
dol/bases/d_a_bullet.cpp sFStateID_c<daBullet_c>::isSameName(const char*) const +136 0.00% 100.00%
dol/bases/d_a_bullet.cpp daBullet_c::hitProc_Reflect(dCc_c*) +128 0.00% 100.00%
dol/bases/d_a_bullet.cpp daBullet_c::setDeadMove(const mVec3_c&, short) +112 0.00% 100.00%
dol/bases/d_a_bullet.cpp daBullet_c::execute() +108 0.00% 100.00%
dol/bases/d_a_bullet.cpp daBullet_c::~daBullet_c() +104 0.00% 100.00%
dol/bases/d_a_bullet.cpp daBullet_c::executeState_SpiteMove() +100 0.00% 100.00%
dol/bases/d_a_bullet.cpp daBullet_c::allocate() +96 0.00% 100.00%
dol/bases/d_a_bullet.cpp sFStateVirtualID_c<daBullet_c>::~sFStateVirtualID_c() +92 0.00% 100.00%
dol/bases/d_a_bullet.cpp sFStateID_c<daBullet_c>::~sFStateID_c() +88 0.00% 100.00%
dol/bases/d_a_bullet.cpp daBullet_c::setEatTongue(dActor_c*) +84 0.00% 100.00%
dol/bases/d_a_bullet.cpp daBullet_c::create() +80 0.00% 100.00%
dol/bases/d_a_bullet.cpp daBullet_c::doDelete() +80 0.00% 100.00%
dol/bases/d_a_bullet.cpp daBullet_c::checkPlayerDamage(dCc_c*, dCc_c*) +80 0.00% 100.00%
dol/bases/d_a_bullet.cpp daBullet_c::checkYoshiDamage(dCc_c*, dCc_c*) +80 0.00% 100.00%
dol/bases/d_a_bullet.cpp daBullet_c::executeState_HitReflect() +72 0.00% 100.00%
dol/bases/d_a_bullet.cpp daBullet_c::executeState_HitStar() +72 0.00% 100.00%
dol/bases/d_a_bullet.cpp daBullet_c::executeState_HitShell() +72 0.00% 100.00%

...and 51 more new matches

🥀 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%
📈 4 improvements in unmatched items
Unit Item Bytes Before After
dol/bases/d_a_bullet.cpp .data +1029 0.00% 99.81%
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%

@break-core
break-core marked this pull request as ready for review August 25, 2026 03:37
@RootCubed
RootCubed merged commit e38f90d into NSMBW-Community:master Aug 25, 2026
3 checks passed
@break-core
break-core deleted the d_a_bullet branch August 26, 2026 05:36
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