//
// EditorPauseLayer::keyBackClicked from 0x10027f580 to 0x10027f5fc (124 bytes)
//
// 1 xrefs:
// > ??> @ 0x100afde40
//
// 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 12:27:42 +0000
//
__int64 __fastcall EditorPauseLayer::keyBackClicked(__int64 a1)
{
__int64 v1; // rax
__int64 v2; // rdx
__int64 result; // rax
if ( !*(_BYTE *)(a1 + 568) )
{
v1 = EditorSFXManager::sharedState(a1);
EditorSFXManager::playAction_1(v1, 223);
CCBlockLayer::decrementForcePrio(a1);
LevelEditorLayer::updateOptions(*(_QWORD *)(a1 + 576), 223, v2);
EditorUI::toggleLockUI(*(_QWORD *)(*(_QWORD *)(a1 + 576) + 14248LL), 0);
(*(void (__fastcall **)(__int64))(*(_QWORD *)a1 + 536LL))(a1);
result = *(_QWORD *)(a1 + 576);
if ( *(_BYTE *)(*(_QWORD *)(result + 14248) + 1591LL) == 1 )
return EditorUI::recreateButtonTabs();
}
return result;
}