//
// cocos2d::CCTintBy::startWithTarget from 0xd31ca0 to 0xd31d0c (108 bytes)
//
// 2 xrefs:
// > ??> @ 0x1029e8
// > ??> @ 0x15145b8
//
// This function is hookable on this platform (idp: arm, 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 13:07:21 +0000
//
__int64 __fastcall cocos2d::CCTintBy::startWithTarget(_WORD *a1, const void *a2)
{
__int64 result; // x0
unsigned __int8 *v5; // x0
__int16 v6; // w2
__int16 v7; // w1
result = cocos2d::CCActionInterval::startWithTarget((__int64)a1, (__int64)a2);
if ( a2 )
{
result = (__int64)_dynamic_cast(
a2,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCRGBAProtocol,
-2);
if ( result )
{
v5 = (unsigned __int8 *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)result + 8LL))(result);
v6 = v5[1];
v7 = v5[2];
result = *v5;
a1[48] = result;
a1[49] = v6;
a1[50] = v7;
}
}
return result;
}