//
// GJBaseGameLayer::playAnimationCommand from 0x1002861c8 to 0x100286250 (136 bytes)
//
// 1 xrefs:
// > EffectGameObject::triggerObject @ 0x10042bcc4
//
// 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 11:01:58 +0000
//
__int64 __fastcall GJBaseGameLayer::playAnimationCommand(__int64 result, __int64 a2, int a3)
{
__int64 Group; // x20
__int64 v4; // x21
_DWORD *v5; // x0
if ( a3 >= 1 )
{
Group = GJBaseGameLayer::getGroup(result, a3);
result = sub_1002E757C(Group);
if ( (_DWORD)result )
{
v4 = 0;
do
{
v5 = (_DWORD *)sub_1002E75A0(Group, v4);
if ( v5[312] == 2 )
sub_10042B060();
else
(*(void (__fastcall **)(_DWORD *))(*(_QWORD *)v5 + 1520LL))(v5);
v4 = (unsigned int)(v4 + 1);
result = sub_1002E757C(Group);
}
while ( (unsigned int)v4 < (unsigned int)result );
}
}
return result;
}