//
// SetupCameraModePopup::updateItemVisibility from 0x695640 to 0x695696 (86 bytes)
//
// 3 xrefs:
// > SetupCameraModePopup::onUnboundMode @ 0x6956da
// > SetupCameraModePopup::onEditCameraSettings @ 0x69581e
// > SetupCameraModePopup::init @ 0x695eba
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:56:14 +0000
//
unsigned int __fastcall SetupCameraModePopup::updateItemVisibility(cocos2d::CCArray **this)
{
unsigned int i; // r5
int v3; // r0
unsigned int j; // r5
unsigned int result; // r0
int v6; // r0
for ( i = 0; i < cocos2d::CCArray::count(*(this + 178)); ++i )
{
v3 = cocos2d::CCArray::objectAtIndex(*(this + 178), i);
(*(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v3 + 172))(v3, *((unsigned __int8 *)this + 744));
}
for ( j = 0; ; ++j )
{
result = cocos2d::CCArray::count(*(this + 179));
if ( j >= result )
break;
v6 = cocos2d::CCArray::objectAtIndex(*(this + 179), j);
(*(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v6 + 172))(v6, *((unsigned __int8 *)this + 745));
}
return result;
}