//
// SecretLayer6::keyBackClicked from 0x10047f7e0 to 0x10047f82e (78 bytes)
//
// 1 xrefs:
// > ??> @ 0x10093c2e0
//
// 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 SecretLayer6::keyBackClicked(SecretLayer6 *a1)
{
GameManager *v1; // rax
cocos2d::CCDirector *v2; // rbx
cocos2d::CCScene *v3; // rax
cocos2d::CCTransitionFade *v4; // rax
((void (__fastcall *)(SecretLayer6 *, _QWORD))a1->setKeypadEnabled)(a1, 0);
v1 = GameManager::sharedState();
GameManager::fadeInMenuMusic(v1);
v2 = cocos2d::CCDirector::sharedDirector();
v3 = MenuLayer::scene(0);
v4 = cocos2d::CCTransitionFade::create_1(0.5, v3);
cocos2d::CCDirector::replaceScene(v2, v4);
}