{"type": "func", "start": 6873816, "end": 6873932, "name": "EditorUI::showLiveColorSelectForMode", "pseudocode": "// \n// EditorUI::showLiveColorSelectForMode from 0x68e2d8 to 0x68e34c (116 bytes)\n// \n// 4 xrefs:\n// > EditorUI::showLiveColorSelectForModeSpecial @ 0x68e384\n// > EditorUI::showLiveColorSelectForModeSpecial @ 0x68e3f4\n// > LevelSettingsLayer::onLiveEdit @ 0xa344dc\n// > <???> @ 0xa3068\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 *v3; // x0\n  ColorAction *ColorAction; // x0\n  ColorSelectLiveOverlay *v5; // x0\n\n  EditorUI::closeLiveColorSelect(a1);\n  EditorUI::closeLiveHSVSelect(a1);\n  v3 = GameManager::sharedState();\n  ColorAction = GJEffectManager::getColorAction(v3->m_levelEditorLayer->m_levelSettings->m_effectManager, a2);\n  v5 = ColorSelectLiveOverlay::createWithActions(ColorAction, nullptr);\n  a1->m_colorOverlay = v5;\n  v5->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 0x68e2d8 to 0x68e34c (116 bytes)\n; \n; 4 xrefs:\n; > EditorUI::showLiveColorSelectForModeSpecial @ 0x68e384\n; > EditorUI::showLiveColorSelectForModeSpecial @ 0x68e3f4\n; > LevelSettingsLayer::onLiveEdit @ 0xa344dc\n; > <???> @ 0xa3068\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\nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0x68e2d8\nMOV             X29, SP                                                ; +0x4, 0x68e2dc\nSTR             X19, [SP,#0x30+var_20]                                 ; +0x8, 0x68e2e0\nMOV             X19, X0                                                ; +0xc, 0x68e2e4\nSTR             X1, [X29,#0x30+var_8]                                  ; +0x10, 0x68e2e8\nBL              _ZN8EditorUI20closeLiveColorSelectEv; EditorUI::closeLiveColorSelect(void) ; +0x14, 0x68e2ec\nMOV             X0, X19; this                                          ; +0x18, 0x68e2f0\nBL              _ZN8EditorUI18closeLiveHSVSelectEv; EditorUI::closeLiveHSVSelect(void) ; +0x1c, 0x68e2f4\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x20, 0x68e2f8\nLDR             X0, [X0,#0x1E0]                                        ; +0x24, 0x68e2fc\nLDR             X1, [X29,#0x30+var_8]; int                             ; +0x28, 0x68e300\nLDR             X0, [X0,#0xE08]                                        ; +0x2c, 0x68e304\nLDR             X0, [X0,#0x140]; this                                  ; +0x30, 0x68e308\nBL              _ZN15GJEffectManager14getColorActionEi; GJEffectManager::getColorAction(int) ; +0x34, 0x68e30c\nMOV             X1, #0; ColorAction *                                  ; +0x38, 0x68e310\nBL              _ZN22ColorSelectLiveOverlay17createWithActionsEP11ColorActionS1_; ColorSelectLiveOverlay::createWithActions(ColorAction *,ColorAction *) ; +0x3c, 0x68e314\nSTR             X0, [X19,#0x558]                                       ; +0x40, 0x68e318\nADD             X1, X19, #0x1A0                                        ; +0x44, 0x68e31c\nSTR             X1, [X0,#0x2C0]                                        ; +0x48, 0x68e320\nLDR             X0, [X19,#0x558]                                       ; +0x4c, 0x68e324\nSTR             X19, [X0,#0x230]                                       ; +0x50, 0x68e328\nLDR             X1, [X19,#0x558]                                       ; +0x54, 0x68e32c\nMOV             X0, X1                                                 ; +0x58, 0x68e330\nLDR             X1, [X1]                                               ; +0x5c, 0x68e334\nLDR             X1, [X1,#0x508]                                        ; +0x60, 0x68e338\nBLR             X1                                                     ; +0x64, 0x68e33c\nLDR             X19, [SP,#0x30+var_20]                                 ; +0x68, 0x68e340\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x6c, 0x68e344\nRET                                                                    ; +0x70, 0x68e348", "xrefs": ["EditorUI::showLiveColorSelectForModeSpecial @ 0x68e384", "EditorUI::showLiveColorSelectForModeSpecial @ 0x68e3f4", "LevelSettingsLayer::onLiveEdit @ 0xa344dc", "<???> @ 0xa3068"], "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"}