//
// SetupCameraOffsetTrigger::updateDuration from 0x969674 to 0x9696dc (104 bytes)
//
// 3 xrefs:
// > SetupCameraOffsetTrigger::sliderChanged @ 0x969704
// > SetupCameraOffsetTrigger::textChanged @ 0x96985c
// > ??> @ 0x66348
//
// 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 SetupCameraOffsetTrigger::updateDuration(SetupCameraOffsetTrigger *a1)
{
EffectGameObject *m_gameObject; // x1
unsigned int v3; // w20
bool v4; // cf
unsigned int v5; // w1
m_gameObject = a1->m_gameObject;
if ( m_gameObject )
{
m_gameObject->m_duration = a1->m_moveTime;
}
else
{
v3 = 0;
while ( 1 )
{
v4 = v3 >= (unsigned int)cocos2d::CCArray::count(a1->m_gameObjects);
v5 = v3++;
if ( v4 )
break;
*(float *)(cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, v5) + 1436) = a1->m_moveTime;
}
}
}