//
// cocos2d::CCTintTo::update from 0x1003a4ad0 to 0x1003a4ba4 (212 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b32fe0
//
// 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 ***__fastcall cocos2d::CCTintTo::update(__int64 a1, float a2))(void *, int *)
{
__int64 (__fastcall ***result)(void *, int *); // rax
const void *v4; // rdi
int v5; // ecx
float v6; // xmm1_4
int v7; // [rsp+4h] [rbp-Ch] BYREF
v7 = HIDWORD(result);
v4 = *(const void **)(a1 + 64);
if ( v4 )
{
result = (__int64 (__fastcall ***)(void *, int *))__dynamic_cast(
v4,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCRGBAProtocol,
-2);
if ( result )
{
v5 = (int)(float)((float)((float)(*(unsigned __int8 *)(a1 + 89) - *(unsigned __int8 *)(a1 + 92)) * a2)
+ (float)*(unsigned __int8 *)(a1 + 92));
v6 = (float)((float)(*(unsigned __int8 *)(a1 + 90) - *(unsigned __int8 *)(a1 + 93)) * a2)
+ (float)*(unsigned __int8 *)(a1 + 93);
BYTE2(v7) = (int)(float)((float)((float)(*(unsigned __int8 *)(a1 + 91) - *(unsigned __int8 *)(a1 + 94)) * a2)
+ (float)*(unsigned __int8 *)(a1 + 94));
LOWORD(v7) = ((unsigned __int8)(int)v6 << 8) | (unsigned __int8)v5;
return (__int64 (__fastcall ***)(void *, int *))(**result)(result, &v7);
}
}
return result;
}