//
// SetupPortalPopup::updateItemVisibility from 0x100570820 to 0x1005708cb (171 bytes)
//
// 3 xrefs:
// > SetupPortalPopup::init @ 0x1005700d3
// > SetupPortalPopup::onUnboundMode @ 0x100570447
// > SetupPortalPopup::onEditCameraSettings @ 0x1005705aa
//
// 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 SetupPortalPopup::updateItemVisibility(SetupPortalPopup *a1)
{
unsigned int v1; // r14d
__int64 v2; // rax
unsigned int v3; // r14d
__int64 v4; // rax
if ( (unsigned int)sub_100720070(a1->m_freeModeObjects) )
{
v1 = 0;
do
{
v2 = sub_1007200C0(a1->m_freeModeObjects, v1);
(*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v2 + 328LL))(v2, a1->m_freeMode);
++v1;
}
while ( v1 < (unsigned int)sub_100720070(a1->m_freeModeObjects) );
}
if ( (unsigned int)sub_100720070(a1->m_cameraSettingsObjects) )
{
v3 = 0;
do
{
v4 = sub_1007200C0(a1->m_cameraSettingsObjects, v3);
(*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v4 + 328LL))(v4, a1->m_cameraSettingsEnabled);
++v3;
}
while ( v3 < (unsigned int)sub_100720070(a1->m_cameraSettingsObjects) );
}
}