// // SecretLayer2::onBack from 0x1403e9850 to 0x1403e98fa (170 bytes) // // 3 xrefs: // > SecretLayer2::keyBackClicked @ 0x1403e9909 // > SecretLayer2::init @ 0x1403e2fe7 // > @ 0x1406d8030 // // 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 // // Hidden C++ exception states: #wind=1 void SecretLayer2::onBack(SecretLayer2 *a1, cocos2d::CCObject *a2) { GameManager *v3; // rcx struct cocos2d::CCScene *v4; // rax struct cocos2d::CCTransitionFade *v5; // rbx __int64 v6; // rcx cocos2d::CCDirector *v7; // rax void *v8; // [rsp+30h] [rbp+8h] a1->m_searchInput->onClickTrackNode(a1->m_searchInput, 0); a1->setKeypadEnabled(a1, 0); v3 = (GameManager *)qword_1406C2ED8; if ( !qword_1406C2ED8 ) { v8 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00((__int64)v8); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v3 = (GameManager *)qword_1406C2ED8; } GameManager::fadeInMenuMusic(v3); v4 = CreatorLayer::scene(); v5 = cocos2d::CCTransitionFade::create(0.5, v4); v7 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v6); cocos2d::CCDirector::replaceScene(v7, v5); a1->m_exiting = 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source