Skip to content

ItemStar: Implement and mark as matching - #81

Open
bemug wants to merge 2 commits into
doldecomp:mainfrom
bemug:main
Open

ItemStar: Implement and mark as matching#81
bemug wants to merge 2 commits into
doldecomp:mainfrom
bemug:main

Conversation

@bemug

@bemug bemug commented Aug 24, 2026

Copy link
Copy Markdown

First PR to this project, thanks everyone for the help to get me this far.

Comment thread src/Sato/ItemStar.cpp Outdated
@SwareJonge

SwareJonge commented Aug 24, 2026

Copy link
Copy Markdown
Collaborator

It seems like you forgot to implement ItemStar::doFall()

But all in all, nice job and thanks for your contribution!

@bemug

bemug commented Aug 25, 2026

Copy link
Copy Markdown
Author

Thank you. ItemStar::doFall() was not appearing as missing in objdiff for a reason I have yet to figure.
Anyway I implemented it, rebased, and cleaned a bunch of includes while at it.

Comment thread include/Sato/ItemStar.h Outdated
@decomp-dev

decomp-dev Bot commented Aug 25, 2026

Copy link
Copy Markdown

Report for MarioClub_us (dbdda50 - 332ef2c)

📈 Matched code: 46.94% (+0.05%, +1580 bytes)
📈 Linked code: 41.77% (+0.05%, +1580 bytes)
📈 Matched data: 24.88% (+0.01%, +60 bytes)
📈 Linked data: 32.41% (+0.04%, +332 bytes)

✅ 18 new matches
Unit Item Bytes Before After
main/Sato/ItemStar __sinit_ItemStar_cpp +268 0.00% 100.00%
main/Sato/ItemStar ItemStar::~ItemStar() +248 0.00% 100.00%
main/Sato/ItemStar ItemStar::doEquip() +204 0.00% 100.00%
main/Sato/ItemStar ItemStar::doUniv() +172 0.00% 100.00%
main/Sato/ItemStar ItemStar::reset() +140 0.00% 100.00%
main/Sato/ItemStar ItemStar::initEquip() +132 0.00% 100.00%
main/Sato/ItemStar ItemStar::doFall() +132 0.00% 100.00%
main/Sato/ItemStar ItemStar::ItemStar(unsigned long) +80 0.00% 100.00%
main/Sato/ItemStar ItemStar::createModel(JKRSolidHeap*, unsigned long, unsigned long) +56 0.00% 100.00%
main/Sato/ItemStar .bss +48 0.00% 100.00%
main/Sato/ItemStar ItemStar::getBmdFileName() +40 0.00% 100.00%
main/Sato/ItemStar ItemStar::initFall() +40 0.00% 100.00%
main/Sato/ItemStar ItemStar::initRelease() +36 0.00% 100.00%
main/Sato/ItemStar ItemStar::initDisappear() +24 0.00% 100.00%
main/Sato/ItemStar .sbss +8 0.00% 100.00%
main/Sato/ItemStar .ctors +4 0.00% 100.00%
main/Sato/ItemStar ItemStar::doRelease() +4 0.00% 100.00%
main/Sato/ItemStar ItemStar::doDisappear() +4 0.00% 100.00%
📈 4 improvements in unmatched items
Unit Item Bytes Before After
main/Sato/ItemStar .data +205 0.00% 99.03%
main/Sato/ItemStar .rodata +21 0.00% 90.91%
main/Sato/ItemStar .sdata2 +21 0.00% 90.91%
main/Sato/ItemStar .sdata +13 0.00% 85.71%

@SwareJonge

Copy link
Copy Markdown
Collaborator

Also needs to be rebased since it picks up stuff from my JAudio commits somehow

@bemug

bemug commented Aug 25, 2026

Copy link
Copy Markdown
Author

Should be ok now.

Switch mRotMtx type from Mtx to JGeometry::TRot3f so we can call set()
directly.
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.

3 participants