// // SecretLayer4::onBack from 0x1403f3670 to 0x1403f371f (175 bytes) // // 3 xrefs: // > SecretLayer4::keyBackClicked @ 0x1403f3729 // > SecretLayer4::init @ 0x1403f0767 // > @ 0x1406d81d4 // // 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 SecretLayer4::onBack(SecretLayer4 *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 = LevelSelectLayer::scene(23); 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