//
// cocos2d::CCTransitionFade::initWithDuration from 0x1000d8a70 to 0x1000d8ab5 (69 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008be088
//
// 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 __fastcall cocos2d::CCTransitionFade::initWithDuration(
cocos2d::CCTransitionFade *a1,
float a2,
cocos2d::CCScene *a3,
const cocos2d::ccColor3B *a4)
{
if ( cocos2d::CCTransitionScene::initWithDuration(a1, a2, a3) )
{
BYTE2(a1[1].m_uReference) = a4->r;
HIBYTE(a1[1].m_uReference) = a4->g;
LOWORD(a1[1].m_uAutoReleaseCount) = a4->b;
}
return 1;
}