//
// cocos2d::CCTintTo::update from 0x180037dd0 to 0x180037ea4 (212 bytes)
//
// 3 xrefs:
// > ??> @ 0x1800efd70
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bac54
//
// 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 11:21:35 +0000
//
void __fastcall cocos2d::CCTintTo::update(cocos2d::CCTintTo *this, float a2)
{
void (__fastcall ***v4)(_QWORD, char *); // rax
int v5; // r9d
float v6; // xmm0_4
float v7; // xmm1_4
char v8; // [rsp+50h] [rbp+8h] BYREF
char v9; // [rsp+51h] [rbp+9h]
char v10; // [rsp+52h] [rbp+Ah]
v4 = (void (__fastcall ***)(_QWORD, char *))_RTDynamicCast(
*((_QWORD *)this + 8),
0,
&cocos2d::CCNode `RTTI Type Descriptor',
&cocos2d::CCRGBAProtocol `RTTI Type Descriptor',
0);
if ( v4 )
{
v5 = *((unsigned __int8 *)this + 101);
v6 = (float)*((unsigned __int8 *)this + 100);
v7 = (float)(*((unsigned __int8 *)this + 97) - *((unsigned __int8 *)this + 100));
v8 = (int)(float)((float)((float)(*((unsigned __int8 *)this + 96) - *((unsigned __int8 *)this + 99)) * a2)
+ (float)*((unsigned __int8 *)this + 99));
v9 = (int)(float)((float)(v7 * a2) + v6);
v10 = (int)(float)((float)((float)(*((unsigned __int8 *)this + 98) - v5) * a2) + (float)v5);
(**v4)(v4, &v8);
}
}