//
// BoomScrollLayer::addPage_1 from 0x1003a68d0 to 0x1003a6947 (119 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 BoomScrollLayer::addPage_1(BoomScrollLayer *a1, cocos2d::CCLayer *a2)
{
int v2; // r15d
__int64 v3; // rdx
v2 = sub_100720070(a1->m_pages);
if ( (unsigned int)sub_100720070(a1->m_pages) < v2 )
v2 = sub_100720070(a1->m_pages);
v3 = 0;
if ( v2 > 0 )
v3 = (unsigned int)v2;
sub_1007201F0(a1->m_pages, a2, v3);
BoomScrollLayer::updatePages(a1);
BoomScrollLayer::moveToPage(a1, a1->m_page);
}