//
// GauntletSelectLayer::goToPage from 0x91879c to 0x918850 (180 bytes)
//
// 5 xrefs:
// > GauntletSelectLayer::onNext @ 0x918864
// > GauntletSelectLayer::onPrev @ 0x918878
// > GauntletSelectLayer::setupGauntlets @ 0x91c45c
// > GauntletSelectLayer::setupGauntlets @ 0x91c474
// > ??> @ 0x78a20
//
// 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 GauntletSelectLayer::goToPage(GauntletSelectLayer *a1, int a2, bool a3)
{
_BOOL4 v4; // w20
BoomScrollLayer *m_scrollLayer; // x0
cocos2d::CCSequence *v6; // x20
cocos2d::CCFiniteTimeAction *v7; // x0
cocos2d::CCAction *v8; // x20
v4 = a3;
BoomScrollLayer::getTotalPages(a1->m_scrollLayer);
BoomScrollLayer::quickUpdate(a1->m_scrollLayer);
m_scrollLayer = a1->m_scrollLayer;
if ( v4 )
BoomScrollLayer::instantMoveToPage(m_scrollLayer, a2);
else
BoomScrollLayer::moveToPage(m_scrollLayer, a2);
GauntletSelectLayer::updateArrows(a1);
a1->m_playBlocked = 1;
cocos2d::CCNode::stopActionByTag(a1, 1001);
v6 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(0.3);
v7 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(a1, GauntletSelectLayer::unblockPlay, 0);
v8 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v6, v7, 0);
v8->setTag(v8, 1001);
cocos2d::CCNode::runAction(a1, v8);
}