//
// BoomScrollLayer::getTotalPages from 0x10015546c to 0x100155488 (28 bytes)
//
// 7 xrefs:
// > sub_1001F0FD8 @ 0x1001f0ff0
// > GauntletSelectLayer::setupGauntlets @ 0x100255174
// > sub_100255900 @ 0x100255924
// > SecretRewardsLayer::init @ 0x1003849b8
// > sub_1003852E4 @ 0x100385314
// > SecretRewardsLayer::scrollLayerMoved @ 0x100385374
// > EditButtonBar::goToPage @ 0x1004a39f4
//
// 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 10:59:41 +0000
//
__int64 __fastcall BoomScrollLayer::getTotalPages(__int64 a1)
{
__int64 v1; // x8
v1 = 480;
if ( *(_BYTE *)(a1 + 456) )
v1 = 448;
return sub_1002E757C(*(_QWORD *)(a1 + v1));
}