//
// GJBaseGameLayer::playKeyframeAnimation from 0x100286250 to 0x100286378 (296 bytes)
//
// 1 xrefs:
// > EffectGameObject::triggerObject @ 0x10042c1b4
//
// 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::playKeyframeAnimation(__int64 a1, __int64 a2, void **a3)
{
__int64 Group; // x0
unsigned int *v7; // x9
__int64 v8; // x8
_QWORD *v9; // x23
unsigned __int64 v10; // x24
_DWORD *v11; // x25
__int64 v12; // x0
__int64 v13; // x22
__int64 MainObject; // x3
int v15; // w1
int v17; // [xsp+Ch] [xbp-74h] BYREF
_QWORD v18[4]; // [xsp+10h] [xbp-70h] BYREF
int v19; // [xsp+30h] [xbp-50h]
Group = GJBaseGameLayer::getGroup(a1, *(_DWORD *)(a2 + 1652));
memset(v18, 0, sizeof(v18));
v19 = 1065353216;
if ( Group )
{
v7 = *(unsigned int **)(Group + 56);
v8 = *v7;
if ( (_DWORD)v8 )
{
v9 = *((_QWORD **)v7 + 2);
v10 = (unsigned __int64)&v9[v8 - 1];
do
{
v11 = (_DWORD *)*v9;
if ( !*v9 )
break;
if ( v11[257] == 3032 )
{
v17 = v11[464];
if ( !sub_100019268(v18, &v17) )
{
sub_10001CC04((unsigned __int64)v18, &v17, &v17);
cocos2d::CCDictionary::objectForKey_1(*(_QWORD *)(a1 + 13272), v17);
v13 = v12;
MainObject = GJBaseGameLayer::tryGetMainObject(a1);
v15 = *(_DWORD *)(a2 + 1464);
if ( !v15 )
v15 = v11[366];
sub_100011010(
*(_QWORD *)(a1 + 2152),
v15,
v13,
MainObject,
*(_DWORD *)(a2 + 916),
*(_DWORD *)(a2 + 1672),
0,
a3,
*(float *)(a2 + 1844),
*(float *)(a2 + 1848),
*(float *)(a2 + 1852),
*(float *)(a2 + 1856),
*(float *)(a2 + 1860),
*(float *)(a2 + 1840));
}
}
++v9;
}
while ( (unsigned __int64)v9 <= v10 );
}
}
return sub_1000184EC((__int64)v18);
}