// // CustomizeObjectLayer::onEditColor from 0x10004fbf8 to 0x10004fc4c (84 bytes) // // 1 xrefs: // > CustomizeObjectLayer::init @ 0x10004e638 // // 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; // w20 GameManager *v4; // x0 ColorAction *ColorAction; // x0 ColorSelectPopup *v6; // x0 ActiveMode = CustomizeObjectLayer::getActiveMode(a1, 1); v4 = GameManager::sharedState(); ColorAction = GJEffectManager::getColorAction(v4->m_levelEditorLayer->m_levelSettings->m_effectManager, ActiveMode); v6 = ColorSelectPopup::create_3(ColorAction); v6->m_delegate = &a1->ColorSelectDelegate; ((void (__fastcall *)(ColorSelectPopup *))v6->show)(v6); }