//
// SetupTriggerPopup::getPageContainer from 0x1002357a0 to 0x1002357ff (95 bytes)
//
// 2 xrefs:
// > SetupAudioTriggerPopup::addProxVolControls @ 0x1004b73f7
// > SetupAreaMoveTriggerPopup::addAreaDefaultControls @ 0x1004d4079
//
// 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
//
// local variable allocation has failed, the output may be wrong!
cocos2d::CCArray *__fastcall SetupTriggerPopup::getPageContainer(SetupTriggerPopup *a1, int a2)
{
unsigned int v2; // ebx
cocos2d::CCArray *m_pageContainers; // rdi
cocos2d::CCArray *v5; // r15
v2 = a2;
m_pageContainers = a1->m_pageContainers;
if ( (unsigned int)sub_100720070(m_pageContainers) <= a2 )
{
do
{
v5 = a1->m_pageContainers;
*(_QWORD *)&a2 = sub_10071F9E0(m_pageContainers, *(_QWORD *)&a2);
sub_10071FCD0(v5, *(_QWORD *)&a2);
m_pageContainers = a1->m_pageContainers;
}
while ( (unsigned int)sub_100720070(m_pageContainers) <= v2 );
}
return (cocos2d::CCArray *)sub_1007200C0(a1->m_pageContainers, v2);
}