//
// cocos2d::CCTransitionFade::create from 0x100265fac to 0x100266034 (136 bytes)
//
// 1 xrefs:
// > cocos2d::CCTransitionFade::create_1 @ 0x100266050
//
// This function is hookable on this platform (idp: arm, 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:01:41 +0000
//
char *__fastcall cocos2d::CCTransitionFade::create(__int64 a1, __int64 a2, float a3)
{
char *v6; // x19
v6 = (char *)operator new(0x168u);
cocos2d::CCScene::CCScene();
*(_QWORD *)v6 = &off_100912E30;
if ( (unsigned int)cocos2d::CCTransitionScene::initWithDuration((__int64)v6, a1, a3) )
{
v6[350] = *(_BYTE *)a2;
*(_WORD *)(v6 + 351) = *(_WORD *)(a2 + 1);
v6[353] = 0;
}
cocos2d::CCObject::autorelease((__int64)v6);
return v6;
}