//
// cocos2d::CCFadeIn::update from 0x180037540 to 0x180037595 (85 bytes)
//
// 3 xrefs:
// > ??> @ 0x1800efc08
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bab4c
//
// 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::CCFadeIn::update(cocos2d::CCFadeIn *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)(a2 * 255.0));
}