//
// cocos2d::CCTintTo::startWithTarget from 0x100220278 to 0x1002202e4 (108 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008fc5a8
//
// 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 11:01:07 +0000
//
_BYTE *__fastcall cocos2d::CCTintTo::startWithTarget(__int64 a1)
{
_BYTE *result; // x0
char v3; // w8
cocos2d::CCAction::startWithTarget();
*(_DWORD *)(a1 + 84) = 0;
*(_BYTE *)(a1 + 88) = 1;
result = *(_BYTE **)(a1 + 64);
if ( result )
{
result = __dynamic_cast(
result,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode,
(const struct __class_type_info *)&off_1008BD768,
-2);
if ( result )
{
result = (_BYTE *)(*(__int64 (__fastcall **)(_BYTE *))(*(_QWORD *)result + 8LL))(result);
v3 = result[2];
*(_WORD *)(a1 + 92) = *(_WORD *)result;
*(_BYTE *)(a1 + 94) = v3;
}
}
return result;
}