//
// GauntletSelectLayer::goToPage from 0x60a238 to 0x60a2bc (132 bytes)
//
// 4 xrefs:
// > GauntletSelectLayer::onNext @ 0x60a2d0
// > GauntletSelectLayer::onPrev @ 0x60a2e0
// > GauntletSelectLayer::setupGauntlets @ 0x60cde6
// > GauntletSelectLayer::setupGauntlets @ 0x60cdf0
//
// 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:54:47 +0000
//
int __fastcall GauntletSelectLayer::goToPage(cocos2d::CCArray ***this, cocos2d::CCArray *a2, int a3)
{
cocos2d::CCArray **v6; // r0
float v7; // r1
cocos2d::CCSequence *v8; // r6
cocos2d::CCFiniteTimeAction *v9; // r0
int v10; // r3
cocos2d::CCAction *v11; // r5
BoomScrollLayer::getTotalPages(*(this + 83));
BoomScrollLayer::quickUpdate((unsigned int)*(this + 83));
v6 = *(this + 83);
if ( a3 )
BoomScrollLayer::instantMoveToPage((signed int)v6, (int)a2);
else
BoomScrollLayer::moveToPage(v6, a2);
GauntletSelectLayer::updateArrows((GauntletSelectLayer *)this);
*((_BYTE *)this + 364) = 1;
cocos2d::CCNode::stopActionByTag((cocos2d::CCNode *)this, 1001);
v8 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create((cocos2d::CCDelayTime *)0x3E99999A, v7);
v9 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(this, GauntletSelectLayer::unblockPlay, 0);
v11 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v8, v9, 0, v10, GauntletSelectLayer::unblockPlay, 0);
(*(void (__fastcall **)(cocos2d::CCAction *, int))(*(_DWORD *)v11 + 36))(v11, 1001);
return cocos2d::CCNode::runAction((cocos2d::CCNode *)this, v11);
}