//
// SetupArtSwitchPopup::selectArtClosed from 0x57ddfc to 0x57de72 (118 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'SetupArtSwitchPopup::selectArtClosed @ 0x57de7c
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void SetupArtSwitchPopup::selectArtClosed(SetupArtSwitchPopup *a1, SelectArtLayer *a2)
{
const char *m_art; // r8
cocos2d::CCSprite *m_artSprite; // r6
void (__fastcall *setDisplayFrame)(cocos2d::CCSprite *__hidden, cocos2d::CCSpriteFrame *); // r9
cocos2d::CCSpriteFrameCache *v6; // r10
cocos2d::CCSpriteFrame *v7; // r0
char *v8[2]; // [sp+0h] [bp-8h] BYREF
v8[0] = (char *)a1;
v8[1] = (char *)a2;
m_art = (const char *)a2->m_art;
SetupTriggerPopup::updateValue(a1, 533, (float)(int)m_art);
m_artSprite = a1->m_artSprite;
setDisplayFrame = m_artSprite->setDisplayFrame;
v6 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
artIconForKey((int)v8, m_art, a1->m_artType);
v7 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v6, v8[0]);
setDisplayFrame(m_artSprite, v7);
sub_774008(v8);
}