//
// SetupPortalPopup::onEditCameraSettings from 0x6340d8 to 0x634132 (90 bytes)
//
// 0 xrefs:
//
// 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:55:19 +0000
//
unsigned int __fastcall SetupPortalPopup::onEditCameraSettings(SetupPortalPopup *this, cocos2d::CCObject *a2)
{
unsigned int v3; // r5
char v4; // r3
int v5; // r0
v3 = *((_DWORD *)this + 131);
v4 = *((_BYTE *)this + 561) ^ 1;
*((_BYTE *)this + 561) = v4;
if ( v3 )
{
*(_BYTE *)(v3 + 1565) = v4;
}
else
{
while ( v3 < cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 130)) )
{
v5 = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 130), v3++);
*(_BYTE *)(v5 + 1565) = *((_BYTE *)this + 561);
}
}
if ( *((_BYTE *)this + 561) )
{
SetupPortalPopup::updateCameraEasing((unsigned int)this);
SetupPortalPopup::updateCameraPadding((unsigned int)this);
}
return SetupPortalPopup::updateItemVisibility((cocos2d::CCArray **)this);
}