//
// LevelSettingsLayer::onShowPicker from 0x140321970 to 0x1403219d8 (104 bytes)
//
// 7 xrefs:
// > LevelSettingsLayer::init @ 0x14031efa1
// > LevelSettingsLayer::init @ 0x14031f012
// > LevelSettingsLayer::init @ 0x14031f083
// > LevelSettingsLayer::init @ 0x14031f0f4
// > LevelSettingsLayer::init @ 0x14031f165
// > LevelSettingsLayer::init @ 0x14031f1d6
// > ??> @ 0x1406d4c64
//
// 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 LevelSettingsLayer::onShowPicker(LevelSettingsLayer *a1, cocos2d::CCObject *a2)
{
GJEffectManager *m_effectManager; // rbx
int v4; // eax
ColorAction *ColorAction; // rax
ColorSelectPopup *v6; // rax
ColorSelectDelegate *v7; // rcx
ColorSelectPopup_vtbl *v8; // rdx
m_effectManager = a1->m_settingsObject->m_effectManager;
v4 = a2->getTag(a2);
ColorAction = GJEffectManager::getColorAction(m_effectManager, v4);
v6 = ColorSelectPopup::create(nullptr, nullptr, ColorAction);
v7 = &a1->ColorSelectDelegate;
if ( !a1 )
v7 = nullptr;
v8 = v6->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v6->m_delegate = v7;
v8->show(v6);
}