Skip to content

iSnd work - #769

Merged
SquareMan merged 4 commits into
bfbbdecomp:mainfrom
escape209:work
Aug 3, 2026
Merged

iSnd work#769
SquareMan merged 4 commits into
bfbbdecomp:mainfrom
escape209:work

Conversation

@escape209

Copy link
Copy Markdown
Contributor

Some matches to derust.

Claude technically used for one line in iSndPlay but ended up having to matching it manually anyways.

@github-actions

github-actions Bot commented Aug 1, 2026

Copy link
Copy Markdown

main/SB/Core/gc/iSnd

Section From To Bytes
📈 .sdata2 18.18% 26.09% +6
📈 .text 32.50% 39.34% +971
Function From To Bytes
iSndCalcVol(xSndVoiceInfo*, vinfo*) 0.00% 100.00% +148
📈 iSndPlay(xSndVoiceInfo*) 0.00% 97.92% +188
iSndDIEDIEDIE() 0.00% 100.00% +200
iSndSuspend() 0.00% 100.00% +148
iSndResume() 0.00% 100.00% +176
iSndGetVol(unsigned int) 0.00% 100.00% +112

main/SB/Game/zNPCTypeKingJelly

Section From To Bytes
⚠️ .bss 94.74% 0.00% --3781
⚠️ .data 76.13% 54.96% --193
⚠️ .rodata 4.23% 3.89% --14
⚠️ .sbss 100.00% 0.00% --24
⚠️ .sdata2 74.34% 70.39% --12
⚠️ .text 46.53% 41.05% --1886
Function From To Bytes
⚠️ @unnamed@zNPCTypeKingJelly_cpp@::init_sound() 100.00% 0.00% --172
⚠️ @unnamed@zNPCTypeKingJelly_cpp@::play_sound_immediate(int, const xVec3*) 81.48% 0.00% --198
⚠️ @unnamed@zNPCTypeKingJelly_cpp@::play_sound(int, const xVec3*) 94.12% 4.12% --122
⚠️ @unnamed@zNPCTypeKingJelly_cpp@::sound_update(float) 100.00% 0.00% --168
⚠️ @unnamed@zNPCTypeKingJelly_cpp@::set_ring_segments(const xVec3&, float, float) 39.84% 0.00% --256
⚠️ @unnamed@zNPCTypeKingJelly_cpp@::updown_ring_update(lightning_ring&, float) 100.00% 0.00% --152
⚠️ @unnamed@zNPCTypeKingJelly_cpp@::expand_ring_update(lightning_ring&, float) 100.00% 0.00% --164
⚠️ zNPCKingJelly::zNPCKingJelly(int) 100.00% 0.00% --96
⚠️ @unnamed@zNPCTypeKingJelly_cpp@::tweak_group::register_tweaks(bool, xModelAssetParam*, unsigned int, const char*) 99.93% 99.70% --21
⚠️ zNPCKingJelly::Damage(en_NPC_DAMAGE_TYPE, xBase*, const xVec3*) 100.00% 0.00% --228
⚠️ zNPCKingJelly::update_camera(float) 100.00% 0.00% --76
⚠️ zNPCKingJelly::set_life(int) 100.00% 0.00% --232

@github-actions

github-actions Bot commented Aug 1, 2026

Copy link
Copy Markdown

main/SB/Core/gc/iSnd

Section From To Bytes
📈 .sdata2 18.18% 26.09% +6
📈 .text 32.50% 39.34% +971
Function From To Bytes
iSndCalcVol(xSndVoiceInfo*, vinfo*) 0.00% 100.00% +148
📈 iSndPlay(xSndVoiceInfo*) 0.00% 97.92% +188
iSndDIEDIEDIE() 0.00% 100.00% +200
iSndSuspend() 0.00% 100.00% +148
iSndResume() 0.00% 100.00% +176
iSndGetVol(unsigned int) 0.00% 100.00% +112

@escape209
escape209 marked this pull request as draft August 1, 2026 14:36
@github-actions

github-actions Bot commented Aug 2, 2026

Copy link
Copy Markdown

main/SB/Core/gc/iSnd

Section From To Bytes
📈 .sdata2 18.18% 26.09% +6
📈 .text 32.50% 42.18% +1375
Function From To Bytes
iSndCalcVol(xSndVoiceInfo*, vinfo*) 0.00% 100.00% +148
iSndPlay(xSndVoiceInfo*) 0.00% 100.00% +192
iSndSetVol(unsigned int, float) 0.00% 100.00% +400
iSndDIEDIEDIE() 0.00% 100.00% +200
iSndSuspend() 0.00% 100.00% +148
iSndResume() 0.00% 100.00% +176
iSndGetVol(unsigned int) 0.00% 100.00% +112

@github-actions

github-actions Bot commented Aug 2, 2026

Copy link
Copy Markdown

main/SB/Core/gc/iSnd

Section From To Bytes
📈 .sdata2 18.18% 26.09% +6
📈 .text 32.50% 40.77% +1176
Function From To Bytes
iSndCalcVol(xSndVoiceInfo*, vinfo*) 0.00% 100.00% +148
iSndPlay(xSndVoiceInfo*) 0.00% 100.00% +192
iSndSetVol(unsigned int, float) 0.00% 100.00% +400
iSndSuspend() 0.00% 100.00% +148
iSndResume() 0.00% 100.00% +176
iSndGetVol(unsigned int) 0.00% 100.00% +112

@escape209
escape209 marked this pull request as ready for review August 2, 2026 12:10
Comment thread src/SB/Core/gc/iSnd.cpp Outdated
Comment thread src/SB/Core/gc/iSnd.cpp
Comment on lines +870 to +871
/* Matching
void iSndDIEDIEDIE()

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this commented?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gonna be real I just want the 69.67% bot message in the discord 😭
Part 2 PR coming up

@github-actions

github-actions Bot commented Aug 2, 2026

Copy link
Copy Markdown

main/SB/Core/gc/iSnd

Section From To Bytes
📈 .sdata2 18.18% 26.09% +6
📈 .text 32.50% 40.77% +1176
Function From To Bytes
iSndCalcVol(xSndVoiceInfo*, vinfo*) 0.00% 100.00% +148
iSndPlay(xSndVoiceInfo*) 0.00% 100.00% +192
iSndSetVol(unsigned int, float) 0.00% 100.00% +400
iSndSuspend() 0.00% 100.00% +148
iSndResume() 0.00% 100.00% +176
iSndGetVol(unsigned int) 0.00% 100.00% +112

@SquareMan
SquareMan merged commit 9ae977b into bfbbdecomp:main Aug 3, 2026
5 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