//
// GJBaseGameLayer::playAnimationCommand from 0x1001ea5cc to 0x1001ea654 (136 bytes)
//
// 1 xrefs:
// > EffectGameObject::triggerObject @ 0x100385910
//
// 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 __fastcall GJBaseGameLayer::playAnimationCommand(GJBaseGameLayer *a1, int a2, int a3)
{
cocos2d::CCArray *Group; // x20
__int64 v5; // x21
__int64 v6; // x0
if ( a3 >= 1 )
{
Group = GJBaseGameLayer::getGroup(a1, a3);
if ( (unsigned int)sub_10024A36C(Group) )
{
v5 = 0;
do
{
v6 = sub_10024A388(Group, v5);
if ( *(_DWORD *)(v6 + 1248) == 2 )
AnimatedGameObject::playAnimation((AnimatedGameObject *)v6, a2);
else
(*(void (__fastcall **)(__int64))(*(_QWORD *)v6 + 1504LL))(v6);
v5 = (unsigned int)(v5 + 1);
}
while ( (unsigned int)v5 < (unsigned int)sub_10024A36C(Group) );
}
}
}