{"type": "func", "start": 4298758800, "end": 4298758904, "name": "EditorPauseLayer::onResume", "pseudocode": "// \n// EditorPauseLayer::onResume from 0x10039da90 to 0x10039daf8 (104 bytes)\n// \n// 3 xrefs:\n// > EditorPauseLayer::keyBackClicked @ 0x10039e8bc\n// > sub_10039E8C0 @ 0x10039e8c4\n// > EditorPauseLayer::customSetup @ 0x10039c1e4\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; // x0\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 0x10039da90 to 0x10039daf8 (104 bytes)\n; \n; 3 xrefs:\n; > EditorPauseLayer::keyBackClicked @ 0x10039e8bc\n; > sub_10039E8C0 @ 0x10039e8c4\n; > EditorPauseLayer::customSetup @ 0x10039c1e4\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\nLDRB            W8, [X0,#0x230]                                        ; +0x0, 0x10039da90\nTBNZ            W8, #0, locret_10039DAF4                               ; +0x4, 0x10039da94\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x8, 0x10039da98\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0xc, 0x10039da9c\nADD             X29, SP, #0x10                                         ; +0x10, 0x10039daa0\nMOV             X19, X0                                                ; +0x14, 0x10039daa4\nBL              CCBlockLayer__decrementForcePrio                       ; +0x18, 0x10039daa8\nLDR             X0, [X19,#0x248]                                       ; +0x1c, 0x10039daac\nBL              LevelEditorLayer__updateOptions                        ; +0x20, 0x10039dab0\nLDR             X8, [X19,#0x248]                                       ; +0x24, 0x10039dab4\nLDR             X0, [X8,#0x36A0]                                       ; +0x28, 0x10039dab8\nMOV             W1, #0                                                 ; +0x2c, 0x10039dabc\nBL              EditorUI__toggleLockUI                                 ; +0x30, 0x10039dac0\nLDR             X8, [X19]                                              ; +0x34, 0x10039dac4\nLDR             X8, [X8,#0x208]                                        ; +0x38, 0x10039dac8\nMOV             X0, X19                                                ; +0x3c, 0x10039dacc\nBLR             X8                                                     ; +0x40, 0x10039dad0\nLDR             X8, [X19,#0x248]                                       ; +0x44, 0x10039dad4\nLDR             X0, [X8,#0x36A0]                                       ; +0x48, 0x10039dad8\nLDRB            W8, [X0,#0x589]                                        ; +0x4c, 0x10039dadc\nCMP             W8, #1                                                 ; +0x50, 0x10039dae0\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x54, 0x10039dae4\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x58, 0x10039dae8\nB.NE            locret_10039DAF4                                       ; +0x5c, 0x10039daec\nB               EditorUI__recreateButtonTabs                           ; +0x60, 0x10039daf0\nRET                                                                    ; +0x64, 0x10039daf4", "xrefs": ["EditorPauseLayer::keyBackClicked @ 0x10039e8bc", "sub_10039E8C0 @ 0x10039e8c4", "EditorPauseLayer::customSetup @ 0x10039c1e4"], "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"}