// // SecretRewardsLayer::moveToSecondaryLayer from 0x100633050 to 0x100633160 (272 bytes) // // 1 xrefs: // > SecretRewardsLayer::onChestType @ 0x100632186 // // 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::moveToSecondaryLayer(SecretRewardsLayer *a1, int a2) { cocos2d::CCMoveTo *v2; // rax cocos2d::CCEaseBounceOut *v3; // rax cocos2d::CCLayer *m_secondaryLayer; // r14 cocos2d::CCMoveTo *v5; // rax cocos2d::CCEaseBounceOut *v6; // rax __int64 v7; // [rsp-30h] [rbp-30h] BYREF cocos2d::CCPoint v8[5]; // [rsp-28h] [rbp-28h] BYREF double v9; // 0:xmm0_8.8 if ( a1->m_inMainLayer ) { a1->m_inMainLayer = 0; a1->m_rewardType = a2; cocos2d::CCDirector::sharedDirector(); *(cocos2d::CCSize *)&v9 = cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)&v7); ((void (__fastcall *)(BoomScrollLayer *, _QWORD, double))a1->m_mainScrollLayer->setTouchEnabled)( a1->m_mainScrollLayer, 0, v9); sub_10028CBE0((float *)v8, 0.0, -100.0 - *((float *)&v7 + 1)); v2 = cocos2d::CCMoveTo::create(0.5, v8); v3 = cocos2d::CCEaseBounceOut::create(v2); cocos2d::CCNode::runAction(a1->m_mainLayer, v3); SecretRewardsLayer::createSecondaryLayer(a1, a2); m_secondaryLayer = a1->m_secondaryLayer; sub_10028CBE0((float *)v8, 0.0, *((float *)&v7 + 1)); ((void (__fastcall *)(cocos2d::CCLayer *, cocos2d::CCPoint *))m_secondaryLayer->setPosition)(m_secondaryLayer, v8); sub_10028CBE0((float *)v8, 0.0, 0.0); v5 = cocos2d::CCMoveTo::create(0.5, v8); v6 = cocos2d::CCEaseBounceOut::create(v5); cocos2d::CCNode::runAction(a1->m_secondaryLayer, v6); SecretRewardsLayer::updateBackButton(a1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source