Skip to content

Decomp func_801E645C - #203

Merged
roengstrom merged 6 commits into
mainfrom
decomp-func_801E645C
Oct 31, 2026
Merged

roengstrom merged 6 commits into
mainfrom
decomp-func_801E645C

Conversation

@roengstrom

Copy link
Copy Markdown
Owner

No description provided.

Every read of it is a halfword.
Its caller, func_801E645C, passes the state as the first argument.
It draws the card info panel: the card picture, its elements and ranks,
or the card back.
func_80023B14 returns how many copies of a Triple Triad card the player
has, not an item quantity, so rename it and fix its docs. markItemPresent
returns modifyItemQuantity's result, which its callers already use.
It returns func_801F08D4's u8 * like its two siblings, so the callers
no longer cast it or keep it in an s32.
@decomp-dev

decomp-dev Bot commented Oct 31, 2026

Copy link
Copy Markdown

Report for SLUS_008.92 (6cba77d - e4ff1f6)

📈 Matched code: 69.57% (+0.04%, +592 bytes)

✅ 2 new matches
Unit Item Bytes Before After
ovl/menucrd/menucrd DrawCardInfoPanel +592 0.00% 100.00%
src/item GetCardCount +160 0.00% 100.00%
🥀 1 broken match
Unit Item Bytes Before After
src/item func_80023B14 -160 100.00% 0.00%

@roengstrom
roengstrom merged commit 833de91 into main Oct 31, 2026
1 check passed
@roengstrom
roengstrom deleted the decomp-func_801E645C branch October 31, 2026 20:16
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