//
// cocos2d::CCTintTo::startWithTarget from 0x1003bb670 to 0x1003bb6cf (95 bytes)
//
// 1 xrefs:
// > ??> @ 0x10092a858
//
// 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::CCTintTo::startWithTarget(cocos2d::CCTintTo *a1, cocos2d::CCNode *a2)
{
cocos2d::CCNode *m_pTarget; // rdi
void *v4; // rax
__int64 v5; // rax
cocos2d::CCAction::startWithTarget(a1, a2);
a1->m_elapsed = 0.0;
a1->m_bFirstTick = 1;
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);
}
}
}