//
// SecretRewardsLayer::goToPage from 0xb9a1f0 to 0xb9a240 (80 bytes)
//
// 2 xrefs:
// > SecretRewardsLayer::onSwitchPage @ 0xb9a294
// > ??> @ 0x90100
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:02:43 +0000
//
cocos2d::CCArray **__fastcall SecretRewardsLayer::goToPage(SecretRewardsLayer *this, int a2)
{
int v2; // w2
cocos2d::CCArray **v3; // x19
cocos2d::CCArray **result; // x0
v2 = *((unsigned __int8 *)this + 584);
v3 = *((cocos2d::CCArray ***)this + 68);
result = *((cocos2d::CCArray ***)this + 69);
if ( !v2 )
v3 = result;
if ( v3 )
{
BoomScrollLayer::getTotalPages(v3);
return (cocos2d::CCArray **)BoomScrollLayer::moveToPage((BoomScrollLayer *)v3, a2);
}
return result;
}