//
// LevelSearchLayer::onBack from 0x140311bf0 to 0x140311c60 (112 bytes)
//
// 3 xrefs:
// > LevelSearchLayer::keyBackClicked @ 0x140312879
// > LevelSearchLayer::init @ 0x14030db81
// > ??> @ 0x1406d482c
//
// 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
//
// Hidden C++ exception states: #wind=1
void LevelSearchLayer::onBack(LevelSearchLayer *a1, cocos2d::CCObject *a2)
{
GameManager *v3; // rcx
void *v4; // [rsp+30h] [rbp+8h]
a1->m_searchInput->onClickTrackNode(a1->m_searchInput, 0);
if ( !qword_1406C2ED8 )
{
v4 = operator new(0x668u);
qword_1406C2ED8 = sub_14017AB00((__int64)v4);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);
}
if ( GameManager::safePopScene(v3) )
a1->setKeypadEnabled(a1, 0);
}