//
// BoomScrollLayer::addPage from 0x3c1f8e to 0x3c1fce (64 bytes)
//
// 1 xrefs:
// > BoomScrollLayer::addPage @ 0x3c1fe6
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:46:31 +0000
//
cocos2d::CCArray **__fastcall BoomScrollLayer::addPage(cocos2d::CCArray **this, cocos2d::CCLayer *a2, unsigned int a3)
{
int v4; // r5
v4 = a3;
if ( a3 > cocos2d::CCArray::count(*(this + 91)) )
v4 = cocos2d::CCArray::count(*(this + 91));
cocos2d::CCArray::insertObject(*(this + 91), a2, v4 & ~(v4 >> 31));
BoomScrollLayer::updatePages(this);
return BoomScrollLayer::moveToPage(this, *(this + 115));
}