//
// SecretRewardsLayer::goToPage from 0x1006329f0 to 0x100632a2b (59 bytes)
//
// 0 xrefs:
//
// 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)
{
_BOOL8 v2; // rax
BoomScrollLayer *v3; // r14
v2 = !a1->m_inMainLayer;
v3 = *(&a1->m_mainScrollLayer + v2);
if ( v3 )
{
BoomScrollLayer::getTotalPages(*(&a1->m_mainScrollLayer + v2));
BoomScrollLayer::moveToPage(v3, a2);
}
}