//
// cocos2d::CCSequence::create from 0x10021d4c8 to 0x10021d564 (156 bytes)
//
// 2 xrefs:
// > RewardUnlockLayer::playRewardEffect @ 0x10025c540
// > GJPathPage::playUnlockAnimation @ 0x10046127c
//
// 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:06 +0000
//
_OWORD *__fastcall cocos2d::CCSequence::create(__int64 a1)
{
int v2; // w0
int v3; // w20
_OWORD *v4; // x21
_OWORD *v5; // x1
__int64 v7; // x22
__int64 v8; // x0
v2 = sub_1002E757C(a1);
if ( !v2 )
return nullptr;
v3 = v2;
v4 = (_OWORD *)sub_1002E75A0(a1, 0);
if ( v3 == 1 )
{
v5 = sub_10021D098();
return cocos2d::CCSequence::createWithTwoActions((__int64)v4, (__int64)v5);
}
v7 = 1;
do
{
v8 = sub_1002E75A0(a1, v7);
v4 = cocos2d::CCSequence::createWithTwoActions((__int64)v4, v8);
v7 = (unsigned int)(v7 + 1);
}
while ( v3 != (_DWORD)v7 );
return v4;
}