//
// SetupPortalPopup::updateItemVisibility from 0x5032e8 to 0x50333e (86 bytes)
//
// 3 xrefs:
// > SetupPortalPopup::onUnboundMode @ 0x503382
// > SetupPortalPopup::init @ 0x503a5a
// > SetupPortalPopup::onEditCameraSettings @ 0x503c3a
//
// 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 i; // r5
int v3; // r0
unsigned int j; // r5
int v5; // r0
for ( i = 0; i < cocos2d::CCArray::count(a1->m_freeModeObjects); ++i )
{
v3 = cocos2d::CCArray::objectAtIndex(a1->m_freeModeObjects, i);
(*(void (__fastcall **)(int, bool))(*(_DWORD *)v3 + 164))(v3, a1->m_freeMode);
}
for ( j = 0; j < cocos2d::CCArray::count(a1->m_cameraSettingsObjects); ++j )
{
v5 = cocos2d::CCArray::objectAtIndex(a1->m_cameraSettingsObjects, j);
(*(void (__fastcall **)(int, bool))(*(_DWORD *)v5 + 164))(v5, a1->m_cameraSettingsEnabled);
}
}