//
// cocos2d::CCTintTo::startWithTarget from 0x180036810 to 0x180036866 (86 bytes)
//
// 3 xrefs:
// > ??> @ 0x1800e9d40
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b093c
//
// 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 *this, struct cocos2d::CCNode *a2)
{
cocos2d::CCNode *m_pTarget; // rcx
__int64 v4; // rax
__int64 v5; // rax
cocos2d::CCAction::startWithTarget(this, a2);
m_pTarget = this->m_pTarget;
this->m_bFirstTick = 1;
this->m_elapsed = 0.0;
v4 = _RTDynamicCast(
m_pTarget,
0,
&cocos2d::CCNode `RTTI Type Descriptor',
&cocos2d::CCRGBAProtocol `RTTI Type Descriptor',
0);
if ( v4 )
{
v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 8LL))(v4);
*(_WORD *)((char *)this + 99) = *(_WORD *)v5;
*((_BYTE *)this + 101) = *(_BYTE *)(v5 + 2);
}
}