//
// cocos2d::CCFadeTo::update from 0xd31ae8 to 0xd31b60 (120 bytes)
//
// 2 xrefs:
// > ??> @ 0xa5f40
// > ??> @ 0x1514468
//
// 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
//
void *__fastcall cocos2d::CCFadeTo::update(cocos2d::CCFadeTo *this, float a2)
{
void *result; // x0
cocos2d::CCFadeTo *v4; // x19
result = *((void **)this + 8);
if ( result )
{
v4 = this;
result = _dynamic_cast(
result,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCRGBAProtocol,
-2);
if ( result )
return (void *)(*(__int64 (__fastcall **)(void *, _QWORD))(*(_QWORD *)result + 40LL))(
result,
(unsigned int)(float)((float)*((unsigned __int8 *)v4 + 90)
+ (float)((float)(*((unsigned __int8 *)v4 + 89)
- *((unsigned __int8 *)v4 + 90))
* a2)));
}
return result;
}