//
// SetupCameraOffsetTrigger::updateDuration from 0x1001909bc to 0x100190a24 (104 bytes)
//
// 2 xrefs:
// > SetupCameraOffsetTrigger::sliderChanged @ 0x10018fdd8
// > SetupCameraOffsetTrigger::textChanged @ 0x100190ce8
//
// 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 SetupCameraOffsetTrigger::updateDuration(SetupCameraOffsetTrigger *a1)
{
EffectGameObject *m_gameObject; // x8
__int64 v3; // x20
m_gameObject = a1->m_gameObject;
if ( m_gameObject )
{
m_gameObject->m_duration = a1->m_moveTime;
}
else if ( (unsigned int)sub_10024A36C(a1->m_gameObjects) )
{
v3 = 0;
do
{
*(float *)(sub_10024A388(a1->m_gameObjects, v3) + 1452) = a1->m_moveTime;
v3 = (unsigned int)(v3 + 1);
}
while ( (unsigned int)v3 < (unsigned int)sub_10024A36C(a1->m_gameObjects) );
}
}