//
// LevelEditorLayer::updateAnimateOnTriggerObjects from 0x100359194 to 0x100359214 (128 bytes)
//
// 3 xrefs:
// > LevelEditorLayer::init @ 0x10035774c
// > LevelEditorLayer::onPlaytest @ 0x100362d00
// > LevelEditorLayer::onStopPlaytest @ 0x100363510
//
// 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
//
// local variable allocation has failed, the output may be wrong!
void __fastcall LevelEditorLayer::updateAnimateOnTriggerObjects(LevelEditorLayer *a1, bool a2)
{
cocos2d::CCArray *m_objects; // x8
cocos2d::ccArray *data; // x9
__int64 num; // x8
_BOOL8 v5; // x19
cocos2d::CCObject **arr; // x21
unsigned __int64 v7; // x22
cocos2d::CCObject *v8; // x20
m_objects = a1->m_objects;
if ( m_objects )
{
data = m_objects->data;
num = data->num;
if ( (_DWORD)num )
{
v5 = a2;
arr = data->arr;
v7 = (unsigned __int64)&arr[num - 1];
do
{
v8 = *arr;
if ( !*arr )
break;
if ( ((unsigned int (__fastcall *)(cocos2d::CCObject *))v8->__vftable[21].acceptVisitor)(*arr) )
((void (__fastcall *)(cocos2d::CCObject *, _BOOL8))v8->__vftable[23].copyWithZone)(v8, v5);
++arr;
}
while ( (unsigned __int64)arr <= v7 );
}
}
}