//
// cocos2d::CCTintBy::update from 0xabffe4 to 0xac00b8 (212 bytes)
//
// 2 xrefs:
// > ??> @ 0x31d58
// > ??> @ 0x11fec78
//
// 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 cocos2d::CCTintBy::update(cocos2d::CCTintBy *a1, float a2)
{
cocos2d::CCNode *m_pTarget; // x0
void (__fastcall ***v4)(void *, _BYTE *); // x0
void (__fastcall *v5)(void *, _BYTE *); // x3
float v6; // s2
float v7; // s0
_BYTE v9[8]; // [xsp+30h] [xbp+30h] BYREF
m_pTarget = a1->m_pTarget;
if ( m_pTarget )
{
v4 = (void (__fastcall ***)(void *, _BYTE *))_dynamic_cast(
m_pTarget,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCRGBAProtocol,
-2);
if ( v4 )
{
v5 = **v4;
v6 = (float)SWORD2(a1[1].__vftable) + (float)((float)*((__int16 *)&a1->m_bFirstTick + 3) * a2);
v7 = (float)SLOWORD(a1[1].__vftable) + (float)((float)*((__int16 *)&a1->m_bFirstTick + 1) * a2);
v9[1] = (unsigned int)(float)((float)SWORD1(a1[1].__vftable)
+ (float)((float)*((__int16 *)&a1->m_bFirstTick + 2) * a2));
v9[2] = (unsigned int)v6;
v9[0] = (unsigned int)v7;
v5(v4, v9);
}
}
}