//
// SecretLayer5::onBack from 0x10047b3e0 to 0x10047b44f (111 bytes)
//
// 1 xrefs:
// > SecretLayer5::init @ 0x10047a6ba
//
// 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 SecretLayer5::onBack(SecretLayer5 *a1, cocos2d::CCObject *a2)
{
cocos2d::CCDirector *v2; // r14
cocos2d::CCScene *v3; // rax
cocos2d::CCTransitionFade *v4; // rax
if ( !a1->m_uiLocked )
{
((void (__fastcall *)(CCTextInputNode *, _QWORD))a1->m_textInput->onClickTrackNode)(a1->m_textInput, 0);
((void (__fastcall *)(SecretLayer5 *, _QWORD))a1->setKeypadEnabled)(a1, 0);
v2 = cocos2d::CCDirector::sharedDirector();
v3 = LevelAreaInnerLayer::scene(1);
v4 = cocos2d::CCTransitionFade::create_1(0.5, v3);
cocos2d::CCDirector::replaceScene(v2, v4);
a1->m_exiting = 1;
}
}