//
// SetupPortalPopup::updateItemVisibility from 0x969cb0 to 0x969d3c (140 bytes)
//
// 5 xrefs:
// > SetupPortalPopup::onUnboundMode @ 0x969d70
// > SetupPortalPopup::onUnboundMode @ 0x969db0
// > SetupPortalPopup::init @ 0x96a654
// > SetupPortalPopup::onEditCameraSettings @ 0x96aa84
// > ??> @ 0x6e1f0
//
// 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 SetupPortalPopup::updateItemVisibility(SetupPortalPopup *a1)
{
unsigned int v2; // w20
__int64 v3; // x0
bool v4; // cf
unsigned int v5; // w1
unsigned int v6; // w20
__int64 v7; // x0
unsigned int v8; // w1
v2 = 0;
while ( 1 )
{
v4 = v2 >= (unsigned int)cocos2d::CCArray::count(a1->m_freeModeObjects);
v5 = v2++;
if ( v4 )
break;
v3 = cocos2d::CCArray::objectAtIndex(a1->m_freeModeObjects, v5);
(*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v3 + 328LL))(v3, a1->m_freeMode);
}
v6 = 0;
while ( 1 )
{
v4 = v6 >= (unsigned int)cocos2d::CCArray::count(a1->m_cameraSettingsObjects);
v8 = v6++;
if ( v4 )
break;
v7 = cocos2d::CCArray::objectAtIndex(a1->m_cameraSettingsObjects, v8);
(*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v7 + 328LL))(v7, a1->m_cameraSettingsEnabled);
}
}