//
// EditorPauseLayer::playStep3 from 0x140182760 to 0x1401827f5 (149 bytes)
//
// 2 xrefs:
// > EditorPauseLayer::playStep2 @ 0x140182719
// > ??> @ 0x140918c50
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:27:37 +0000
//
void __fastcall EditorPauseLayer::playStep3(__int64 a1)
{
__int64 v2; // rax
cocos2d::CCTouchDispatcher *v3; // rax
cocos2d::CCObject *v4; // rax
__int64 v5; // rdi
cocos2d::CCObject *v6; // rbx
cocos2d::CCObject *v7; // rcx
if ( *(_BYTE *)(a1 + 545) )
{
*(_BYTE *)(a1 + 545) = 0;
v2 = cocos2d::CCDirector::sharedDirector(a1);
v3 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 144LL))(v2);
cocos2d::CCTouchDispatcher::unregisterForcePrio(v3, (struct cocos2d::CCObject *)a1);
}
v4 = (cocos2d::CCObject *)GJGameLoadingLayer::transitionToLoadingLayer(*(_QWORD *)(*(_QWORD *)(a1 + 576) + 2168LL), 0);
v5 = *(_QWORD *)(a1 + 576);
v6 = v4;
if ( *(cocos2d::CCObject **)(v5 + 14440) != v4 )
{
if ( v4 )
cocos2d::CCObject::retain(v4);
v7 = *(cocos2d::CCObject **)(v5 + 14440);
if ( v7 )
cocos2d::CCObject::release(v7);
*(_QWORD *)(v5 + 14440) = v6;
}
}