From 94783060d2397b6a4b99a6bc4c2cb7133e80dbcc Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Wed, 28 Oct 2026 22:18:52 +0000 Subject: [PATCH] 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 --- Source/Contents/CashEmotionMgr.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Contents/CashEmotionMgr.cpp b/Source/Contents/CashEmotionMgr.cpp index f5ef267e..3e0ae4e8 100644 --- a/Source/Contents/CashEmotionMgr.cpp +++ b/Source/Contents/CashEmotionMgr.cpp @@ -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) {