{"type": "func", "start": 4759018, "end": 4759086, "name": "EditorUI::onShowUIBtn", "pseudocode": "// \n// EditorUI::onShowUIBtn from 0x489dea to 0x489e2e (68 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:49:28 +0000\n// \n\nunsigned __int8 *__fastcall EditorUI::onShowUIBtn(unsigned __int8 *this, cocos2d::CCObject *a2)\n{\n  EditorUI *v2; // r4\n  int v3; // r5\n  EditorSFXManager *v4; // r0\n  EditorSFXManager *v5; // r0\n\n  v2 = (EditorUI *)this;\n  v3 = *(this + 1052);\n  if ( !*(this + 1052) )\n  {\n    *(this + 1053) = v3;\n    *(this + 1054) = v3;\n    EditorUI::updateDeleteMenu((EditorUI *)this);\n    EditorUI::updateCreateMenu(v2, v3);\n    EditorUI::updateEditMenu(v2);\n    EditorUI::updateViewMenu(v2);\n    v4 = (EditorSFXManager *)EditorUI::showUI((cocos2d::CCArray **)v2, 1);\n    v5 = (EditorSFXManager *)EditorSFXManager::sharedState(v4);\n    return (unsigned __int8 *)EditorSFXManager::playAction(v5, 194, 189);\n  }\n  return this;\n}", "assembly": "; \n; EditorUI::onShowUIBtn from 0x489dea to 0x489e2e (68 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:49:28 +0000\n; \nPUSH            {R3-R5,LR}                                             ; +0x0, 0x489dea\nMOV             R4, R0                                                 ; +0x2, 0x489dec\nLDRB.W          R5, [R0,#0x41C]                                        ; +0x4, 0x489dee\nCBNZ            R5, locret_489E2C                                      ; +0x8, 0x489df2\nSTRB.W          R5, [R0,#0x41D]                                        ; +0xa, 0x489df4\nSTRB.W          R5, [R0,#0x41E]                                        ; +0xe, 0x489df8\nBL              _ZN8EditorUI16updateDeleteMenuEv; EditorUI::updateDeleteMenu(void) ; +0x12, 0x489dfc\nMOV             R1, R5; bool                                           ; +0x16, 0x489e00\nMOV             R0, R4; this                                           ; +0x18, 0x489e02\nBL              _ZN8EditorUI16updateCreateMenuEb; EditorUI::updateCreateMenu(bool) ; +0x1a, 0x489e04\nMOV             R0, R4; this                                           ; +0x1e, 0x489e08\nBL              _ZN8EditorUI14updateEditMenuEv; EditorUI::updateEditMenu(void) ; +0x20, 0x489e0a\nMOV             R0, R4; this                                           ; +0x24, 0x489e0e\nBL              _ZN8EditorUI14updateViewMenuEv; EditorUI::updateViewMenu(void) ; +0x26, 0x489e10\nMOV             R0, R4; this                                           ; +0x2a, 0x489e14\nMOVS            R1, #1; bool                                           ; +0x2c, 0x489e16\nBL              _ZN8EditorUI6showUIEb; EditorUI::showUI(bool)          ; +0x2e, 0x489e18\nBL              _ZN16EditorSFXManager11sharedStateEv; EditorSFXManager::sharedState(void) ; +0x32, 0x489e1c\nMOVS            R1, #0xC2; int                                         ; +0x36, 0x489e20\nMOVS            R2, #0xBD; int                                         ; +0x38, 0x489e22\nPOP.W           {R3-R5,LR}                                             ; +0x3a, 0x489e24\nB.W             _ZN16EditorSFXManager10playActionEii; EditorSFXManager::playAction(int,int) ; +0x3e, 0x489e28\nPOP             {R3-R5,PC}                                             ; +0x42, 0x489e2c", "xrefs": [], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}