// // SecretRewardsLayer::onBack from 0x14056d700 to 0x14056d8d9 (473 bytes) // // 3 xrefs: // > SecretRewardsLayer::keyBackClicked @ 0x14056d8e9 // > SecretRewardsLayer::init @ 0x140568554 // > @ 0x14092c6f0 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // 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:34:20 +0000 // // Hidden C++ exception states: #wind=1 double __fastcall SecretRewardsLayer::onBack(__int64 a1) { __int64 v2; // rax __int64 v3; // rdx double result; // xmm0_8 const struct cocos2d::CCPoint *v5; // rax struct cocos2d::CCActionInterval *v6; // rax struct cocos2d::CCAction *v7; // rax const struct cocos2d::CCPoint *v8; // rax struct cocos2d::CCActionInterval *v9; // rax struct cocos2d::CCFiniteTimeAction *v10; // rbx __int64 v11; // rax struct cocos2d::CCAction *v12; // rax __int64 v13; // rcx struct cocos2d::CCScene *v14; // rax struct cocos2d::CCScene *v15; // rbx __int64 v16; // rcx cocos2d::CCDirector *v17; // rax void *v18; // [rsp+30h] [rbp+8h] BYREF char v19; // [rsp+40h] [rbp+18h] BYREF if ( *(_BYTE *)(a1 + 584) ) { v13 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v18 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v18); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v13 = qword_14090BFD0; } GameManager::fadeInMenuMusic(v13); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 992LL))(a1, 0); v14 = (struct cocos2d::CCScene *)CreatorLayer::scene(); v15 = cocos2d::CCTransitionFade::create(0.5, v14); v17 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v16); return cocos2d::CCDirector::replaceScene(v17, v15); } else { *(_BYTE *)(a1 + 584) = 1; v2 = cocos2d::CCDirector::sharedDirector(a1); cocos2d::CCDirector::getWinSize(v2, &v18); LOBYTE(v3) = 1; (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 544) + 920LL))(*(_QWORD *)(a1 + 544), v3); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v19, 0.0, 0.0); *(_QWORD *)&result = 1053609165; v6 = cocos2d::CCMoveTo::create(0.40000001, v5); v7 = cocos2d::CCEaseInOut::create(v6, 2.0); cocos2d::CCNode::runAction(*(cocos2d::CCNode **)(a1 + 424), v7); if ( *(_QWORD *)(a1 + 432) ) { (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 552) + 920LL))(*(_QWORD *)(a1 + 552), 0); *(_QWORD *)(a1 + 552) = 0; *(_QWORD *)(a1 + 448) = 0; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v19, 0.0, *((float *)&v18 + 1) + 50.0); *(_QWORD *)&result = 1053609165; v9 = cocos2d::CCMoveTo::create(0.40000001, v8); v10 = cocos2d::CCEaseInOut::create(v9, 2.0); v11 = cocos2d::CCCallFunc::create(*(_QWORD *)(a1 + 432), sub_14003F5B0); v12 = cocos2d::CCSequence::create(v10, v11, 0); cocos2d::CCNode::runAction(*(cocos2d::CCNode **)(a1 + 432), v12); *(_QWORD *)(a1 + 432) = 0; } SecretRewardsLayer::updateBackButton(a1); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source