//
// SetupTriggerPopup::getPageContainer from 0x140474340 to 0x1404743a1 (97 bytes)
//
// 16 xrefs:
// > SetupRotateCommandPopup::init @ 0x1402a89c6
// > SetupAdvFollowPopup::init @ 0x14040312d
// > SetupAdvFollowPopup::init @ 0x14040551a
// > SetupAreaMoveTriggerPopup::addAreaDefaultControls @ 0x14040c74d
// > SetupAreaMoveTriggerPopup::addAreaDefaultControls @ 0x14040cdad
// > SetupAreaTintTriggerPopup::init @ 0x14041008d
// > SetupEnterEffectPopup::init @ 0x14041f9ee
// > SetupSongTriggerPopup::init @ 0x14045d298
// > SetupSongTriggerPopup::init @ 0x14045d354
// > SetupSpawnPopup::init @ 0x14045ea35
// > SetupSpawnPopup::init @ 0x14045eb5c
// > SetupSpawnPopup::init @ 0x14045ecf9
// > SetupSpawnPopup::init @ 0x14045eda2
// > SetupSpawnPopup::updateRemapButtons @ 0x14045f2ca
// > SetupSpawnPopup::updateRemapButtons @ 0x14045f873
// > ??> @ 0x1406db420
//
// 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
//
cocos2d::CCArray *SetupTriggerPopup::getPageContainer(SetupTriggerPopup *a1, int a2)
{
__int64 v4; // rcx
struct cocos2d::CCObject *v5; // rax
while ( cocos2d::CCArray::count(a1->m_pageContainers) <= a2 )
{
v5 = (struct cocos2d::CCObject *)cocos2d::CCArray::create(v4);
cocos2d::CCArray::addObject(a1->m_pageContainers, v5);
}
return (cocos2d::CCArray *)cocos2d::CCArray::objectAtIndex(a1->m_pageContainers, a2);
}