//
// cocos2d::CCTintTo::update from 0xd31bc0 to 0xd31ca0 (224 bytes)
//
// 2 xrefs:
// > ??> @ 0xea058
// > ??> @ 0x15144f8
//
// This function is hookable on this platform (idp: arm, 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 13:07:21 +0000
//
__int64 __fastcall cocos2d::CCTintTo::update(cocos2d::CCTintTo *this, float a2)
{
const void *v3; // x0
void (__fastcall ***v4)(void *, _BYTE *); // x0
int v5; // w7
float v6; // s4
float v7; // s3
void (__fastcall *v8)(void *, _BYTE *); // x7
float v9; // s2
float v10; // s0
_BYTE v13[8]; // [xsp+30h] [xbp+30h] BYREF
v3 = *((const void **)this + 8);
if ( v3 )
{
v4 = (void (__fastcall ***)(void *, _BYTE *))_dynamic_cast(
v3,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCRGBAProtocol,
-2);
if ( v4 )
{
v5 = *((unsigned __int8 *)this + 93);
v6 = (float)(*((unsigned __int8 *)this + 90) - v5);
v7 = (float)v5;
v8 = **v4;
v9 = (float)*((unsigned __int8 *)this + 94)
+ (float)((float)(*((unsigned __int8 *)this + 91) - *((unsigned __int8 *)this + 94)) * a2);
v10 = (float)*((unsigned __int8 *)this + 92)
+ (float)((float)(*((unsigned __int8 *)this + 89) - *((unsigned __int8 *)this + 92)) * a2);
v13[1] = (int)(float)(v7 + (float)(v6 * a2));
v13[2] = (int)v9;
v13[0] = (unsigned int)v10;
v8(v4, v13);
}
}
return _stack_chk_guard;
}