//
// EditorPauseLayer::onResume from 0x1401824e0 to 0x14018258d (173 bytes)
//
// 3 xrefs:
// > EditorPauseLayer::keyBackClicked @ 0x1401833f9
// > EditorPauseLayer::customSetup @ 0x14018164a
// > ??> @ 0x140918c14
//
// 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::onResume(__int64 a1)
{
__int64 v2; // rax
__int64 v3; // rcx
__int64 v4; // rax
cocos2d::CCTouchDispatcher *v5; // rax
if ( !*(_BYTE *)(a1 + 568) )
{
v2 = EditorSFXManager::sharedState();
EditorSFXManager::playAction(v2, 223);
if ( *(_BYTE *)(a1 + 545) )
{
*(_BYTE *)(a1 + 545) = 0;
v4 = cocos2d::CCDirector::sharedDirector(v3);
v5 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 144LL))(v4);
cocos2d::CCTouchDispatcher::unregisterForcePrio(v5, (struct cocos2d::CCObject *)a1);
}
LevelEditorLayer::updateOptions(*(_QWORD *)(a1 + 576));
*(_BYTE *)(*(_QWORD *)(*(_QWORD *)(a1 + 576) + 14904LL) + 1660LL) = 0;
(*(void (__fastcall **)(__int64))(*(_QWORD *)a1 + 528LL))(a1);
if ( *(_BYTE *)(*(_QWORD *)(*(_QWORD *)(a1 + 576) + 14904LL) + 1663LL) )
EditorUI::recreateButtonTabs();
}
}