//
// EditorPauseLayer::onResume from 0x10044433c to 0x1004443b4 (120 bytes)
//
// 3 xrefs:
// > EditorPauseLayer::keyBackClicked @ 0x100444d6c
// > sub_100444D70 @ 0x100444d74
// > EditorPauseLayer::customSetup @ 0x10044385c
//
// This function is hookable on this platform (idp: arm, 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:05:13 +0000
//
__int64 __fastcall EditorPauseLayer::onResume(__int64 result, __n128 a2)
{
__int64 *v2; // x19
__int64 v3; // x0
if ( (*(_BYTE *)(result + 568) & 1) == 0 )
{
v2 = (__int64 *)result;
v3 = EditorSFXManager::sharedState(a2);
EditorSFXManager::playAction_1(v3, 223);
CCBlockLayer::decrementForcePrio((__int64)v2);
LevelEditorLayer::updateOptions(v2[72]);
EditorUI::toggleLockUI(*(_QWORD *)(v2[72] + 14248), 0);
(*(void (__fastcall **)(__int64 *))(*v2 + 536))(v2);
result = *(_QWORD *)(v2[72] + 14248);
if ( *(_BYTE *)(result + 1591) == 1 )
return EditorUI::recreateButtonTabs(result);
}
return result;
}