//
// cocos2d::CCTintBy::startWithTarget from 0x180036790 to 0x180036803 (115 bytes)
//
// 3 xrefs:
// > ??> @ 0x1800e9db8
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b0930
//
// 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::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);
this->m_bFirstTick = 1;
this->m_elapsed = 0.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;
}
}