//
// SecretLayer5::onBack from 0x100074e5c to 0x100074edc (128 bytes)
//
// 3 xrefs:
// > SecretLayer5::keyBackClicked @ 0x100076f90
// > sub_100076F94 @ 0x100076f98
// > SecretLayer5::init @ 0x100074494
//
// 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 *v3; // x20
cocos2d::CCScene *v4; // x0
cocos2d::CCTransitionFade *v5; // x0
if ( !a1->m_uiLocked )
{
((void (__fastcall *)(CCTextInputNode *, _QWORD))a1->m_textInput->onClickTrackNode)(a1->m_textInput, 0);
((void (__fastcall *)(SecretLayer5 *, _QWORD))a1->setKeypadEnabled)(a1, 0);
v3 = cocos2d::CCDirector::sharedDirector();
v4 = LevelAreaInnerLayer::scene(1);
v5 = cocos2d::CCTransitionFade::create_1(0.5, v4);
cocos2d::CCDirector::replaceScene(v3, v5);
a1->m_exiting = 1;
}
}