//
// cocos2d::CCTintBy::update from 0x7bce9c to 0x7bcf66 (202 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::CCTintBy::update(cocos2d::CCTintBy *this, float a2))(void *, _BYTE *)
{
int (__fastcall ***result)(void *, _BYTE *); // r0
int v5; // r1
int (__fastcall *v6)(void *, _BYTE *); // r6
float v7; // s15
float v8; // s14
_BYTE v9[4]; // [sp+0h] [bp-8h] 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 = *((__int16 *)this + 42);
v6 = **result;
v7 = (float)*((__int16 *)this + 44) + (float)((float)*((__int16 *)this + 41) * a2);
v9[1] = (unsigned int)(float)((float)*((__int16 *)this + 43) + (float)((float)*((__int16 *)this + 40) * a2));
v8 = (float)*((__int16 *)this + 39);
v9[2] = (unsigned int)v7;
v9[0] = (unsigned int)(float)((float)v5 + (float)(v8 * a2));
return (int (__fastcall ***)(void *, _BYTE *))v6(result, v9);
}
}
return result;
}