//
// cocos2d::CCTintTo::startWithTarget from 0x1003a4a70 to 0x1003a4acf (95 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b33010
//
// 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 12:29:21 +0000
//
__int64 __fastcall cocos2d::CCTintTo::startWithTarget(__int64 a1)
{
__int64 result; // rax
const void *v3; // rdi
__int64 v4; // rax
result = cocos2d::CCAction::startWithTarget(a1);
*(_DWORD *)(a1 + 84) = 0;
*(_BYTE *)(a1 + 88) = 1;
v3 = *(const void **)(a1 + 64);
if ( v3 )
{
result = (__int64)__dynamic_cast(
v3,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCRGBAProtocol,
-2);
if ( result )
{
v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)result + 8LL))(result);
*(_WORD *)(a1 + 92) = *(_WORD *)v4;
result = *(unsigned __int8 *)(v4 + 2);
*(_BYTE *)(a1 + 94) = result;
}
}
return result;
}