//
// cocos2d::CCTintBy::update from 0xd31d0c to 0xd31de0 (212 bytes)
//
// 2 xrefs:
// > ??> @ 0x49f48
// > ??> @ 0x1514588
//
// 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::CCTintBy::update(cocos2d::CCTintBy *this, float a2)
{
const void *v3; // x0
void (__fastcall ***v4)(void *, _BYTE *); // x0
void (__fastcall *v5)(void *, _BYTE *); // x3
float v6; // s2
float v7; // s0
_BYTE v10[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 = **v4;
v6 = (float)*((__int16 *)this + 50) + (float)((float)*((__int16 *)this + 47) * a2);
v7 = (float)*((__int16 *)this + 48) + (float)((float)*((__int16 *)this + 45) * a2);
v10[1] = (unsigned int)(float)((float)*((__int16 *)this + 49) + (float)((float)*((__int16 *)this + 46) * a2));
v10[2] = (unsigned int)v6;
v10[0] = (unsigned int)v7;
v5(v4, v10);
}
}
return _stack_chk_guard;
}