//
// cocos2d::CCFadeTo::initWithDuration from 0x5b8a12 to 0x5b8a24 (18 bytes)
//
// 2 xrefs:
// > cocos2d::CCFadeTo::create @ 0x5b8a50
// > cocos2d::CCFadeTo::copyWithZone @ 0x5b8ab4
//
// 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
//
bool cocos2d::CCFadeTo::initWithDuration(cocos2d::CCFadeTo *a1, float a2, unsigned __int8 a3)
{
_BOOL4 v5; // r0
v5 = cocos2d::CCActionInterval::initWithDuration(a1, a2);
if ( v5 )
*(&a1->m_bFirstTick + 1) = a3;
return v5;
}