//
// cocos2d::CCFadeOut::update from 0x5b63f0 to 0x5b644c (92 bytes)
//
// 0 xrefs:
//
// 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 cocos2d::CCFadeOut::update(cocos2d::CCFadeOut *a1, float a2)
{
cocos2d::CCNode *m_pTarget; // r0
void *v4; // r0
m_pTarget = a1->m_pTarget;
if ( m_pTarget )
{
v4 = _dynamic_cast(
m_pTarget,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCRGBAProtocol,
-2);
if ( v4 )
(*(void (__fastcall **)(void *, _DWORD))(*(_DWORD *)v4 + 20))(
v4,
(unsigned __int8)(unsigned int)(float)((float)(1.0 - a2) * 255.0));
}
}