//
// GauntletSelectLayer::goToPage from 0xa71f18 to 0xa71fcc (180 bytes)
//
// 5 xrefs:
// > GauntletSelectLayer::onNext @ 0xa71fe0
// > GauntletSelectLayer::onPrev @ 0xa71ff4
// > GauntletSelectLayer::setupGauntlets @ 0xa768a4
// > GauntletSelectLayer::setupGauntlets @ 0xa768bc
// > ??> @ 0xa15f0
//
// 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 13:00:24 +0000
//
__int64 __fastcall GauntletSelectLayer::goToPage(cocos2d::CCArray ***this, int a2, unsigned __int8 a3)
{
int v4; // w20
cocos2d::CCNode **v5; // x0
cocos2d::CCDelayTime *v6; // x0
cocos2d::CCSequence *v7; // x20
cocos2d::CCFiniteTimeAction *v8; // x0
cocos2d::CCAction *v9; // x20
v4 = a3;
BoomScrollLayer::getTotalPages(*(this + 55));
BoomScrollLayer::quickUpdate((__int64)*(this + 55));
v5 = *(this + 55);
if ( v4 )
BoomScrollLayer::instantMoveToPage(v5, a2);
else
BoomScrollLayer::moveToPage((BoomScrollLayer *)v5, a2);
GauntletSelectLayer::updateArrows((GauntletSelectLayer *)this);
*((_BYTE *)this + 504) = 1;
v6 = (cocos2d::CCDelayTime *)cocos2d::CCNode::stopActionByTag((cocos2d::CCNode *)this, 1001);
v7 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(v6, 0.3);
v8 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(this, GauntletSelectLayer::unblockPlay, 0);
v9 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v7, v8, 0);
(*(void (__fastcall **)(cocos2d::CCAction *, __int64))(*(_QWORD *)v9 + 72LL))(v9, 1001);
return cocos2d::CCNode::runAction((cocos2d::CCNode *)this, v9);
}