//
// cocos2d::CCTransitionFade::onEnter from 0x1001ce19c to 0x1001ce2a0 (260 bytes)
//
// 1 xrefs:
// > ??> @ 0x1007bb470
//
// 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
//
void __fastcall cocos2d::CCTransitionFade::onEnter(cocos2d::CCTransitionFade *a1)
{
cocos2d::CCLayerColor *v2; // x20
cocos2d::CCNode *v3; // x20
cocos2d::CCFadeIn *v4; // x21
char v5; // w22
__int64 v6; // x1
__int64 v7; // x2
__int64 v8; // x3
__int64 v9; // x4
__int64 v10; // x5
__int64 v11; // x6
__int64 v12; // x7
cocos2d::CCSequence *v13; // x1
cocos2d::SEL_CallFunc v14; // 0:x1.16
cocos2d::SEL_CallFunc v15; // 0:x1.16
cocos2d::CCTransitionScene::onEnter(a1);
v2 = cocos2d::CCLayerColor::create_1((const cocos2d::ccColor4B *)((char *)&a1[1].m_uReference + 2));
(*((void (__fastcall **)(cocos2d::CCTransitionFade_vtbl *, _QWORD))a1[1].copyWithZone + 41))(a1[1].__vftable, 0);
((void (__fastcall *)(cocos2d::CCTransitionFade *, cocos2d::CCLayerColor *, __int64, __int64))a1->addChild_1)(
a1,
v2,
2,
4208917214LL);
v3 = (cocos2d::CCNode *)((__int64 (__fastcall *)(cocos2d::CCTransitionFade *, __int64))a1->getChildByTag)(
a1,
4208917214LL);
v4 = cocos2d::CCFadeIn::create(*(float *)&a1[1].m_nTag * 0.5);
v14.ptr = (void (*)(void))cocos2d::CCTransitionScene::hideOutShowIn;
v14.adj = 0;
v5 = (unsigned __int8)cocos2d::CCCallFunc::create(a1, v14);
cocos2d::CCFadeOut::create(*(float *)&a1[1].m_nTag * 0.5);
v15.ptr = (void (*)(void))cocos2d::CCTransitionScene::finish;
v15.adj = 0;
cocos2d::CCCallFunc::create(a1, v15);
v13 = sub_10018A494(v4, v6, v7, v8, v9, v10, v11, v12, v5);
cocos2d::CCNode::runAction(v3, v13);
}