//
// cocos2d::CCAnimate::startWithTarget from 0x1003a5bc0 to 0x1003a5c23 (99 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b323d8
//
// This function is hookable on this platform (idp: pc, 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 12:29:21 +0000
//
__int64 __fastcall cocos2d::CCAnimate::startWithTarget(__int64 a1, __int64 a2)
{
__int64 v3; // rdi
__int64 result; // rax
__int64 v5; // rax
cocos2d::CCAction::startWithTarget(a1);
*(_DWORD *)(a1 + 84) = 0;
*(_BYTE *)(a1 + 88) = 1;
v3 = *(_QWORD *)(a1 + 120);
if ( v3 )
cocos2d::CCObject::release(v3);
result = *(_QWORD *)(a1 + 96);
if ( *(_BYTE *)(result + 80) == 1 )
{
v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 1176LL))(a2);
*(_QWORD *)(a1 + 120) = v5;
result = cocos2d::CCObject::retain(v5);
}
*(_DWORD *)(a1 + 112) = 0;
*(_DWORD *)(a1 + 128) = 0;
return result;
}