//
// WorldSelectLayer::goToPage from 0x62cc32 to 0x62cc70 (62 bytes)
//
// 4 xrefs:
// > WorldSelectLayer::animateInActiveIsland @ 0x62cc8a
// > WorldSelectLayer::onNext @ 0x62cd14
// > WorldSelectLayer::onPrev @ 0x62cd2a
// > WorldSelectLayer::init @ 0x62e5ec
//
// 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:55:14 +0000
//
cocos2d::CCArray *__fastcall WorldSelectLayer::goToPage(cocos2d::CCArray ***this, cocos2d::CCArray *a2, int a3)
{
cocos2d::CCArray *result; // r0
cocos2d::CCArray **v7; // r0
result = (cocos2d::CCArray *)BoomScrollLayer::getTotalPages(*(this + 81));
if ( (int)a2 >= 0 && (int)a2 < (int)result )
{
BoomScrollLayer::quickUpdate((unsigned int)*(this + 81));
v7 = *(this + 81);
if ( a3 )
BoomScrollLayer::instantMoveToPage((signed int)v7, (int)a2);
else
BoomScrollLayer::moveToPage(v7, a2);
return (cocos2d::CCArray *)WorldSelectLayer::updateArrows((WorldSelectLayer *)this);
}
return result;
}