//
// SetupArtSwitchPopup::onArt from 0x1404723f0 to 0x14047243f (79 bytes)
//
// 2 xrefs:
// > SetupArtSwitchPopup::init @ 0x1404722cf
// > ??> @ 0x1406db33c
//
// 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::onArt(SetupArtSwitchPopup *a1, cocos2d::CCObject *a2)
{
float v3; // xmm0_4
SelectArtLayer *v4; // rax
SelectArtDelegate *v5; // rdx
v3 = a1->getValue(a1, 533);
v4 = SelectArtLayer::create(a1->m_artType, (int)v3);
v5 = &a1->SelectArtDelegate;
if ( !a1 )
v5 = nullptr;
v4->m_delegate = v5;
v4->show(v4);
}