// // GJColorSetupLayer::onColor from 0x10018e2c0 to 0x10018e34c (140 bytes) // // 1 xrefs: // > GJColorSetupLayer::init @ 0x10018deac // // 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 GJColorSetupLayer::onColor(GJColorSetupLayer *a1, cocos2d::CCObject *a2) { int m_page; // w20 int m_colorsPerPage; // w21 cocos2d::CCObject *v5; // x1 ColorAction *ColorAction; // x0 ColorSelectPopup *v7; // x0 m_page = a1->m_page; m_colorsPerPage = a1->m_colorsPerPage; v5 = (cocos2d::CCObject *)(((unsigned int (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2) + m_colorsPerPage * m_page); if ( a1->m_closeOnSelect ) { a1->m_colorID = (int)v5; GJColorSetupLayer::onClose(a1, v5); } else { ColorAction = GJEffectManager::getColorAction(a1->m_settingsObject->m_effectManager, (int)v5); v7 = ColorSelectPopup::create_3(ColorAction); v7->m_delegate = &a1->ColorSelectDelegate; v7->m_ZOrder = 106; ((void (__fastcall *)(ColorSelectPopup *))v7->show)(v7); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source