//
// cocos2d::CCTintTo::startWithTarget from 0xabfe38 to 0xabfe98 (96 bytes)
//
// 2 xrefs:
// > ??> @ 0x4c7d0
// > ??> @ 0x11fec18
//
// 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 cocos2d::CCTintTo::startWithTarget(cocos2d::CCTintTo *a1, cocos2d::CCNode *a2)
{
cocos2d::CCNode *m_pTarget; // x0
void *v4; // x0
__int64 v5; // x0
cocos2d::CCActionInterval::startWithTarget(a1, a2);
m_pTarget = a1->m_pTarget;
if ( m_pTarget )
{
v4 = _dynamic_cast(
m_pTarget,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCRGBAProtocol,
-2);
if ( v4 )
{
v5 = (*(__int64 (__fastcall **)(void *))(*(_QWORD *)v4 + 8LL))(v4);
*((_WORD *)&a1->m_bFirstTick + 2) = *(_WORD *)v5;
*(&a1->m_bFirstTick + 6) = *(_BYTE *)(v5 + 2);
}
}
}