//
// cocos2d::CCAnimate::startWithTarget from 0x1002208a0 to 0x10022090c (108 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008fbc10
//
// 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:08 +0000
//
_DWORD *__fastcall cocos2d::CCAnimate::startWithTarget(__int64 a1, __int64 a2)
{
_DWORD *result; // x0
__int64 v5; // x0
cocos2d::CCAction::startWithTarget();
*(_DWORD *)(a1 + 84) = 0;
*(_BYTE *)(a1 + 88) = 1;
result = *(_DWORD **)(a1 + 120);
if ( result )
result = cocos2d::CCObject::release(result);
if ( *(_BYTE *)(*(_QWORD *)(a1 + 96) + 80LL) == 1 )
{
v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 1176LL))(a2);
*(_QWORD *)(a1 + 120) = v5;
result = (_DWORD *)cocos2d::CCObject::retain(v5);
}
*(_DWORD *)(a1 + 112) = 0;
*(_DWORD *)(a1 + 128) = 0;
return result;
}