//
// cocos2d::CCFadeTo::update from 0x180036f20 to 0x180036f90 (112 bytes)
//
// 3 xrefs:
// > ??> @ 0x1800e9c98
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b0a38
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall cocos2d::CCFadeTo::update(cocos2d::CCFadeTo *this, float a2)
{
__int64 v3; // rax
v3 = _RTDynamicCast(
this->m_pTarget,
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)));
}