//
// SetupCameraModePopup::updateItemVisibility from 0x1003aae14 to 0x1003aaeb0 (156 bytes)
//
// 3 xrefs:
// > SetupCameraModePopup::init @ 0x1003aaaec
// > SetupCameraModePopup::onUnboundMode @ 0x1003aac24
// > SetupCameraModePopup::onEditCameraSettings @ 0x1003aacb8
//
// 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 __fastcall SetupCameraModePopup::updateItemVisibility(SetupCameraModePopup *a1)
{
unsigned int v2; // w20
__int64 v3; // x0
unsigned int v4; // w20
__int64 v5; // x0
if ( (unsigned int)sub_10024A36C((__int64)a1->m_freeModeObjects) )
{
v2 = 0;
do
{
v3 = sub_10024A388((__int64)a1->m_freeModeObjects, v2);
(*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v3 + 328LL))(v3, a1->m_freeMode);
++v2;
}
while ( v2 < (unsigned int)sub_10024A36C((__int64)a1->m_freeModeObjects) );
}
if ( (unsigned int)sub_10024A36C((__int64)a1->m_cameraSettingsObjects) )
{
v4 = 0;
do
{
v5 = sub_10024A388((__int64)a1->m_cameraSettingsObjects, v4);
(*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v5 + 328LL))(v5, a1->m_cameraSettingsEnabled);
++v4;
}
while ( v4 < (unsigned int)sub_10024A36C((__int64)a1->m_cameraSettingsObjects) );
}
}