//
// cocos2d::CCFadeTo::startWithTarget from 0x10021fff8 to 0x10022005c (100 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008fc508
//
// 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:07 +0000
//
void *__fastcall cocos2d::CCFadeTo::startWithTarget(__int64 a1, const void *a2)
{
void *result; // x0
result = (void *)cocos2d::CCAction::startWithTarget();
*(_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 *)&off_1008BD768,
-2);
if ( result )
{
result = (void *)(*(__int64 (__fastcall **)(void *))(*(_QWORD *)result + 32LL))(result);
*(_BYTE *)(a1 + 90) = (_BYTE)result;
}
}
return result;
}