//
// cocos2d::CCTintBy::update from 0x1800375f0 to 0x1800376b4 (196 bytes)
//
// 3 xrefs:
// > ??> @ 0x1800e9d88
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b0b1c
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
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(
this->m_pTarget,
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);
}
}