//
// cocos2d::CCTintBy::update from 0x180037d00 to 0x180037dc4 (196 bytes)
//
// 3 xrefs:
// > ??> @ 0x1800efde8
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bac48
//
// 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::CCTintBy::update(cocos2d::CCTintBy *this, float a2)
{
void (__fastcall ***v3)(_QWORD, char *); // rax
float v4; // xmm0_4
char v5; // [rsp+50h] [rbp+8h] BYREF
char v6; // [rsp+51h] [rbp+9h]
char v7; // [rsp+52h] [rbp+Ah]
v3 = (void (__fastcall ***)(_QWORD, char *))_RTDynamicCast(
*((_QWORD *)this + 8),
0,
&cocos2d::CCNode `RTTI Type Descriptor',
&cocos2d::CCRGBAProtocol `RTTI Type Descriptor',
0);
if ( v3 )
{
v4 = (float)*((__int16 *)this + 52);
v5 = (int)(float)((float)((float)*((__int16 *)this + 48) * a2) + (float)*((__int16 *)this + 51));
v6 = (int)(float)((float)((float)*((__int16 *)this + 49) * a2) + v4);
v7 = (int)(float)((float)((float)*((__int16 *)this + 50) * a2) + (float)*((__int16 *)this + 53));
(**v3)(v3, &v5);
}
}