{"type": "func", "start": 8185368, "end": 8185480, "name": "EditorUI::onShowUIBtn", "pseudocode": "// \n// EditorUI::onShowUIBtn from 0x7ce618 to 0x7ce688 (112 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0xd1668\n// > EditorUI::init @ 0x7d10e8\n// > <???> @ 0x1546310\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:54:13 +0000\n// \n\nEditorUI *__fastcall EditorUI::onShowUIBtn(EditorUI *this, cocos2d::CCObject *a2)\n{\n  EditorUI *v2; // x19\n  EditorSFXManager *v3; // x0\n  EditorSFXManager *v4; // x0\n\n  v2 = this;\n  if ( !*((_BYTE *)this + 1588) )\n  {\n    *((_BYTE *)this + 1589) = 0;\n    *((_BYTE *)this + 1590) = 0;\n    EditorUI::updateDeleteMenu(this);\n    EditorUI::updateCreateMenu(v2, 0);\n    EditorUI::updateEditMenu(v2);\n    EditorUI::updateViewMenu(v2);\n    v3 = (EditorSFXManager *)EditorUI::showUI((cocos2d::CCArray **)v2, 1u);\n    v4 = (EditorSFXManager *)EditorSFXManager::sharedState(v3);\n    return (EditorUI *)EditorSFXManager::playAction(v4, 194, 189);\n  }\n  return this;\n}", "assembly": "; \n; EditorUI::onShowUIBtn from 0x7ce618 to 0x7ce688 (112 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0xd1668\n; > EditorUI::init @ 0x7d10e8\n; > <???> @ 0x1546310\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:54:13 +0000\n; \nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0x7ce618\nMOV             X29, SP                                                ; +0x4, 0x7ce61c\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0x7ce620\nMOV             X19, X0                                                ; +0xc, 0x7ce624\nLDRB            W1, [X0,#0x634]                                        ; +0x10, 0x7ce628\nCBZ             W1, loc_7CE63C                                         ; +0x14, 0x7ce62c\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x18, 0x7ce630\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x1c, 0x7ce634\nRET                                                                    ; +0x20, 0x7ce638\nSTRB            WZR, [X0,#0x635]                                       ; +0x24, 0x7ce63c\nSTRB            WZR, [X0,#0x636]                                       ; +0x28, 0x7ce640\nBL              _ZN8EditorUI16updateDeleteMenuEv; EditorUI::updateDeleteMenu(void) ; +0x2c, 0x7ce644\nMOV             W1, #0; bool                                           ; +0x30, 0x7ce648\nMOV             X0, X19; this                                          ; +0x34, 0x7ce64c\nBL              _ZN8EditorUI16updateCreateMenuEb; EditorUI::updateCreateMenu(bool) ; +0x38, 0x7ce650\nMOV             X0, X19; this                                          ; +0x3c, 0x7ce654\nBL              _ZN8EditorUI14updateEditMenuEv; EditorUI::updateEditMenu(void) ; +0x40, 0x7ce658\nMOV             X0, X19; this                                          ; +0x44, 0x7ce65c\nBL              _ZN8EditorUI14updateViewMenuEv; EditorUI::updateViewMenu(void) ; +0x48, 0x7ce660\nMOV             X0, X19; this                                          ; +0x4c, 0x7ce664\nMOV             W1, #1; bool                                           ; +0x50, 0x7ce668\nBL              _ZN8EditorUI6showUIEb; EditorUI::showUI(bool)          ; +0x54, 0x7ce66c\nBL              _ZN16EditorSFXManager11sharedStateEv; EditorSFXManager::sharedState(void) ; +0x58, 0x7ce670\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x5c, 0x7ce674\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x60, 0x7ce678\nMOV             W1, #0xC2; int                                         ; +0x64, 0x7ce67c\nMOV             W2, #0xBD; int                                         ; +0x68, 0x7ce680\nB               _ZN16EditorSFXManager10playActionEii; EditorSFXManager::playAction(int,int) ; +0x6c, 0x7ce684", "xrefs": ["<???> @ 0xd1668", "EditorUI::init @ 0x7d10e8", "<???> @ 0x1546310"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}