//
// SetupArtSwitchPopup::onArt from 0x100585ed0 to 0x100585f16 (70 bytes)
//
// 1 xrefs:
// > SetupArtSwitchPopup::init @ 0x100585c4c
//
// 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 __fastcall SetupArtSwitchPopup::onArt(SetupArtSwitchPopup *a1, cocos2d::CCObject *a2)
{
float v2; // xmm0_4
SelectArtLayer *v3; // rax
v2 = ((float (__fastcall *)(SetupArtSwitchPopup *, __int64))a1->getValue)(a1, 533);
v3 = SelectArtLayer::create(a1->m_artType, (int)v2);
v3->m_delegate = &a1->SelectArtDelegate;
((void (__fastcall *)(SelectArtLayer *))v3->show)(v3);
}