//
// cocos2d::CCFadeIn::update from 0x1003badd0 to 0x1003bae30 (96 bytes)
//
// 1 xrefs:
// > ??> @ 0x10092a648
//
// 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::CCFadeIn::update(cocos2d::CCFadeIn *a1, float a2)
{
cocos2d::CCNode *m_pTarget; // rdi
void *v3; // rax
m_pTarget = a1->m_pTarget;
if ( m_pTarget )
{
v3 = __dynamic_cast(
m_pTarget,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCRGBAProtocol,
-2);
if ( v3 )
(*(void (__fastcall **)(void *, _QWORD))(*(_QWORD *)v3 + 40LL))(v3, (unsigned __int8)(int)(float)(a2 * 255.0));
}
}