//
// cocos2d::CCTintBy::startWithTarget from 0x180036e70 to 0x180036ee6 (118 bytes)
//
// 3 xrefs:
// > ??> @ 0x1800efe18
// > ??> @ 0x18014cf68
// > ??> @ 0x1801baa5c
//
// 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::CCTintBy::startWithTarget(cocos2d::CCTintBy *this, struct cocos2d::CCNode *a2)
{
__int64 v4; // rax
__int64 v5; // rax
__int16 v6; // cx
__int16 v7; // dx
cocos2d::CCAction::startWithTarget(this, a2);
*((_BYTE *)this + 92) = 1;
*((_DWORD *)this + 22) = 0;
v4 = _RTDynamicCast(
a2,
0,
&cocos2d::CCNode `RTTI Type Descriptor',
&cocos2d::CCRGBAProtocol `RTTI Type Descriptor',
0);
if ( v4 )
{
v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 8LL))(v4);
v6 = *(_WORD *)v5;
v7 = *(unsigned __int8 *)(v5 + 2);
*((_WORD *)this + 51) = (unsigned __int8)*(_WORD *)v5;
*((_WORD *)this + 52) = HIBYTE(v6);
*((_WORD *)this + 53) = v7;
}
}