{"type": "func", "start": 5279308, "end": 5279390, "name": "EditorPauseLayer::onResume", "pseudocode": "// \n// EditorPauseLayer::onResume from 0x508e4c to 0x508e9e (82 bytes)\n// \n// 1 xrefs:\n// > EditorPauseLayer::keyBackClicked @ 0x508ea0\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:51:26 +0000\n// \n\nEditorUI ***__fastcall EditorPauseLayer::onResume(EditorUI ***this, cocos2d::CCObject *a2)\n{\n  EditorUI ***v2; // r4\n  EditorSFXManager *v3; // r0\n\n  v2 = this;\n  if ( !*((_BYTE *)this + 452) )\n  {\n    v3 = (EditorSFXManager *)EditorSFXManager::sharedState((EditorSFXManager *)this);\n    EditorSFXManager::playAction(v3, 223);\n    CCBlockLayer::decrementForcePrio((cocos2d::CCObject *)v2);\n    LevelEditorLayer::updateOptions(v2[114]);\n    EditorUI::toggleLockUI((int)v2[114][2964], 0);\n    ((void (__fastcall *)(EditorUI ***))(*v2)[67])(v2);\n    this = (EditorUI ***)v2[114][2964];\n    if ( *((_BYTE *)this + 1055) )\n      return (EditorUI ***)EditorUI::recreateButtonTabs((EditorUI *)this);\n  }\n  return this;\n}", "assembly": "; \n; EditorPauseLayer::onResume from 0x508e4c to 0x508e9e (82 bytes)\n; \n; 1 xrefs:\n; > EditorPauseLayer::keyBackClicked @ 0x508ea0\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:51:26 +0000\n; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0x508e4c\nMOV             R4, R0                                                 ; +0x2, 0x508e4e\nLDRB.W          R6, [R0,#0x1C4]                                        ; +0x4, 0x508e50\nCBNZ            R6, locret_508E9C                                      ; +0x8, 0x508e54\nBL              _ZN16EditorSFXManager11sharedStateEv; EditorSFXManager::sharedState(void) ; +0xa, 0x508e56\nMOVS            R1, #0xDF; int                                         ; +0xe, 0x508e5a\nBL              _ZN16EditorSFXManager10playActionEi; EditorSFXManager::playAction(int) ; +0x10, 0x508e5c\nMOV             R0, R4; this                                           ; +0x14, 0x508e60\nBL              _ZN12CCBlockLayer18decrementForcePrioEv; CCBlockLayer::decrementForcePrio(void) ; +0x16, 0x508e62\nLDR.W           R0, [R4,#0x1C8]; this                                  ; +0x1a, 0x508e66\nBL              _ZN16LevelEditorLayer13updateOptionsEv; LevelEditorLayer::updateOptions(void) ; +0x1e, 0x508e6a\nLDR.W           R3, [R4,#0x1C8]                                        ; +0x22, 0x508e6e\nMOVW            R5, #0x2E50                                            ; +0x26, 0x508e72\nMOV             R1, R6; bool                                           ; +0x2a, 0x508e76\nLDR             R0, [R3,R5]; this                                      ; +0x2c, 0x508e78\nBL              _ZN8EditorUI12toggleLockUIEb; EditorUI::toggleLockUI(bool) ; +0x2e, 0x508e7a\nLDR             R3, [R4]                                               ; +0x32, 0x508e7e\nMOV             R0, R4                                                 ; +0x34, 0x508e80\nLDR.W           R3, [R3,#0x10C]                                        ; +0x36, 0x508e82\nBLX             R3                                                     ; +0x3a, 0x508e86\nLDR.W           R3, [R4,#0x1C8]                                        ; +0x3c, 0x508e88\nLDR             R0, [R3,R5]; this                                      ; +0x40, 0x508e8c\nLDRB.W          R3, [R0,#0x41F]                                        ; +0x42, 0x508e8e\nCBZ             R3, locret_508E9C                                      ; +0x46, 0x508e92\nPOP.W           {R4-R6,LR}                                             ; +0x48, 0x508e94\nB.W             _ZN8EditorUI18recreateButtonTabsEv; EditorUI::recreateButtonTabs(void) ; +0x4c, 0x508e98\nPOP             {R4-R6,PC}                                             ; +0x50, 0x508e9c", "xrefs": ["EditorPauseLayer::keyBackClicked @ 0x508ea0"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "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"}