{"type": "func", "start": 4758972, "end": 4759018, "name": "EditorUI::onHideUIBtn", "pseudocode": "// \n// EditorUI::onHideUIBtn from 0x489dbc to 0x489dea (46 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\nint __fastcall EditorUI::onHideUIBtn(int this, cocos2d::CCObject *a2)\n{\n  int v2; // r1\n  EditorSFXManager *v3; // r0\n  EditorSFXManager *v4; // r0\n\n  if ( !*(_BYTE *)(this + 1052) )\n  {\n    v2 = *(unsigned __int8 *)(this + 1053);\n    if ( !*(_BYTE *)(this + 1053) )\n    {\n      *(_BYTE *)(this + 1053) = 1;\n      *(_BYTE *)(this + 1054) = 1;\n      v3 = (EditorSFXManager *)EditorUI::showUI((cocos2d::CCArray **)this, v2);\n      v4 = (EditorSFXManager *)EditorSFXManager::sharedState(v3);\n      return EditorSFXManager::playAction(v4, 194, 189);\n    }\n  }\n  return this;\n}", "assembly": "; \n; EditorUI::onHideUIBtn from 0x489dbc to 0x489dea (46 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,LR}                                                ; +0x0, 0x489dbc\nLDRB.W          R2, [R0,#0x41C]                                        ; +0x2, 0x489dbe\nCBNZ            R2, locret_489DE8                                      ; +0x6, 0x489dc2\nLDRB.W          R1, [R0,#0x41D]; bool                                  ; +0x8, 0x489dc4\nCBNZ            R1, locret_489DE8                                      ; +0xc, 0x489dc8\nMOVS            R2, #1                                                 ; +0xe, 0x489dca\nSTRB.W          R2, [R0,#0x41D]                                        ; +0x10, 0x489dcc\nSTRB.W          R2, [R0,#0x41E]                                        ; +0x14, 0x489dd0\nBL              _ZN8EditorUI6showUIEb; EditorUI::showUI(bool)          ; +0x18, 0x489dd4\nBL              _ZN16EditorSFXManager11sharedStateEv; EditorSFXManager::sharedState(void) ; +0x1c, 0x489dd8\nMOVS            R1, #0xC2; int                                         ; +0x20, 0x489ddc\nMOVS            R2, #0xBD; int                                         ; +0x22, 0x489dde\nPOP.W           {R3,LR}                                                ; +0x24, 0x489de0\nB.W             _ZN16EditorSFXManager10playActionEii; EditorSFXManager::playAction(int,int) ; +0x28, 0x489de4\nPOP             {R3,PC}                                                ; +0x2c, 0x489de8", "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"}