//
// cocos2d::CCFadeTo::startWithTarget from 0x1003a4760 to 0x1003a47b5 (85 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b32f70
//
// 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
//
void *__fastcall cocos2d::CCFadeTo::startWithTarget(__int64 a1, const void *a2)
{
void *result; // rax
result = (void *)cocos2d::CCAction::startWithTarget(a1);
*(_DWORD *)(a1 + 84) = 0;
*(_BYTE *)(a1 + 88) = 1;
if ( a2 )
{
result = __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 = (void *)(*(__int64 (__fastcall **)(void *))(*(_QWORD *)result + 32LL))(result);
*(_BYTE *)(a1 + 90) = (_BYTE)result;
}
}
return result;
}