//
// BoomScrollLayer::addPage from 0x1003a6950 to 0x1003a69bb (107 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(BoomScrollLayer *a1, cocos2d::CCLayer *a2, int a3)
{
int v3; // r15d
__int64 v4; // rdx
v3 = a3;
if ( (unsigned int)sub_100720070(a1->m_pages) < a3 )
v3 = sub_100720070(a1->m_pages);
v4 = 0;
if ( v3 > 0 )
v4 = (unsigned int)v3;
sub_1007201F0(a1->m_pages, a2, v4);
BoomScrollLayer::updatePages(a1);
BoomScrollLayer::moveToPage(a1, a1->m_page);
}