//
// LevelSelectLayer::onBack from 0x8c3ba8 to 0x8c3bf0 (72 bytes)
//
// 4 xrefs:
// > LevelSelectLayer::keyBackClicked @ 0x8c3bf4
// > ??> @ 0xa7cf8
// > LevelSelectLayer::init @ 0x8c576c
// > ??> @ 0x1544ba0
//
// 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:56:32 +0000
//
__int64 __fastcall LevelSelectLayer::onBack(LevelSelectLayer *this, cocos2d::CCObject *a2)
{
cocos2d::CCDirector *v2; // x0
cocos2d::CCDirector *v3; // x19
cocos2d::CCTransitionFade *v4; // x0
cocos2d::CCScene *v5; // x1
cocos2d::CCScene *v6; // x0
v2 = (cocos2d::CCDirector *)(*(__int64 (__fastcall **)(LevelSelectLayer *, _QWORD))(*(_QWORD *)this + 1072LL))(
this,
0);
v3 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v2);
v4 = (cocos2d::CCTransitionFade *)MenuLayer::scene(nullptr);
v6 = (cocos2d::CCScene *)cocos2d::CCTransitionFade::create(v4, 0.5, v5);
return cocos2d::CCDirector::replaceScene(v3, v6);
}