//
// cocos2d::CCTintTo::startWithTarget from 0x5b6504 to 0x5b653a (54 bytes)
//
// 0 xrefs:
//
// 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; // r0
void *v4; // r0
int v5; // r0
char v6; // r3
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 = (*(int (__fastcall **)(void *))(*(_DWORD *)v4 + 4))(v4);
v6 = *(_BYTE *)(v5 + 2);
LOWORD(a1[1].__vftable) = *(_WORD *)v5;
BYTE2(a1[1].__vftable) = v6;
}
}
}