{"type": "func", "start": 4297674160, "end": 4297674253, "name": "EditorPauseLayer::playStep3", "pseudocode": "// \n// EditorPauseLayer::playStep3 from 0x100294db0 to 0x100294e0d (93 bytes)\n// \n// 1 xrefs:\n// > EditorPauseLayer::playStep2 @ 0x100294d5f\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::playStep3(EditorPauseLayer *a1)\n{\n  LevelEditorLayer *m_editorLayer; // r14\n  GJGameLoadingLayer *v2; // rax\n  cocos2d::CCObject *m_loadingLayer; // rdi\n  GJGameLoadingLayer *v4; // rbx\n\n  CCBlockLayer::decrementForcePrio(a1);\n  m_editorLayer = a1->m_editorLayer;\n  v2 = GJGameLoadingLayer::transitionToLoadingLayer(m_editorLayer->m_level, 0);\n  m_loadingLayer = m_editorLayer->m_loadingLayer;\n  if ( m_loadingLayer != v2 )\n  {\n    v4 = v2;\n    if ( v2 )\n    {\n      cocos2d::CCObject::retain(v2);\n      m_loadingLayer = m_editorLayer->m_loadingLayer;\n    }\n    if ( m_loadingLayer )\n      cocos2d::CCObject::release(m_loadingLayer);\n    m_editorLayer->m_loadingLayer = v4;\n  }\n}", "assembly": "; \n; EditorPauseLayer::playStep3 from 0x100294db0 to 0x100294e0d (93 bytes)\n; \n; 1 xrefs:\n; > EditorPauseLayer::playStep2 @ 0x100294d5f\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    rbp                                                            ; +0x0, 0x100294db0\nmov     rbp, rsp                                                       ; +0x1, 0x100294db1\npush    r14                                                            ; +0x4, 0x100294db4\npush    rbx                                                            ; +0x6, 0x100294db6\nmov     rbx, rdi                                                       ; +0x7, 0x100294db7\ncall    CCBlockLayer__decrementForcePrio                               ; +0xa, 0x100294dba\nmov     r14, [rbx+248h]                                                ; +0xf, 0x100294dbf\nmov     rdi, [r14+790h]                                                ; +0x16, 0x100294dc6\nxor     esi, esi                                                       ; +0x1d, 0x100294dcd\ncall    GJGameLoadingLayer__transitionToLoadingLayer                   ; +0x1f, 0x100294dcf\nmov     rdi, [r14+3538h]                                               ; +0x24, 0x100294dd4\ncmp     rdi, rax                                                       ; +0x2b, 0x100294ddb\njz      short loc_100294E08                                            ; +0x2e, 0x100294dde\nmov     rbx, rax                                                       ; +0x30, 0x100294de0\ntest    rax, rax                                                       ; +0x33, 0x100294de3\njz      short loc_100294DF7                                            ; +0x36, 0x100294de6\nmov     rdi, rbx                                                       ; +0x38, 0x100294de8\ncall    cocos2d__CCObject__retain                                      ; +0x3b, 0x100294deb\nmov     rdi, [r14+3538h]                                               ; +0x40, 0x100294df0\ntest    rdi, rdi                                                       ; +0x47, 0x100294df7\njz      short loc_100294E01                                            ; +0x4a, 0x100294dfa\ncall    cocos2d__CCObject__release                                     ; +0x4c, 0x100294dfc\nmov     [r14+3538h], rbx                                               ; +0x51, 0x100294e01\npop     rbx                                                            ; +0x58, 0x100294e08\npop     r14                                                            ; +0x59, 0x100294e09\npop     rbp                                                            ; +0x5b, 0x100294e0b\nretn                                                                   ; +0x5c, 0x100294e0c", "xrefs": ["EditorPauseLayer::playStep2 @ 0x100294d5f"], "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"}