//
// LevelEditorLayer::updateKeyframeObjects from 0x662bc0 to 0x662c38 (120 bytes)
//
// 3 xrefs:
// > LevelEditorLayer::updateVisibility @ 0x663124
// > EditorUI::onPause @ 0x6962fc
// > ??> @ 0x3e8f8
//
// 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)
{
unsigned int v2; // w19
bool v3; // cf
unsigned int v4; // w1
KeyframeGameObject *v5; // x0
EditorUI *m_editorUI; // x2
v2 = 0;
if ( a1->m_playbackMode == Not )
{
while ( 1 )
{
v3 = v2 >= (unsigned int)cocos2d::CCArray::count(a1->m_keyframeObjects);
v4 = v2++;
if ( v3 )
break;
while ( 1 )
{
v5 = (KeyframeGameObject *)cocos2d::CCArray::objectAtIndex(a1->m_keyframeObjects, v4);
if ( !v5->m_keyframeActive )
break;
m_editorUI = a1->m_editorUI;
v5->m_keyframeActive = 0;
KeyframeGameObject::updateShadowObjects(v5, a1, m_editorUI);
v3 = v2 >= (unsigned int)cocos2d::CCArray::count(a1->m_keyframeObjects);
v4 = v2++;
if ( v3 )
return;
}
}
}
}