Confirm 2 functions in Source/UI/StylingShop/UIStylingShopWnd.cpp

Batch #10812 by StrawberrysherbetIX: 0 byte-identical, 2 confirmed by peer review.

- fn_10315 UIStylingShopWnd::RefreshFavoriteButton: logic confirmed by peer review (already on main)
- fn_10368 UIAccessoryShowCase::SendMsg: logic confirmed by peer review (already on main)

Peer-reviewed-by: Yommy, dori, cremane
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
ragnarok-clanker 2026-11-04 22:12:58 +00:00
commit 2da367e8e8

View file

@ -588,7 +588,7 @@ void UIStylingShopWnd::RefreshFavoriteButton() {
// OFFSET: 0x00824900
// FUNCTION: fn_10316
void UIStylingshopTabParentWnd::UpdateFavoriteButton(const bool& favorite) {
__declspec(noinline) void UIStylingshopTabParentWnd::UpdateFavoriteButton(const bool& favorite) {
UIDisplayCharacter* display = this->m_display;
if (!display) {
return;
@ -812,7 +812,7 @@ void UIShowInfoWnd::ArrangeCheckBoxes(const int& layout) {
// OFFSET: 0x0082E500
// FUNCTION: fn_10378
void ToggleStylingAccessory(int itemId, int slot) {
__declspec(noinline) void ToggleStylingAccessory(int itemId, int slot) {
UIStylingShopWnd* shop = static_cast<UIStylingShopWnd*>(g_windowMgr.LookupWindow(281));
UIStylingshopTabParentWnd* tab = nullptr;
for (auto it = shop->m_tabs.begin(); it != shop->m_tabs.end(); ++it) {