//
// EditorPauseLayer::keyBackClicked from 0x100294f30 to 0x100294f97 (103 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008f74a0
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall EditorPauseLayer::keyBackClicked(EditorPauseLayer *a1)
{
EditorUI *m_editorUI; // rdi
if ( !a1->m_saved )
{
CCBlockLayer::decrementForcePrio(a1);
LevelEditorLayer::updateOptions(a1->m_editorLayer);
EditorUI::toggleLockUI(a1->m_editorLayer->m_editorUI, 0);
((void (__fastcall *)(EditorPauseLayer *))a1->removeMeAndCleanup)(a1);
m_editorUI = a1->m_editorLayer->m_editorUI;
if ( m_editorUI->m_reloadItems )
EditorUI::recreateButtonTabs(m_editorUI);
}
}