// // EditorUI::editColor from 0x3807e8 to 0x3808a8 (192 bytes) // // 2 xrefs: // > EditorUI::onEditColor @ 0x3809e8 // > EditorUI::checkLiveColorSelect @ 0x380a08 // // 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 EditorUI::editColor(EditorUI *a1) { EffectGameObject *v2; // r0 ColorSelectLiveOverlay *v3; // r0 GameObject *m_selectedObject; // r5 GameObject *v5; // r0 ColorAction *v6; // [sp+0h] [bp-10h] BYREF ColorAction *v7; // [sp+4h] [bp-Ch] BYREF EffectGameObject *v8; // [sp+8h] [bp-8h] BYREF v6 = nullptr; v7 = nullptr; v8 = nullptr; EditorUI::getEditColorTargets(a1, &v6, &v7, &v8); if ( v6 || v7 || v8 ) { EditorUI::closeLiveColorSelect(a1); EditorUI::closeLiveHSVSelect(a1); v2 = v8; a1->m_colorOverlay = nullptr; v3 = v2 ? ColorSelectLiveOverlay::createWithObject(v2) : ColorSelectLiveOverlay::createWithActions(v6, v7); a1->m_colorOverlay = v3; a1->m_colorOverlay->m_delegate = &a1->ColorSelectDelegate; a1->m_colorOverlay->m_scene = a1; a1->m_colorOverlay->show(a1->m_colorOverlay); if ( !v8 ) { m_selectedObject = a1->m_selectedObject; if ( m_selectedObject ) { GameObject::deselectObject(a1->m_selectedObject); } else if ( cocos2d::CCArray::count(a1->m_selectedObjects) ) { while ( (unsigned int)m_selectedObject < cocos2d::CCArray::count(a1->m_selectedObjects) ) { v5 = (GameObject *)cocos2d::CCArray::objectAtIndex(a1->m_selectedObjects, (unsigned int)m_selectedObject); m_selectedObject = (GameObject *)((char *)m_selectedObject + 1); GameObject::deselectObject(v5); } } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source