//
// cocos2d::CCFadeOut::update from 0xd31a2c to 0xd31a8c (96 bytes)
//
// 2 xrefs:
// > ??> @ 0x51b68
// > ??> @ 0x15143d8
//
// This function is hookable on this platform (idp: arm, 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 13:07:20 +0000
//
void *__fastcall cocos2d::CCFadeOut::update(cocos2d::CCFadeOut *this, float a2)
{
void *result; // x0
result = *((void **)this + 8);
if ( result )
{
result = _dynamic_cast(
result,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCRGBAProtocol,
-2);
if ( result )
return (void *)(*(__int64 (__fastcall **)(void *, _QWORD))(*(_QWORD *)result + 40LL))(
result,
(unsigned int)(float)((float)(1.0 - a2) * 255.0));
}
return result;
}