//
// cocos2d::CCTintBy::startWithTarget from 0x1003a4de0 to 0x1003a4e49 (105 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b330b0
//
// 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::CCTintBy::startWithTarget(__int64 a1, const void *a2)
{
__int64 result; // rax
unsigned __int8 *v3; // rax
__int16 v4; // cx
__int16 v5; // dx
result = cocos2d::CCAction::startWithTarget(a1);
*(_DWORD *)(a1 + 84) = 0;
*(_BYTE *)(a1 + 88) = 1;
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 )
{
v3 = (unsigned __int8 *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)result + 8LL))(result);
v4 = *v3;
v5 = v3[1];
result = v3[2];
*(_WORD *)(a1 + 96) = v4;
*(_WORD *)(a1 + 98) = v5;
*(_WORD *)(a1 + 100) = result;
}
}
return result;
}