//
// LevelEditorLayer::updateKeyframeObjects from 0x462c24 to 0x462c6e (74 bytes)
//
// 2 xrefs:
// > LevelEditorLayer::updateVisibility @ 0x462f3c
// > EditorUI::onPause @ 0x48a0dc
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:48:54 +0000
//
unsigned int __fastcall LevelEditorLayer::updateKeyframeObjects(unsigned int this)
{
GJBaseGameLayer *v1; // r6
unsigned int v2; // r4
cocos2d::CCArray **v3; // r5
EditorUI **v4; // r7
KeyframeGameObject *v5; // r0
v1 = (GJBaseGameLayer *)this;
v2 = *(_DWORD *)(this + 1428);
if ( !v2 )
{
v3 = (cocos2d::CCArray **)(this + 11756);
v4 = (EditorUI **)(this + 11856);
while ( 1 )
{
this = cocos2d::CCArray::count(*v3);
if ( v2 >= this )
break;
v5 = (KeyframeGameObject *)cocos2d::CCArray::objectAtIndex(*v3, v2);
if ( *((_BYTE *)v5 + 1681) )
{
*((_BYTE *)v5 + 1681) = 0;
KeyframeGameObject::updateShadowObjects(v5, v1, *v4);
}
++v2;
}
}
return this;
}