//
// LevelEditorLayer::updateAnimateOnTriggerObjects from 0x6622e8 to 0x66237c (148 bytes)
//
// 4 xrefs:
// > LevelEditorLayer::onStopPlaytest @ 0x662a74
// > LevelEditorLayer::onPlaytest @ 0x664260
// > LevelEditorLayer::init @ 0x67cb80
// > ??> @ 0x8ceb0
//
// 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::updateAnimateOnTriggerObjects(LevelEditorLayer *a1, bool a2)
{
cocos2d::CCArray *m_objects; // x0
_BOOL4 v3; // w22
cocos2d::ccArray *data; // x1
cocos2d::CCObject **arr; // x19
cocos2d::CCObject **i; // x21
cocos2d::CCObject *v7; // x20
m_objects = a1->m_objects;
v3 = a2;
if ( m_objects )
{
data = m_objects->data;
if ( data->num )
{
arr = data->arr;
for ( i = &arr[data->num - 1]; i >= arr; ++arr )
{
v7 = *arr;
if ( !*arr )
break;
if ( ((unsigned __int8 (__fastcall *)(cocos2d::CCObject *))v7->__vftable[21].acceptVisitor)(*arr) )
v7->__vftable[23].copyWithZone(v7, (cocos2d::CCZone *)v3);
}
}
}
}