//
// cocos2d::CCTransitionFade::initWithDuration from 0x1800567a0 to 0x1800567ea (74 bytes)
//
// 7 xrefs:
// > cocos2d::CCTransitionFade::create @ 0x180054be8
// > cocos2d::CCTransitionFade::create @ 0x180054c7c
// > cocos2d::CCTransitionFade::create @ 0x180054bcc
// > cocos2d::CCTransitionFade::create @ 0x180054c64
// > ??> @ 0x1800f96f0
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bc9dc
//
// This function is hookable on this platform (idp: pc, 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 11:21:47 +0000
//
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) = *(_BYTE *)a4;
*((_BYTE *)this + 353) = *((_BYTE *)a4 + 1);
*((_WORD *)this + 177) = *((unsigned __int8 *)a4 + 2);
}
return 1;
}