//
// BoomScrollLayer::removePage from 0x1003a69c0 to 0x1003a6a45 (133 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::removePage(BoomScrollLayer *a1, cocos2d::CCLayer *a2)
{
unsigned int m_page; // r14d
int v3; // esi
sub_100720220(a1->m_pages, a2, 1);
((void (__fastcall *)(BoomScrollLayer *, cocos2d::CCLayer *, __int64))a1->removeChild_0)(a1, a2, 1);
BoomScrollLayer::updatePages(a1);
m_page = a1->m_page;
a1->m_slowPage = m_page;
if ( m_page <= (unsigned int)sub_100720070(a1->m_pages) - 1 )
v3 = a1->m_page;
else
v3 = sub_100720070(a1->m_pages) - 1;
a1->m_page = v3;
BoomScrollLayer::moveToPage(a1, v3);
}