{"type": "func", "start": 4297674544, "end": 4297674647, "name": "EditorPauseLayer::keyBackClicked", "pseudocode": "// \n// EditorPauseLayer::keyBackClicked from 0x100294f30 to 0x100294f97 (103 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1008f74a0\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 __fastcall EditorPauseLayer::keyBackClicked(EditorPauseLayer *a1)\n{\n  EditorUI *m_editorUI; // rdi\n\n  if ( !a1->m_saved )\n  {\n    CCBlockLayer::decrementForcePrio(a1);\n    LevelEditorLayer::updateOptions(a1->m_editorLayer);\n    EditorUI::toggleLockUI(a1->m_editorLayer->m_editorUI, 0);\n    ((void (__fastcall *)(EditorPauseLayer *))a1->removeMeAndCleanup)(a1);\n    m_editorUI = a1->m_editorLayer->m_editorUI;\n    if ( m_editorUI->m_reloadItems )\n      EditorUI::recreateButtonTabs(m_editorUI);\n  }\n}", "assembly": "; \n; EditorPauseLayer::keyBackClicked from 0x100294f30 to 0x100294f97 (103 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1008f74a0\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\ncmp     byte ptr [rdi+230h], 0                                         ; +0x0, 0x100294f30\njnz     short locret_100294F96                                         ; +0x7, 0x100294f37\npush    rbp                                                            ; +0x9, 0x100294f39\nmov     rbp, rsp                                                       ; +0xa, 0x100294f3a\npush    rbx                                                            ; +0xd, 0x100294f3d\npush    rax                                                            ; +0xe, 0x100294f3e\nmov     rbx, rdi                                                       ; +0xf, 0x100294f3f\ncall    CCBlockLayer__decrementForcePrio                               ; +0x12, 0x100294f42\nmov     rdi, [rbx+248h]                                                ; +0x17, 0x100294f47\ncall    LevelEditorLayer__updateOptions                                ; +0x1e, 0x100294f4e\nmov     rax, [rbx+248h]                                                ; +0x23, 0x100294f53\nmov     rdi, [rax+3670h]                                               ; +0x2a, 0x100294f5a\nxor     esi, esi                                                       ; +0x31, 0x100294f61\ncall    EditorUI__toggleLockUI                                         ; +0x33, 0x100294f63\nmov     rax, [rbx]                                                     ; +0x38, 0x100294f68\nmov     rdi, rbx                                                       ; +0x3b, 0x100294f6b\ncall    qword ptr [rax+208h]                                           ; +0x3e, 0x100294f6e\nmov     rax, [rbx+248h]                                                ; +0x44, 0x100294f74\nmov     rdi, [rax+3670h]                                               ; +0x4b, 0x100294f7b\ncmp     byte ptr [rdi+589h], 1                                         ; +0x52, 0x100294f82\nlea     rsp, [rsp+8]                                                   ; +0x59, 0x100294f89\npop     rbx                                                            ; +0x5e, 0x100294f8e\npop     rbp                                                            ; +0x5f, 0x100294f8f\njz      EditorUI__recreateButtonTabs                                   ; +0x60, 0x100294f90\nretn                                                                   ; +0x66, 0x100294f96", "xrefs": ["<???> @ 0x1008f74a0"], "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"}