//
// SetupPortalPopup::onEditCameraSettings from 0xab0ad8 to 0xab0b5c (132 bytes)
//
// 3 xrefs:
// > ??> @ 0x52150
// > SetupPortalPopup::init @ 0xab1060
// > ??> @ 0x1541c60
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:00:56 +0000
//
__int64 __fastcall SetupPortalPopup::onEditCameraSettings(SetupPortalPopup *this, cocos2d::CCObject *a2)
{
__int64 v3; // x1
char v4; // w0
unsigned int v6; // w20
bool v7; // cf
unsigned int v8; // w1
v3 = *((_QWORD *)this + 84);
v4 = *((_BYTE *)this + 741) ^ 1;
*((_BYTE *)this + 741) = v4;
if ( v3 )
{
*(_BYTE *)(v3 + 1749) = v4;
}
else
{
v6 = 0;
while ( 1 )
{
v7 = v6 >= (unsigned int)cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 83));
v8 = v6++;
if ( v7 )
break;
*(_BYTE *)(cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 83), v8) + 1749) = *((_BYTE *)this + 741);
}
}
if ( *((_BYTE *)this + 741) )
{
SetupPortalPopup::updateCameraEasing(this);
SetupPortalPopup::updateCameraPadding(this);
}
return SetupPortalPopup::updateItemVisibility((cocos2d::CCArray **)this);
}