{"type": "func", "start": 5370292064, "end": 5370292213, "name": "EditorPauseLayer::playStep3", "pseudocode": "// \n// EditorPauseLayer::playStep3 from 0x140182760 to 0x1401827f5 (149 bytes)\n// \n// 2 xrefs:\n// > EditorPauseLayer::playStep2 @ 0x140182719\n// > <???> @ 0x140918c50\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\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:27:37 +0000\n// \n\nvoid __fastcall EditorPauseLayer::playStep3(__int64 a1)\n{\n  __int64 v2; // rax\n  cocos2d::CCTouchDispatcher *v3; // rax\n  cocos2d::CCObject *v4; // rax\n  __int64 v5; // rdi\n  cocos2d::CCObject *v6; // rbx\n  cocos2d::CCObject *v7; // rcx\n\n  if ( *(_BYTE *)(a1 + 545) )\n  {\n    *(_BYTE *)(a1 + 545) = 0;\n    v2 = cocos2d::CCDirector::sharedDirector(a1);\n    v3 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 144LL))(v2);\n    cocos2d::CCTouchDispatcher::unregisterForcePrio(v3, (struct cocos2d::CCObject *)a1);\n  }\n  v4 = (cocos2d::CCObject *)GJGameLoadingLayer::transitionToLoadingLayer(*(_QWORD *)(*(_QWORD *)(a1 + 576) + 2168LL), 0);\n  v5 = *(_QWORD *)(a1 + 576);\n  v6 = v4;\n  if ( *(cocos2d::CCObject **)(v5 + 14440) != v4 )\n  {\n    if ( v4 )\n      cocos2d::CCObject::retain(v4);\n    v7 = *(cocos2d::CCObject **)(v5 + 14440);\n    if ( v7 )\n      cocos2d::CCObject::release(v7);\n    *(_QWORD *)(v5 + 14440) = v6;\n  }\n}", "assembly": "; \n; EditorPauseLayer::playStep3 from 0x140182760 to 0x1401827f5 (149 bytes)\n; \n; 2 xrefs:\n; > EditorPauseLayer::playStep2 @ 0x140182719\n; > <???> @ 0x140918c50\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\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:27:37 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140182760\npush    rdi                                                            ; +0x5, 0x140182765\nsub     rsp, 20h                                                       ; +0x6, 0x140182766\ncmp     byte ptr [rcx+221h], 0                                         ; +0xa, 0x14018276a\nmov     rdi, rcx                                                       ; +0x11, 0x140182771\njz      short loc_14018279B                                            ; +0x14, 0x140182774\nmov     byte ptr [rcx+221h], 0                                         ; +0x16, 0x140182776\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x1d, 0x14018277d\nmov     rcx, rax                                                       ; +0x23, 0x140182783\nmov     rdx, [rax]                                                     ; +0x26, 0x140182786\ncall    qword ptr [rdx+90h]                                            ; +0x29, 0x140182789\nmov     rcx, rax                                                       ; +0x2f, 0x14018278f\nmov     rdx, rdi                                                       ; +0x32, 0x140182792\ncall    cs:?unregisterForcePrio@CCTouchDispatcher@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCTouchDispatcher::unregisterForcePrio(cocos2d::CCObject *) ; +0x35, 0x140182795\nmov     rcx, [rdi+240h]                                                ; +0x3b, 0x14018279b\nxor     edx, edx                                                       ; +0x42, 0x1401827a2\nmov     rcx, [rcx+878h]                                                ; +0x44, 0x1401827a4\ncall    GJGameLoadingLayer__transitionToLoadingLayer                   ; +0x4b, 0x1401827ab\nmov     rdi, [rdi+240h]                                                ; +0x50, 0x1401827b0\nmov     rbx, rax                                                       ; +0x57, 0x1401827b7\ncmp     [rdi+3868h], rax                                               ; +0x5a, 0x1401827ba\njz      short loc_1401827EA                                            ; +0x61, 0x1401827c1\ntest    rax, rax                                                       ; +0x63, 0x1401827c3\njz      short loc_1401827D1                                            ; +0x66, 0x1401827c6\nmov     rcx, rax                                                       ; +0x68, 0x1401827c8\ncall    cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x6b, 0x1401827cb\nmov     rcx, [rdi+3868h]                                               ; +0x71, 0x1401827d1\ntest    rcx, rcx                                                       ; +0x78, 0x1401827d8\njz      short loc_1401827E3                                            ; +0x7b, 0x1401827db\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x7d, 0x1401827dd\nmov     [rdi+3868h], rbx                                               ; +0x83, 0x1401827e3\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x8a, 0x1401827ea\nadd     rsp, 20h                                                       ; +0x8f, 0x1401827ef\npop     rdi                                                            ; +0x93, 0x1401827f3\nretn                                                                   ; +0x94, 0x1401827f4", "xrefs": ["EditorPauseLayer::playStep2 @ 0x140182719", "<???> @ 0x140918c50"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}