//
// SetupPortalPopup::updateCameraEasing from 0x5033b8 to 0x503400 (72 bytes)
//
// 2 xrefs:
// > SetupPortalPopup::onEditCameraSettings @ 0x503c2a
// > SetupPortalPopup::sliderChanged @ 0x503c84
//
// 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 SetupPortalPopup::updateCameraEasing(SetupPortalPopup *a1)
{
cocos2d::CCArray *m_gameObjects; // r4
int v3; // r0
m_gameObjects = a1->m_gameObjects;
if ( m_gameObjects )
{
*(float *)&m_gameObjects[27].m_unknown5 = (float)a1->m_cameraEasing;
}
else
{
while ( (unsigned int)m_gameObjects < cocos2d::CCArray::count((cocos2d::CCArray *)a1->m_gameObject) )
{
v3 = cocos2d::CCArray::objectAtIndex((cocos2d::CCArray *)a1->m_gameObject, (unsigned int)m_gameObjects);
m_gameObjects = (cocos2d::CCArray *)((char *)m_gameObjects + 1);
*(float *)(v3 + 1560) = (float)a1->m_cameraEasing;
}
}
}