//
// cocos2d::CCTransitionFade::initWithDuration from 0x1800549e0 to 0x180054a2a (74 bytes)
//
// 7 xrefs:
// > cocos2d::CCTransitionFade::create @ 0x180052e38
// > cocos2d::CCTransitionFade::create @ 0x180052ecc
// > cocos2d::CCTransitionFade::create @ 0x180052e1c
// > cocos2d::CCTransitionFade::create @ 0x180052eb4
// > ??> @ 0x1800f33b0
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b2748
//
// 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
//
char __fastcall cocos2d::CCTransitionFade::initWithDuration(
cocos2d::CCTransitionFade *this,
float a2,
struct cocos2d::CCScene *a3,
const struct cocos2d::_ccColor3B *a4)
{
if ( cocos2d::CCTransitionScene::initWithDuration(this, a2, a3) )
{
*((_BYTE *)this + 352) = a4->r;
*((_BYTE *)this + 353) = a4->g;
*((_WORD *)this + 177) = a4->b;
}
return 1;
}