//
// cocos2d::CCFadeTo::startWithTarget from 0x10018cdf8 to 0x10018ce5c (100 bytes)
//
// 1 xrefs:
// > ??> @ 0x1007a5e20
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall cocos2d::CCFadeTo::startWithTarget(cocos2d::CCFadeTo *a1, cocos2d::CCNode *a2)
{
void *v4; // x0
cocos2d::CCAction::startWithTarget(a1, a2);
a1->m_elapsed = 0.0;
a1->m_bFirstTick = 1;
if ( a2 )
{
v4 = __dynamic_cast(
a2,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode,
(const struct __class_type_info *)&off_100770F10,
-2);
if ( v4 )
*(&a1->m_bFirstTick + 2) = (*(__int64 (__fastcall **)(void *))(*(_QWORD *)v4 + 32LL))(v4);
}
}