//
// SetupCameraModePopup::onEditCameraSettings from 0x1003aac28 to 0x1003aacbc (148 bytes)
//
// 1 xrefs:
// > SetupCameraModePopup::init @ 0x1003aa77c
//
// 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 SetupCameraModePopup::onEditCameraSettings(SetupCameraModePopup *a1, cocos2d::CCObject *a2)
{
bool v3; // w8
EffectGameObject *m_gameObject; // x9
unsigned int v5; // w20
v3 = !a1->m_cameraSettingsEnabled;
a1->m_cameraSettingsEnabled = v3;
m_gameObject = a1->m_gameObject;
if ( m_gameObject )
{
m_gameObject->m_cameraEditCameraSettings = v3;
}
else if ( (unsigned int)sub_10024A36C((__int64)a1->m_gameObjects) )
{
v5 = 0;
do
*(_BYTE *)(sub_10024A388((__int64)a1->m_gameObjects, v5++) + 1749) = a1->m_cameraSettingsEnabled;
while ( v5 < (unsigned int)sub_10024A36C((__int64)a1->m_gameObjects) );
}
if ( a1->m_cameraSettingsEnabled )
{
SetupCameraModePopup::updateCameraEasing(a1);
SetupCameraModePopup::updateCameraPadding(a1);
}
SetupCameraModePopup::updateItemVisibility(a1);
}