//
// cocos2d::CCTransitionFade::initWithDuration from 0x1000a76e0 to 0x1000a7725 (69 bytes)
//
// 1 xrefs:
// > ??> @ 0x100ac1778
//
// 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 12:20:15 +0000
//
char __fastcall cocos2d::CCTransitionFade::initWithDuration(__int64 a1, __int64 a2, _BYTE *a3, float a4)
{
if ( (unsigned __int8)cocos2d::CCTransitionScene::initWithDuration(a1, a2, a4) )
{
*(_BYTE *)(a1 + 350) = *a3;
*(_BYTE *)(a1 + 351) = a3[1];
*(_WORD *)(a1 + 352) = (unsigned __int8)a3[2];
}
return 1;
}