//
// LevelSearchLayer::onBack from 0x7de6e0 to 0x7de728 (72 bytes)
//
// 4 xrefs:
// > LevelSearchLayer::keyBackClicked @ 0x7de72c
// > ??> @ 0x7b4f0
// > LevelSearchLayer::init @ 0x7e3c4c
// > ??> @ 0x1543290
//
// 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 12:54:25 +0000
//
__int64 __fastcall LevelSearchLayer::onBack(LevelSearchLayer *this, cocos2d::CCObject *a2)
{
GameManager *v3; // x0
GameManager *v4; // x0
__int64 result; // x0
v3 = (GameManager *)LevelSearchLayer::onClose(this, nullptr);
v4 = (GameManager *)GameManager::sharedState(v3);
result = (unsigned __int8)GameManager::safePopScene(v4);
if ( (_BYTE)result )
return (*(__int64 (__fastcall **)(LevelSearchLayer *, _QWORD))(*(_QWORD *)this + 1072LL))(this, 0);
return result;
}