//
// LevelEditorLayer::updateKeyframeObjects from 0x78e1ac to 0x78e224 (120 bytes)
//
// 3 xrefs:
// > LevelEditorLayer::updateVisibility @ 0x78e728
// > EditorUI::onPause @ 0x7cea6c
// > ??> @ 0x5a478
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:53:28 +0000
//
__int64 __fastcall LevelEditorLayer::updateKeyframeObjects(cocos2d::CCArray **this)
{
unsigned int v2; // w19
__int64 result; // x0
bool v4; // cf
unsigned int v5; // w1
KeyframeGameObject *v6; // x0
v2 = 0;
result = *((unsigned int *)this + 493);
if ( !(_DWORD)result )
{
while ( 1 )
{
result = cocos2d::CCArray::count(*(this + 1762));
v4 = v2 >= (unsigned int)result;
v5 = v2++;
if ( v4 )
break;
while ( 1 )
{
v6 = (KeyframeGameObject *)cocos2d::CCArray::objectAtIndex(*(this + 1762), v5);
if ( !*((_BYTE *)v6 + 1881) )
break;
*((_BYTE *)v6 + 1881) = 0;
KeyframeGameObject::updateShadowObjects(v6, (GJBaseGameLayer *)this, *(this + 1781));
result = cocos2d::CCArray::count(*(this + 1762));
v4 = v2 >= (unsigned int)result;
v5 = v2++;
if ( v4 )
return result;
}
}
}
return result;
}