{"type": "func", "start": 4297586048, "end": 4297586172, "name": "EditorPauseLayer::keyBackClicked", "pseudocode": "// \n// EditorPauseLayer::keyBackClicked from 0x10027f580 to 0x10027f5fc (124 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100afde40\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 12:27:42 +0000\n// \n\n__int64 __fastcall EditorPauseLayer::keyBackClicked(__int64 a1)\n{\n  __int64 v1; // rax\n  __int64 v2; // rdx\n  __int64 result; // rax\n\n  if ( !*(_BYTE *)(a1 + 568) )\n  {\n    v1 = EditorSFXManager::sharedState(a1);\n    EditorSFXManager::playAction_1(v1, 223);\n    CCBlockLayer::decrementForcePrio(a1);\n    LevelEditorLayer::updateOptions(*(_QWORD *)(a1 + 576), 223, v2);\n    EditorUI::toggleLockUI(*(_QWORD *)(*(_QWORD *)(a1 + 576) + 14248LL), 0);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)a1 + 536LL))(a1);\n    result = *(_QWORD *)(a1 + 576);\n    if ( *(_BYTE *)(*(_QWORD *)(result + 14248) + 1591LL) == 1 )\n      return EditorUI::recreateButtonTabs();\n  }\n  return result;\n}", "assembly": "; \n; EditorPauseLayer::keyBackClicked from 0x10027f580 to 0x10027f5fc (124 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100afde40\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 12:27:42 +0000\n; \ncmp     byte ptr [rdi+238h], 0                                         ; +0x0, 0x10027f580\njnz     short locret_10027F5FB                                         ; +0x7, 0x10027f587\npush    rbp                                                            ; +0x9, 0x10027f589\nmov     rbp, rsp                                                       ; +0xa, 0x10027f58a\npush    rbx                                                            ; +0xd, 0x10027f58d\npush    rax                                                            ; +0xe, 0x10027f58e\nmov     rbx, rdi                                                       ; +0xf, 0x10027f58f\ncall    EditorSFXManager__sharedState                                  ; +0x12, 0x10027f592\nmov     rdi, rax                                                       ; +0x17, 0x10027f597\nmov     esi, 0DFh                                                      ; +0x1a, 0x10027f59a\ncall    EditorSFXManager__playAction_1                                 ; +0x1f, 0x10027f59f\nmov     rdi, rbx                                                       ; +0x24, 0x10027f5a4\ncall    CCBlockLayer__decrementForcePrio                               ; +0x27, 0x10027f5a7\nmov     rdi, [rbx+240h]                                                ; +0x2c, 0x10027f5ac\ncall    LevelEditorLayer__updateOptions                                ; +0x33, 0x10027f5b3\nmov     rax, [rbx+240h]                                                ; +0x38, 0x10027f5b8\nmov     rdi, [rax+37A8h]                                               ; +0x3f, 0x10027f5bf\nxor     esi, esi                                                       ; +0x46, 0x10027f5c6\ncall    EditorUI__toggleLockUI                                         ; +0x48, 0x10027f5c8\nmov     rax, [rbx]                                                     ; +0x4d, 0x10027f5cd\nmov     rdi, rbx                                                       ; +0x50, 0x10027f5d0\ncall    qword ptr [rax+218h]                                           ; +0x53, 0x10027f5d3\nmov     rax, [rbx+240h]                                                ; +0x59, 0x10027f5d9\nmov     rdi, [rax+37A8h]                                               ; +0x60, 0x10027f5e0\ncmp     byte ptr [rdi+637h], 1                                         ; +0x67, 0x10027f5e7\nlea     rsp, [rsp+8]                                                   ; +0x6e, 0x10027f5ee\npop     rbx                                                            ; +0x73, 0x10027f5f3\npop     rbp                                                            ; +0x74, 0x10027f5f4\njz      EditorUI__recreateButtonTabs                                   ; +0x75, 0x10027f5f5\nretn                                                                   ; +0x7b, 0x10027f5fb", "xrefs": ["<???> @ 0x100afde40"], "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"}