//
// LevelBrowserLayer::onBack from 0x7f6288 to 0x7f62c0 (56 bytes)
//
// 3 xrefs:
// > LevelListLayer::onBack @ 0xbae3e0
// > ??> @ 0xad5d8
// > ??> @ 0x143e8c0
//
// 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:38 +0000
//
__int64 __fastcall LevelBrowserLayer::onBack(LevelBrowserLayer *this, cocos2d::CCObject *a2)
{
GameManager *v2; // x0
GameManager *v3; // x0
if ( *((_BYTE *)this + 748) )
return LevelBrowserLayer::exitLayer(this, nullptr);
v2 = (GameManager *)(*(__int64 (__fastcall **)(LevelBrowserLayer *, _QWORD))(*(_QWORD *)this + 1072LL))(this, 0);
v3 = (GameManager *)GameManager::sharedState(v2);
return GameManager::safePopScene(v3);
}