// // SecretRewardsLayer::keyBackClicked from 0x10063a360 to 0x10063a3c0 (96 bytes) // // 1 xrefs: // > @ 0x100985c18 // // 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 SecretRewardsLayer::keyBackClicked(SecretRewardsLayer *a1) { cocos2d::CCObject *v1; // rsi GameManager *v2; // rax cocos2d::CCDirector *v3; // rbx cocos2d::CCScene *v4; // rax cocos2d::CCTransitionFade *v5; // rax if ( a1->m_inMainLayer ) { v2 = GameManager::sharedState(); GameManager::fadeInMenuMusic(v2); ((void (__fastcall *)(SecretRewardsLayer *, _QWORD))a1->setKeypadEnabled)(a1, 0); v3 = cocos2d::CCDirector::sharedDirector(); v4 = CreatorLayer::scene(); v5 = cocos2d::CCTransitionFade::create_1(0.5, v4); cocos2d::CCDirector::replaceScene(v3, v5); } else { SecretRewardsLayer::moveToMainLayer(a1, v1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source