//
// LevelEditorLayer::updateAnimateOnTriggerObjects from 0x78d8c4 to 0x78d958 (148 bytes)
//
// 4 xrefs:
// > LevelEditorLayer::onStopPlaytest @ 0x78e060
// > LevelEditorLayer::onPlaytest @ 0x796504
// > LevelEditorLayer::init @ 0x7af3d0
// > ??> @ 0xbaa00
//
// 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:27 +0000
//
__int64 __fastcall LevelEditorLayer::updateAnimateOnTriggerObjects(LevelEditorLayer *this, unsigned __int8 a2)
{
unsigned int v2; // w22
__int64 result; // x0
unsigned int *v4; // x1
_QWORD *v5; // x19
_QWORD *i; // x21
__int64 v7; // x20
v2 = a2;
result = *((_QWORD *)this + 410);
if ( result )
{
v4 = *(unsigned int **)(result + 56);
result = *v4;
if ( (_DWORD)result )
{
v5 = *((_QWORD **)v4 + 2);
for ( i = &v5[(unsigned int)result - 1]; i >= v5; ++v5 )
{
v7 = *v5;
if ( !*v5 )
break;
result = (*(unsigned __int8 (__fastcall **)(_QWORD))(*(_QWORD *)v7 + 1728LL))(*v5);
if ( (_BYTE)result )
result = (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v7 + 1856LL))(v7, v2);
}
}
}
return result;
}