//
// cocos2d::CCTintTo::update from 0x10018d0e4 to 0x10018d1a8 (196 bytes)
//
// 1 xrefs:
// > ??> @ 0x1007a5e90
//
// 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::CCTintTo::update(cocos2d::CCTintTo *a1, float a2)
{
cocos2d::CCNode *m_pTarget; // x0
void (__fastcall ***v5)(void *, __int16 *); // x0
__int16 v6; // w8
__int16 v7; // [xsp+Ch] [xbp-24h] BYREF
char v8; // [xsp+Eh] [xbp-22h]
m_pTarget = a1->m_pTarget;
if ( m_pTarget )
{
v5 = (void (__fastcall ***)(void *, __int16 *))__dynamic_cast(
m_pTarget,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode,
(const struct __class_type_info *)&off_100770F10,
-2);
if ( v5 )
{
v6 = (int)(float)((float)*((unsigned __int8 *)&a1->m_bFirstTick + 4)
+ (float)((float)(*((unsigned __int8 *)&a1->m_bFirstTick + 1)
- *((unsigned __int8 *)&a1->m_bFirstTick + 4))
* a2))
| ((unsigned __int16)(int)(float)((float)*((unsigned __int8 *)&a1->m_bFirstTick + 5)
+ (float)((float)(*((unsigned __int8 *)&a1->m_bFirstTick + 2)
- *((unsigned __int8 *)&a1->m_bFirstTick + 5))
* a2)) << 8);
v8 = (int)(float)((float)*((unsigned __int8 *)&a1->m_bFirstTick + 6)
+ (float)((float)(*((unsigned __int8 *)&a1->m_bFirstTick + 3)
- *((unsigned __int8 *)&a1->m_bFirstTick + 6))
* a2));
v7 = v6;
(**v5)(v5, &v7);
}
}
}