//
// cocos2d::CCTintTo::update from 0x7bcd78 to 0x7bce48 (208 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:00:17 +0000
//
int (__fastcall ***__fastcall cocos2d::CCTintTo::update(cocos2d::CCTintTo *this, float a2))(void *, _BYTE *)
{
int (__fastcall ***result)(void *, _BYTE *); // r0
int (__fastcall *v5)(void *, _BYTE *); // r6
int v6; // r7
int v7; // r1
float v8; // s15
_BYTE v9[4]; // [sp+0h] [bp-Ch] BYREF
result = *((int (__fastcall ****)(void *, _BYTE *))this + 14);
if ( result )
{
result = (int (__fastcall ***)(void *, _BYTE *))_dynamic_cast(
result,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCRGBAProtocol,
-2);
if ( result )
{
v5 = **result;
v6 = *((unsigned __int8 *)this + 80);
v7 = *((unsigned __int8 *)this + 77) - v6;
v8 = (float)*((unsigned __int8 *)this + 82)
+ (float)((float)(*((unsigned __int8 *)this + 79) - *((unsigned __int8 *)this + 82)) * a2);
v9[1] = (int)(float)((float)*((unsigned __int8 *)this + 81)
+ (float)((float)(*((unsigned __int8 *)this + 78) - *((unsigned __int8 *)this + 81)) * a2));
v9[2] = (int)v8;
v9[0] = (unsigned int)(float)((float)v6 + (float)((float)v7 * a2));
return (int (__fastcall ***)(void *, _BYTE *))v5(result, v9);
}
}
return result;
}