//
// cocos2d::CCTintTo::update from 0x1002202e4 to 0x1002203a8 (196 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008fc578
//
// 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 11:01:08 +0000
//
__int64 (__fastcall ***__fastcall cocos2d::CCTintTo::update(__int64 a1, float a2))(void *, _WORD *)
{
__int64 (__fastcall ***result)(void *, _WORD *); // x0
__int16 v5; // w8
__int16 v6; // [xsp+Ch] [xbp-24h] BYREF
char v7; // [xsp+Eh] [xbp-22h]
result = *(__int64 (__fastcall ****)(void *, _WORD *))(a1 + 64);
if ( result )
{
result = (__int64 (__fastcall ***)(void *, _WORD *))__dynamic_cast(
result,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode,
(const struct __class_type_info *)&off_1008BD768,
-2);
if ( result )
{
v5 = (int)(float)((float)*(unsigned __int8 *)(a1 + 92)
+ (float)((float)(*(unsigned __int8 *)(a1 + 89) - *(unsigned __int8 *)(a1 + 92)) * a2))
| ((unsigned __int16)(int)(float)((float)*(unsigned __int8 *)(a1 + 93)
+ (float)((float)(*(unsigned __int8 *)(a1 + 90) - *(unsigned __int8 *)(a1 + 93))
* a2)) << 8);
v7 = (int)(float)((float)*(unsigned __int8 *)(a1 + 94)
+ (float)((float)(*(unsigned __int8 *)(a1 + 91) - *(unsigned __int8 *)(a1 + 94)) * a2));
v6 = v5;
return (__int64 (__fastcall ***)(void *, _WORD *))(**result)(result, &v6);
}
}
return result;
}