// // BoomScrollLayer::moveToPage from 0x68a124 to 0x68a2a4 (384 bytes) // // 11 xrefs: // > BoomScrollLayer::ccTouchEnded @ 0x68a404 // > BoomScrollLayer::addPage @ 0x68a61c // > BoomScrollLayer::removePage @ 0x68a6c4 // > BoomScrollLayer::removePage @ 0x68a6e4 // > ListButtonBar::goToPage @ 0x6c8ca4 // > LevelSelectLayer::onNext @ 0x8c3b70 // > LevelSelectLayer::onPrev @ 0x8c3ba4 // > GauntletSelectLayer::goToPage @ 0xa71f4c // > WorldSelectLayer::goToPage @ 0xaa6010 // > SecretRewardsLayer::goToPage @ 0xb9a230 // > @ 0xb9ec0 // // This function is hookable on this platform (idp: arm, 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 12:50:32 +0000 // __int64 __fastcall BoomScrollLayer::moveToPage(BoomScrollLayer *this, int a2) { const cocos2d::CCPoint *v5; // x1 float v6; // s0 float v7; // s0 float v8; // s1 cocos2d::CCEaseElasticOut *v9; // x0 cocos2d::CCActionInterval *v10; // x1 cocos2d::CCSequence *v11; // x22 cocos2d::CCFiniteTimeAction *v12; // x0 cocos2d::CCAction *v13; // x22 __int64 v14; // x0 _BYTE v15[8]; // [xsp+40h] [xbp+40h] BYREF if ( *((_BYTE *)this + 436) || (a2 & 0x80000000) == 0 && a2 < (int)BoomScrollLayer::getTotalPages((cocos2d::CCArray **)this) ) { *((_BYTE *)this + 552) = 1; BoomScrollLayer::positionForPageWithNumber(this, a2, (cocos2d::CCPoint *)v15); cocos2d::CCPoint::operator=((char *)this + 496, v15); cocos2d::CCNode::stopActionByTag(*((cocos2d::CCNode **)this + 63), 2); v6 = *((float *)this + 108); if ( v6 <= *((float *)this + 133) ) { if ( v6 <= *((float *)this + 134) ) v7 = 0.96; else v7 = 0.72; } else { v7 = 0.48; } v8 = *((float *)this + 135); if ( v8 > 0.0 ) v7 = v7 * v8; *((_DWORD *)this + 108) = 0; v9 = (cocos2d::CCEaseElasticOut *)cocos2d::CCMoveTo::create((BoomScrollLayer *)((char *)this + 496), v7, v5); v11 = (cocos2d::CCSequence *)cocos2d::CCEaseElasticOut::create(v9, v10, 0.5); v12 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(this, BoomScrollLayer::moveToPageEnded, 0); v13 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v11, v12, 0); cocos2d::CCNode::runAction(*((cocos2d::CCNode **)this + 63), v13); (*(void (__fastcall **)(cocos2d::CCAction *, __int64))(*(_QWORD *)v13 + 72LL))(v13, 2); *((_DWORD *)this + 147) = a2; v14 = *((_QWORD *)this + 68); if ( v14 ) (*(void (__fastcall **)(__int64, BoomScrollLayer *, _QWORD))(*(_QWORD *)v14 + 24LL))(v14, this, (unsigned int)a2); if ( *((_BYTE *)this + 436) ) BoomScrollLayer::repositionPagesLooped(this); } return _stack_chk_guard; }