//
// SetupCameraModePopup::onEditCameraSettings from 0x140414e60 to 0x140414f0a (170 bytes)
//
// 4 xrefs:
// > SetupCameraModePopup::init @ 0x1404146c7
// > ??> @ 0x14069fa14
// > ??> @ 0x14069fa24
// > ??> @ 0x1406d8e58
//
// 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 SetupCameraModePopup::onEditCameraSettings(SetupCameraModePopup *a1, cocos2d::CCObject *a2)
{
bool v3; // cl
EffectGameObject *m_gameObject; // rax
unsigned int i; // edi
struct cocos2d::CCObject *v6; // rax
v3 = !a1->m_cameraSettingsEnabled;
a1->m_cameraSettingsEnabled = v3;
m_gameObject = a1->m_gameObject;
if ( m_gameObject )
{
m_gameObject->m_cameraEditCameraSettings = v3;
}
else
{
for ( i = 0; i < cocos2d::CCArray::count(a1->m_gameObjects); BYTE1(v6[31].m_eObjType) = a1->m_cameraSettingsEnabled )
v6 = cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, i++);
}
if ( a1->m_cameraSettingsEnabled )
{
SetupCameraModePopup::updateCameraEasing(a1);
SetupCameraModePopup::updateCameraPadding(a1);
}
SetupCameraModePopup::updateItemVisibility(a1);
}