{"type": "func", "start": 4297668496, "end": 4297668599, "name": "EditorPauseLayer::onResume", "pseudocode": "// \n// EditorPauseLayer::onResume from 0x100293790 to 0x1002937f7 (103 bytes)\n// \n// 1 xrefs:\n// > EditorPauseLayer::customSetup @ 0x100291a7c\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::onResume(EditorPauseLayer *a1, cocos2d::CCObject *a2)\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::onResume from 0x100293790 to 0x1002937f7 (103 bytes)\n; \n; 1 xrefs:\n; > EditorPauseLayer::customSetup @ 0x100291a7c\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, 0x100293790\njnz     short locret_1002937F6                                         ; +0x7, 0x100293797\npush    rbp                                                            ; +0x9, 0x100293799\nmov     rbp, rsp                                                       ; +0xa, 0x10029379a\npush    rbx                                                            ; +0xd, 0x10029379d\npush    rax                                                            ; +0xe, 0x10029379e\nmov     rbx, rdi                                                       ; +0xf, 0x10029379f\ncall    CCBlockLayer__decrementForcePrio                               ; +0x12, 0x1002937a2\nmov     rdi, [rbx+248h]                                                ; +0x17, 0x1002937a7\ncall    LevelEditorLayer__updateOptions                                ; +0x1e, 0x1002937ae\nmov     rax, [rbx+248h]                                                ; +0x23, 0x1002937b3\nmov     rdi, [rax+3670h]                                               ; +0x2a, 0x1002937ba\nxor     esi, esi                                                       ; +0x31, 0x1002937c1\ncall    EditorUI__toggleLockUI                                         ; +0x33, 0x1002937c3\nmov     rax, [rbx]                                                     ; +0x38, 0x1002937c8\nmov     rdi, rbx                                                       ; +0x3b, 0x1002937cb\ncall    qword ptr [rax+208h]                                           ; +0x3e, 0x1002937ce\nmov     rax, [rbx+248h]                                                ; +0x44, 0x1002937d4\nmov     rdi, [rax+3670h]                                               ; +0x4b, 0x1002937db\ncmp     byte ptr [rdi+589h], 1                                         ; +0x52, 0x1002937e2\nlea     rsp, [rsp+8]                                                   ; +0x59, 0x1002937e9\npop     rbx                                                            ; +0x5e, 0x1002937ee\npop     rbp                                                            ; +0x5f, 0x1002937ef\njz      EditorUI__recreateButtonTabs                                   ; +0x60, 0x1002937f0\nretn                                                                   ; +0x66, 0x1002937f6", "xrefs": ["EditorPauseLayer::customSetup @ 0x100291a7c"], "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"}