{"type": "func", "start": 5370494112, "end": 5370494217, "name": "EditorUI::onHideUIBtn", "pseudocode": "// \n// EditorUI::onHideUIBtn from 0x1401b3ca0 to 0x1401b3d09 (105 bytes)\n// \n// 4 xrefs:\n// > EditorUI::init @ 0x1401aaab5\n// > <???> @ 0x1408a1970\n// > <???> @ 0x1408a1980\n// > <???> @ 0x14091a090\n// \n// This function is hookable on this platform (idp: pc, 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 11:27:57 +0000\n// \n\nvoid __fastcall EditorUI::onHideUIBtn(__int64 a1)\n{\n  _QWORD *v1; // rbx\n  bool hasSoundsForAction; // al\n  int v3; // edx\n\n  if ( !*(_BYTE *)(a1 + 1660) && !*(_BYTE *)(a1 + 1661) )\n  {\n    *(_WORD *)(a1 + 1661) = 257;\n    EditorUI::showUI(a1, 0);\n    v1 = (_QWORD *)EditorSFXManager::sharedState();\n    hasSoundsForAction = EditorSFXManager::hasSoundsForAction(v1, 194);\n    v3 = 194;\n    if ( !hasSoundsForAction )\n      v3 = 189;\n    EditorSFXManager::playAction((__int64)v1, v3);\n  }\n}", "assembly": "; \n; EditorUI::onHideUIBtn from 0x1401b3ca0 to 0x1401b3d09 (105 bytes)\n; \n; 4 xrefs:\n; > EditorUI::init @ 0x1401aaab5\n; > <???> @ 0x1408a1970\n; > <???> @ 0x1408a1980\n; > <???> @ 0x14091a090\n; \n; This function is hookable on this platform (idp: pc, 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 11:27:57 +0000\n; \nsub     rsp, 28h                                                       ; +0x0, 0x1401b3ca0\ncmp     byte ptr [rcx+67Ch], 0                                         ; +0x4, 0x1401b3ca4\njnz     short loc_1401B3D04                                            ; +0xb, 0x1401b3cab\ncmp     byte ptr [rcx+67Dh], 0                                         ; +0xd, 0x1401b3cad\njnz     short loc_1401B3D04                                            ; +0x14, 0x1401b3cb4\nxor     edx, edx                                                       ; +0x16, 0x1401b3cb6\nmov     [rsp+28h+var_8], rbx                                           ; +0x18, 0x1401b3cb8\nmov     word ptr [rcx+67Dh], 101h                                      ; +0x1d, 0x1401b3cbd\ncall    EditorUI__showUI                                               ; +0x26, 0x1401b3cc6\ncall    EditorSFXManager__sharedState                                  ; +0x2b, 0x1401b3ccb\nmov     edx, 0C2h                                                      ; +0x30, 0x1401b3cd0\nmov     rcx, rax                                                       ; +0x35, 0x1401b3cd5\nmov     rbx, rax                                                       ; +0x38, 0x1401b3cd8\ncall    EditorSFXManager__hasSoundsForAction                           ; +0x3b, 0x1401b3cdb\nmov     rcx, rbx                                                       ; +0x40, 0x1401b3ce0\nmov     edx, 0C2h                                                      ; +0x43, 0x1401b3ce3\ntest    al, al                                                         ; +0x48, 0x1401b3ce8\njnz     short loc_1401B3CF1                                            ; +0x4a, 0x1401b3cea\nmov     edx, 0BDh                                                      ; +0x4c, 0x1401b3cec\nmov     rbx, [rsp+28h+var_8]                                           ; +0x51, 0x1401b3cf1\nadd     rsp, 28h                                                       ; +0x56, 0x1401b3cf6\njmp     EditorSFXManager__playAction                                   ; +0x5a, 0x1401b3cfa\nmov     rbx, [rsp+28h+var_8]                                           ; +0x5f, 0x1401b3cff\nadd     rsp, 28h                                                       ; +0x64, 0x1401b3d04\nretn                                                                   ; +0x68, 0x1401b3d08", "xrefs": ["EditorUI::init @ 0x1401aaab5", "<???> @ 0x1408a1970", "<???> @ 0x1408a1980", "<???> @ 0x14091a090"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}