//
// cocos2d::CCFadeTo::update from 0x180037610 to 0x180037683 (115 bytes)
//
// 3 xrefs:
// > ??> @ 0x1800efcf8
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bab64
//
// 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 11:21:35 +0000
//
void __fastcall cocos2d::CCFadeTo::update(cocos2d::CCFadeTo *this, float a2)
{
__int64 v3; // rax
v3 = _RTDynamicCast(
*((_QWORD *)this + 8),
0,
&cocos2d::CCNode `RTTI Type Descriptor',
&cocos2d::CCRGBAProtocol `RTTI Type Descriptor',
0);
if ( v3 )
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v3 + 40LL))(
v3,
(unsigned int)(int)(float)((float)((float)(*((unsigned __int8 *)this + 96) - *((unsigned __int8 *)this + 97)) * a2)
+ (float)*((unsigned __int8 *)this + 97)));
}