//
// SecretRewardsLayer::goToPage from 0x6ca5c8 to 0x6ca5f4 (44 bytes)
//
// 1 xrefs:
// > SecretRewardsLayer::onSwitchPage @ 0x6ca626
//
// 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:56:58 +0000
//
cocos2d::CCArray **__fastcall SecretRewardsLayer::goToPage(cocos2d::CCArray **this, cocos2d::CCArray *a2)
{
cocos2d::CCArray **v3; // r4
v3 = (cocos2d::CCArray **)*(this + 97);
if ( !*((_BYTE *)this + 416) )
v3 = (cocos2d::CCArray **)*(this + 98);
if ( v3 )
{
BoomScrollLayer::getTotalPages(v3);
return BoomScrollLayer::moveToPage(v3, a2);
}
return this;
}