//
// LevelEditorLayer::updateAnimateOnTriggerObjects from 0x462644 to 0x462688 (68 bytes)
//
// 3 xrefs:
// > LevelEditorLayer::onStopPlaytest @ 0x462b74
// > LevelEditorLayer::onPlaytest @ 0x46833c
// > LevelEditorLayer::init @ 0x476614
//
// 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:53 +0000
//
int __fastcall LevelEditorLayer::updateAnimateOnTriggerObjects(int this, int a2)
{
int v3; // r3
_DWORD *v4; // r2
int *v5; // r4
int *v6; // r5
int v7; // r6
int v8; // t1
v3 = *(_DWORD *)(this + 2088);
if ( v3 )
{
v4 = *(_DWORD **)(v3 + 52);
if ( *v4 )
{
v5 = (int *)v4[3];
v6 = &v5[*v4 - 1];
while ( v5 <= v6 )
{
v8 = *v5++;
v7 = v8;
if ( !v8 )
break;
this = (*(int (__fastcall **)(int))(*(_DWORD *)v7 + 864))(v7);
if ( this )
this = (*(int (__fastcall **)(int, int))(*(_DWORD *)v7 + 928))(v7, a2);
}
}
}
return this;
}