//
// cocos2d::CCFadeOut::update from 0x180036ec0 to 0x180036f1e (94 bytes)
//
// 3 xrefs:
// > ??> @ 0x1800e9c20
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b0a2c
//
// 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::CCFadeOut::update(cocos2d::CCFadeOut *this, float a2)
{
__int64 v2; // rax
v2 = _RTDynamicCast(
this->m_pTarget,
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));
}