//
// SecretRewardsLayer::goToPage from 0x1002ea15c to 0x1002ea1b0 (84 bytes)
//
// 1 xrefs:
// > SecretRewardsLayer::onSwitchPage @ 0x1002ea158
//
// 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 __fastcall SecretRewardsLayer::goToPage(SecretRewardsLayer *a1, int a2)
{
__int64 v2; // x8
BoomScrollLayer *v3; // x20
v2 = 552;
if ( a1->m_inMainLayer )
v2 = 544;
v3 = *(BoomScrollLayer **)((char *)&a1->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable
+ v2);
if ( v3 )
{
BoomScrollLayer::getTotalPages(*(BoomScrollLayer **)((char *)&a1->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable
+ v2));
BoomScrollLayer::moveToPage(v3, a2);
}
}