// // GJColorSetupLayer::onColor from 0x10020bc70 to 0x10020bd26 (182 bytes) // // 1 xrefs: // > GJColorSetupLayer::init @ 0x10020b8b9 // // 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 v3; // r14d int v4; // eax ColorSetupDelegate *m_delegate; // rdi ColorAction *ColorAction; // rax ColorSelectPopup *v7; // rax v3 = a1->m_page * a1->m_colorsPerPage; v4 = v3 + ((__int64 (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2); if ( a1->m_closeOnSelect ) { a1->m_colorID = v4; m_delegate = a1->m_delegate; if ( m_delegate ) { if ( v4 > 0 ) ((void (__fastcall *)(ColorSetupDelegate *, _QWORD))m_delegate->colorSetupClosed)(m_delegate, (unsigned int)v4); } ((void (__fastcall *)(GJColorSetupLayer *, _QWORD))a1->setKeypadEnabled)(a1, 0); ((void (__fastcall *)(GJColorSetupLayer *, __int64))a1->removeFromParentAndCleanup)(a1, 1); } else { ColorAction = GJEffectManager::getColorAction(a1->m_settingsObject->m_effectManager, v4); 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