{"type": "func", "start": 4191658, "end": 4191728, "name": "EditorPauseLayer::onResume", "pseudocode": "// \n// EditorPauseLayer::onResume from 0x3ff5aa to 0x3ff5f0 (70 bytes)\n// \n// 1 xrefs:\n// > EditorPauseLayer::keyBackClicked @ 0x3ff5f2\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 EditorPauseLayer::onResume(EditorPauseLayer *a1, cocos2d::CCObject *a2)\n{\n  EditorUI *m_editorUI; // r0\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    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 0x3ff5aa to 0x3ff5f0 (70 bytes)\n; \n; 1 xrefs:\n; > EditorPauseLayer::keyBackClicked @ 0x3ff5f2\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\nPUSH            {R4-R6,LR}                                             ; +0x0, 0x3ff5aa\nMOV             R4, R0                                                 ; +0x2, 0x3ff5ac\nLDRB.W          R6, [R0,#0x1C0]                                        ; +0x4, 0x3ff5ae\nCBNZ            R6, locret_3FF5EE                                      ; +0x8, 0x3ff5b2\nBL              _ZN12CCBlockLayer18decrementForcePrioEv; CCBlockLayer::decrementForcePrio(void) ; +0xa, 0x3ff5b4\nLDR.W           R0, [R4,#0x1CC]; this                                  ; +0xe, 0x3ff5b8\nBL              _ZN16LevelEditorLayer13updateOptionsEv; LevelEditorLayer::updateOptions(void) ; +0x12, 0x3ff5bc\nLDR.W           R3, [R4,#0x1CC]                                        ; +0x16, 0x3ff5c0\nMOVW            R5, #0x2E94                                            ; +0x1a, 0x3ff5c4\nMOV             R1, R6; bool                                           ; +0x1e, 0x3ff5c8\nLDR             R0, [R3,R5]; this                                      ; +0x20, 0x3ff5ca\nBL              _ZN8EditorUI12toggleLockUIEb; EditorUI::toggleLockUI(bool) ; +0x22, 0x3ff5cc\nLDR             R3, [R4]                                               ; +0x26, 0x3ff5d0\nMOV             R0, R4                                                 ; +0x28, 0x3ff5d2\nLDR.W           R3, [R3,#0x104]                                        ; +0x2a, 0x3ff5d4\nBLX             R3                                                     ; +0x2e, 0x3ff5d8\nLDR.W           R3, [R4,#0x1CC]                                        ; +0x30, 0x3ff5da\nLDR             R0, [R3,R5]; this                                      ; +0x34, 0x3ff5de\nLDRB.W          R3, [R0,#0x3BD]                                        ; +0x36, 0x3ff5e0\nCBZ             R3, locret_3FF5EE                                      ; +0x3a, 0x3ff5e4\nPOP.W           {R4-R6,LR}                                             ; +0x3c, 0x3ff5e6\nB.W             _ZN8EditorUI18recreateButtonTabsEv; EditorUI::recreateButtonTabs(void) ; +0x40, 0x3ff5ea\nPOP             {R4-R6,PC}                                             ; +0x44, 0x3ff5ee", "xrefs": ["EditorPauseLayer::keyBackClicked @ 0x3ff5f2"], "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"}