//
// LevelEditorLayer::updateKeyframeObjects from 0x3694cc to 0x369516 (74 bytes)
//
// 2 xrefs:
// > LevelEditorLayer::updateVisibility @ 0x3697ce
// > EditorUI::onPause @ 0x387518
//
// 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 LevelEditorLayer::updateKeyframeObjects(LevelEditorLayer *a1)
{
PlaybackMode m_playbackMode; // r4
cocos2d::CCArray **p_m_keyframeObjects; // r5
EditorUI **p_m_editorUI; // r7
KeyframeGameObject *v5; // r0
m_playbackMode = a1->m_playbackMode;
if ( m_playbackMode == Not )
{
p_m_keyframeObjects = &a1->m_keyframeObjects;
p_m_editorUI = &a1->m_editorUI;
while ( (unsigned int)m_playbackMode < cocos2d::CCArray::count(*p_m_keyframeObjects) )
{
v5 = (KeyframeGameObject *)cocos2d::CCArray::objectAtIndex(*p_m_keyframeObjects, m_playbackMode);
if ( v5->m_keyframeActive )
{
v5->m_keyframeActive = 0;
KeyframeGameObject::updateShadowObjects(v5, a1, *p_m_editorUI);
}
++m_playbackMode;
}
}
}