//
// cocos2d::CCFadeOut::update from 0x1800375a0 to 0x180037601 (97 bytes)
//
// 3 xrefs:
// > ??> @ 0x1800efc80
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bab58
//
// 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::CCFadeOut::update(cocos2d::CCFadeOut *this, float a2)
{
__int64 v2; // rax
v2 = _RTDynamicCast(
*((_QWORD *)this + 8),
0,
&cocos2d::CCNode `RTTI Type Descriptor',
&cocos2d::CCRGBAProtocol `RTTI Type Descriptor',
0);
if ( v2 )
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v2 + 40LL))(
v2,
(unsigned int)(int)(float)((float)(1.0 - a2) * 255.0));
}