// // GJColorSetupLayer::onColor from 0x497f9e to 0x497ff6 (88 bytes) // // 0 xrefs: // // 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 GJColorSetupLayer::onColor(GJColorSetupLayer *a1, cocos2d::CCObject *a2) { int v3; // r5 int v4; // r1 ColorSelectPopup *ColorAction; // r0 ColorAction *v6; // r1 int v7; // r2 ColorAction *v8; // r3 ColorSelectPopup *v9; // r0 ColorSelectPopup_vtbl *v10; // r3 v3 = a1->m_page * a1->m_colorsPerPage; v4 = a2->getTag(a2) + v3; if ( a1->m_closeOnSelect ) { a1->m_colorID = v4; GJColorSetupLayer::onClose(a1, nullptr); } else { ColorAction = (ColorSelectPopup *)GJEffectManager::getColorAction(a1->m_settingsObject->m_effectManager, v4); v9 = ColorSelectPopup::create(ColorAction, v6, v7, v8); v10 = v9->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v9->m_delegate = &a1->ColorSelectDelegate; v9->m_ZOrder = 106; ((void (*)(void))v10->show)(); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source