//
// cocos2d::CCTintTo::startWithTarget from 0x180036ef0 to 0x180036f49 (89 bytes)
//
// 3 xrefs:
// > ??> @ 0x1800efda0
// > ??> @ 0x18014cf68
// > ??> @ 0x1801baa68
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:21:35 +0000
//
void __fastcall cocos2d::CCTintTo::startWithTarget(cocos2d::CCTintTo *this, struct cocos2d::CCNode *a2)
{
__int64 v3; // rcx
__int64 v4; // rax
__int64 v5; // rax
cocos2d::CCAction::startWithTarget(this, a2);
v3 = *((_QWORD *)this + 8);
*((_BYTE *)this + 92) = 1;
*((_DWORD *)this + 22) = 0;
v4 = _RTDynamicCast(
v3,
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);
}
}