//
// BoomScrollLayer::getTotalPages from 0x10012ba2c to 0x10012ba48 (28 bytes)
//
// 7 xrefs:
// > ListButtonBar::goToPage @ 0x100168244
// > GauntletSelectLayer::setupGauntlets @ 0x1001bf62c
// > GauntletSelectLayer::goToPage @ 0x1001bfda8
// > SecretRewardsLayer::init @ 0x1002e9830
// > SecretRewardsLayer::goToPage @ 0x1002ea18c
// > SecretRewardsLayer::scrollLayerMoved @ 0x1002ea1ec
// > EditButtonBar::goToPage @ 0x10042152c
//
// 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
//
int __fastcall BoomScrollLayer::getTotalPages(BoomScrollLayer *a1)
{
__int64 v1; // x8
v1 = 472;
if ( a1->m_dynamic )
v1 = 440;
return sub_10024A36C(*(BoomScrollLayer_vtbl **)((char *)&a1->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable
+ v1));
}