//
// cocos2d::CCFadeOut::update from 0x1003a4450 to 0x1003a44bc (108 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b32ea0
//
// 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 12:29:21 +0000
//
void __fastcall cocos2d::CCFadeOut::update(__int64 a1, float a2)
{
const void *v2; // rdi
void *v3; // rax
v2 = *(const void **)(a1 + 64);
if ( v2 )
{
v3 = __dynamic_cast(
v2,
(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)((float)(1.0 - a2) * 255.0));
}
}