//
// GJBaseGameLayer::playAnimationCommand from 0x470e70 to 0x470eb0 (64 bytes)
//
// 1 xrefs:
// > EffectGameObject::triggerObject @ 0x3ee166
//
// 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 GJBaseGameLayer::playAnimationCommand(GJBaseGameLayer *a1, int a2, int a3)
{
unsigned int v4; // r4
cocos2d::CCArray *Group; // r5
int v6; // r0
if ( a3 > 0 )
{
v4 = 0;
Group = GJBaseGameLayer::getGroup(a1, a3);
while ( v4 < cocos2d::CCArray::count(Group) )
{
v6 = cocos2d::CCArray::objectAtIndex(Group, v4);
if ( *(_DWORD *)(v6 + 1076) == 2 )
AnimatedGameObject::playAnimation((AnimatedGameObject *)v6, a2);
else
(*(void (__fastcall **)(int))(*(_DWORD *)v6 + 752))(v6);
++v4;
}
}
}