// // SecretRewardsLayer::onBack from 0x6caa14 to 0x6caa5a (70 bytes) // // 1 xrefs: // > SecretRewardsLayer::keyBackClicked @ 0x6caa5c // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:56:58 +0000 // unsigned __int8 *__fastcall SecretRewardsLayer::onBack(SecretRewardsLayer *this, cocos2d::CCObject *a2) { GameManager *v4; // r0 int v5; // r1 int v6; // r2 int v7; // r3 cocos2d::CCDirector *v8; // r0 CreatorLayer *v9; // r4 AppDelegate *v10; // r0 cocos2d::CCScene *v11; // r2 cocos2d::CCScene *v12; // r1 if ( !*((_BYTE *)this + 416) ) return SecretRewardsLayer::moveToMainLayer((unsigned __int8 *)this, a2); v4 = (GameManager *)GameManager::sharedState(this); GameManager::fadeInMenuMusic(v4, v5, v6, v7); v8 = (cocos2d::CCDirector *)(*(int (__fastcall **)(SecretRewardsLayer *, _DWORD))(*(_DWORD *)this + 536))(this, 0); v9 = (CreatorLayer *)cocos2d::CCDirector::sharedDirector(v8); v10 = CreatorLayer::scene(v9); v12 = (cocos2d::CCScene *)cocos2d::CCTransitionFade::create( (cocos2d::CCTransitionFade *)0x3F000000, *(float *)&v10, v11); return (unsigned __int8 *)cocos2d::CCDirector::replaceScene(v9, v12); }
GD Web Decomp Icon

GD Web Decomp

Raw Source