//
// cocos2d::CCTintTo::startWithTarget from 0xd31b60 to 0xd31bc0 (96 bytes)
//
// 2 xrefs:
// > ??> @ 0x6b578
// > ??> @ 0x1514528
//
// 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
//
void *__fastcall cocos2d::CCTintTo::startWithTarget(__int64 a1, __int64 a2)
{
void *result; // x0
__int64 v4; // x0
cocos2d::CCActionInterval::startWithTarget(a1, a2);
result = *(void **)(a1 + 64);
if ( result )
{
result = _dynamic_cast(
result,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCRGBAProtocol,
-2);
if ( result )
{
v4 = (*(__int64 (__fastcall **)(void *))(*(_QWORD *)result + 8LL))(result);
*(_WORD *)(a1 + 92) = *(_WORD *)v4;
result = (void *)*(unsigned __int8 *)(v4 + 2);
*(_BYTE *)(a1 + 94) = (_BYTE)result;
}
}
return result;
}