//
// SetupArtSwitchPopup::onArt from 0xa43f08 to 0xa43f54 (76 bytes)
//
// 3 xrefs:
// > ??> @ 0x50f70
// > SetupArtSwitchPopup::init @ 0xa519ec
// > ??> @ 0x122a9b0
//
// 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)
{
SelectArtDelegate *v2; // x19
float v3; // s0
SelectArtLayer *v4; // x0
SelectArtLayer_vtbl *v5; // x2
v2 = &a1->SelectArtDelegate;
v3 = a1->getValue(a1, 533);
v4 = SelectArtLayer::create((SelectArtType)LODWORD(v2[1].__vftable), (int)v3);
v5 = v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v4->m_delegate = v2;
((void (*)(void))v5->show)();
}