//
// SetupTriggerPopup::getPageContainer from 0xb1b058 to 0xb1b0b0 (88 bytes)
//
// 22 xrefs:
// > SetupTriggerPopup::addObjectToPage @ 0xb1b214
// > SetupTriggerPopup::addObjectsToPage @ 0xb1b23c
// > SetupTriggerPopup::removeObjectFromPage @ 0xb1b264
// > SetupTriggerPopup::addCustomButton @ 0xb1c150
// > SetupTriggerPopup::addEasePreviewButton @ 0xb1df48
// > SetupTriggerPopup::createToggleValueControlAdvanced @ 0xb1f1b0
// > SetupTriggerPopup::createCustomToggleValueControl @ 0xb1f574
// > SetupTriggerPopup::createValueControlAdvanced @ 0xb1f8c4
// > SetupTriggerPopup::createPlusButton @ 0xb209dc
// > SetupTriggerPopup::createCustomButton @ 0xb20b6c
// > SetupTriggerPopup::createEasingControls @ 0xb2184c
// > SetupTriggerPopup::createCustomEasingControls @ 0xb22150
// > SetupAreaMoveTriggerPopup::addAreaDefaultControls @ 0xb3eba4
// > SetupAudioTriggerPopup::addProxVolControls @ 0xb6e1e4
// > TabbedPopupLayer::ensurePopupPage @ 0xc39458
// > AccountBanPopup::init @ 0xc93bb4
// > AccountBanPopup::init @ 0xc940d0
// > AccountBanPopup::init @ 0xc945d4
// > AccountBanPopup::init @ 0xc94ad8
// > AccountBanPopup::init @ 0xc94fd4
// > AccountBanPopup::init @ 0xc95434
// > ??> @ 0x65cf8
//
// 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 13:01:34 +0000
//
__int64 __fastcall SetupTriggerPopup::getPageContainer(cocos2d::CCArray **this, unsigned int a2)
{
cocos2d::CCArray *v4; // x20
cocos2d::CCObject *v5; // x0
cocos2d::CCArray *v6; // x0
while ( 1 )
{
v6 = (cocos2d::CCArray *)cocos2d::CCArray::count(*(this + 114));
if ( (unsigned int)v6 > a2 )
break;
v4 = *(this + 114);
v5 = (cocos2d::CCObject *)cocos2d::CCArray::create(v6);
cocos2d::CCArray::addObject(v4, v5);
}
return cocos2d::CCArray::objectAtIndex(*(this + 114), a2);
}