{"type": "func", "start": 3672236, "end": 3672316, "name": "EditorUI::showLiveColorSelectForMode", "pseudocode": "// \n// EditorUI::showLiveColorSelectForMode from 0x3808ac to 0x3808fc (80 bytes)\n// \n// 2 xrefs:\n// > EditorUI::showLiveColorSelectForModeSpecial @ 0x380948\n// > LevelSettingsLayer::onLiveEdit @ 0x56f8ee\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid EditorUI::showLiveColorSelectForMode(EditorUI *a1, int a2)\n{\n  GameManager *v4; // r0\n  ColorAction *ColorAction; // r0\n  ColorSelectLiveOverlay *v6; // r0\n\n  EditorUI::closeLiveColorSelect(a1);\n  EditorUI::closeLiveHSVSelect(a1);\n  v4 = GameManager::sharedState();\n  ColorAction = GJEffectManager::getColorAction(v4->m_levelEditorLayer->m_levelSettings->m_effectManager, a2);\n  v6 = ColorSelectLiveOverlay::createWithActions(ColorAction, nullptr);\n  a1->m_colorOverlay = v6;\n  v6->m_delegate = &a1->ColorSelectDelegate;\n  a1->m_colorOverlay->m_scene = a1;\n  a1->m_colorOverlay->show(a1->m_colorOverlay);\n}", "assembly": "; \n; EditorUI::showLiveColorSelectForMode from 0x3808ac to 0x3808fc (80 bytes)\n; \n; 2 xrefs:\n; > EditorUI::showLiveColorSelectForModeSpecial @ 0x380948\n; > LevelSettingsLayer::onLiveEdit @ 0x56f8ee\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nPUSH            {R4-R6,LR}                                             ; +0x0, 0x3808ac\nMOV             R4, R0                                                 ; +0x2, 0x3808ae\nMOV             R5, R1                                                 ; +0x4, 0x3808b0\nBL              _ZN8EditorUI20closeLiveColorSelectEv; EditorUI::closeLiveColorSelect(void) ; +0x6, 0x3808b2\nMOV             R0, R4; this                                           ; +0xa, 0x3808b6\nBL              _ZN8EditorUI18closeLiveHSVSelectEv; EditorUI::closeLiveHSVSelect(void) ; +0xc, 0x3808b8\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x10, 0x3808bc\nMOV             R1, R5; int                                            ; +0x14, 0x3808c0\nLDR.W           R3, [R0,#0x170]                                        ; +0x16, 0x3808c2\nLDR.W           R3, [R3,#0x8C0]                                        ; +0x1a, 0x3808c6\nLDR.W           R0, [R3,#0x108]; this                                  ; +0x1e, 0x3808ca\nBL              _ZN15GJEffectManager14getColorActionEi; GJEffectManager::getColorAction(int) ; +0x22, 0x3808ce\nMOVS            R1, #0; ColorAction *                                  ; +0x26, 0x3808d2\nBL              _ZN22ColorSelectLiveOverlay17createWithActionsEP11ColorActionS1_; ColorSelectLiveOverlay::createWithActions(ColorAction *,ColorAction *) ; +0x28, 0x3808d4\nADD.W           R3, R4, #0x140                                         ; +0x2c, 0x3808d8\nSTR.W           R0, [R4,#0x38C]                                        ; +0x30, 0x3808dc\nSTR.W           R3, [R0,#0x220]                                        ; +0x34, 0x3808e0\nLDR.W           R3, [R4,#0x38C]                                        ; +0x38, 0x3808e4\nSTR.W           R4, [R3,#0x1C0]                                        ; +0x3c, 0x3808e8\nLDR.W           R0, [R4,#0x38C]                                        ; +0x40, 0x3808ec\nPOP.W           {R4-R6,LR}                                             ; +0x44, 0x3808f0\nLDR             R3, [R0]                                               ; +0x48, 0x3808f4\nLDR.W           R3, [R3,#0x284]                                        ; +0x4a, 0x3808f6\nBX              R3                                                     ; +0x4e, 0x3808fa", "xrefs": ["EditorUI::showLiveColorSelectForModeSpecial @ 0x380948", "LevelSettingsLayer::onLiveEdit @ 0x56f8ee"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}