//
// cocos2d::CCFadeTo::startWithTarget from 0xd31a90 to 0xd31ae8 (88 bytes)
//
// 2 xrefs:
// > ??> @ 0x9ffd0
// > ??> @ 0x1514498
//
// 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 13:07:21 +0000
//
__int64 __fastcall cocos2d::CCFadeTo::startWithTarget(__int64 a1, const void *a2)
{
__int64 result; // x0
result = cocos2d::CCActionInterval::startWithTarget(a1, (__int64)a2);
if ( a2 )
{
result = (__int64)_dynamic_cast(
a2,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCRGBAProtocol,
-2);
if ( result )
{
result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)result + 32LL))(result);
*(_BYTE *)(a1 + 90) = result;
}
}
return result;
}