//
// cocos2d::CCFadeTo::update from 0x1003a47c0 to 0x1003a4838 (120 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b32f40
//
// This function is hookable on this platform (idp: pc, 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 12:29:21 +0000
//
void *__fastcall cocos2d::CCFadeTo::update(__int64 a1, float a2)
{
void *result; // rax
const void *v4; // rdi
v4 = *(const void **)(a1 + 64);
if ( v4 )
{
result = __dynamic_cast(
v4,
(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 __int8)(int)(float)((float)((float)(*(unsigned __int8 *)(a1 + 89)
- *(unsigned __int8 *)(a1 + 90))
* a2)
+ (float)*(unsigned __int8 *)(a1 + 90)));
}
return result;
}