//
// CustomizeObjectLayer::onEditColor from 0x1001f7ca0 to 0x1001f7cff (95 bytes)
//
// 1 xrefs:
// > CustomizeObjectLayer::init @ 0x1001f6376
//
// 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 CustomizeObjectLayer::onEditColor(CustomizeObjectLayer *a1, cocos2d::CCObject *a2)
{
int ActiveMode; // r14d
GameManager *v3; // rax
ColorAction *ColorAction; // rax
ColorSelectPopup *v5; // rax
ActiveMode = CustomizeObjectLayer::getActiveMode(a1, 1);
v3 = GameManager::sharedState();
ColorAction = GJEffectManager::getColorAction(v3->m_levelEditorLayer->m_levelSettings->m_effectManager, ActiveMode);
v5 = ColorSelectPopup::create_3(ColorAction);
v5->m_delegate = &a1->ColorSelectDelegate;
((void (__fastcall *)(ColorSelectPopup *))v5->show)(v5);
}