//
// cocos2d::CCTransitionFade::initWithDuration from 0xaedca0 to 0xaedcf0 (80 bytes)
//
// 2 xrefs:
// > ??> @ 0x7b210
// > ??> @ 0x120aaa0
//
// 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::CCTransitionFade::initWithDuration(cocos2d::CCTransitionFade *a1, float a2, cocos2d::CCScene *a3)
{
_BYTE *v3; // x2
_BYTE *v6; // [xsp+28h] [xbp+28h]
v6 = v3;
if ( cocos2d::CCTransitionScene::initWithDuration(a1, a2, a3) )
{
BYTE2(a1[1].m_uReference) = *v6;
HIBYTE(a1[1].m_uReference) = v6[1];
LOWORD(a1[1].m_uAutoReleaseCount) = (unsigned __int8)v6[2];
}
return 1;
}