//
// SetupCameraModePopup::updateItemVisibility from 0xa16234 to 0xa162c0 (140 bytes)
//
// 5 xrefs:
// > SetupCameraModePopup::onUnboundMode @ 0xa162f4
// > SetupCameraModePopup::onUnboundMode @ 0xa16334
// > SetupCameraModePopup::init @ 0xa16bc0
// > SetupCameraModePopup::onEditCameraSettings @ 0xa170e0
// > ??> @ 0xa1ee0
//
// 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 SetupCameraModePopup::updateItemVisibility(SetupCameraModePopup *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);
}
}