//
// cocos2d::CCFadeTo::update from 0x10022005c to 0x1002200dc (128 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008fc4d8
//
// 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:07 +0000
//
void *__fastcall cocos2d::CCFadeTo::update(__int64 a1, float a2)
{
void *result; // x0
result = *(void **)(a1 + 64);
if ( result )
{
result = __dynamic_cast(
result,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode,
(const struct __class_type_info *)&off_1008BD768,
-2);
if ( result )
return (void *)(*(__int64 (__fastcall **)(void *, _QWORD))(*(_QWORD *)result + 40LL))(
result,
(unsigned int)(int)(float)((float)*(unsigned __int8 *)(a1 + 90)
+ (float)((float)(*(unsigned __int8 *)(a1 + 89)
- *(unsigned __int8 *)(a1 + 90))
* a2)));
}
return result;
}