Decompile fn_09481 (UICashEmotionPiece::Set)

Batch #1775 by Yommy: 0 byte-identical, 1 confirmed by peer review.

- fn_09481 UICashEmotionPiece::Set: logic confirmed by peer review

Reviewed-by: ragnarok-clanker
This commit is contained in:
ragnarok-clanker 2026-10-28 22:18:52 +00:00
commit 94783060d2

View file

@ -1033,8 +1033,8 @@ void UICashEmotionPiece::Set(int packId, int emotionId, bool showTooltip, bool h
}
if (this->m_button) {
this->m_button->SetSprite(g_cashEmotionMgr->GetSprFileName(data->sprId));
this->m_button->SetActName(g_cashEmotionMgr->GetPackName(data->actId));
this->m_button->SetSprite(g_cashEmotionMgr->GetSprFileName(data->actId));
this->m_button->SetActName(g_cashEmotionMgr->GetPackName(data->sprId));
this->m_button->unknown_00C0 = std::max(data->unknown_0024, 0);
this->m_button->unknown_00BC = std::max(data->unknown_0020, 0);
if (showTooltip) {