//
// cocos2d::CCTransitionFade::onEnter from 0x1000a7750 to 0x1000a7873 (291 bytes)
//
// 1 xrefs:
// > ??> @ 0x100ac16a8
//
// 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
//
__int64 __fastcall cocos2d::CCTransitionFade::onEnter(__int64 a1, __int64 a2)
{
__int64 v3; // rax
__int64 v4; // rax
__int64 v5; // r14
__int64 v6; // r14
int v7; // r15d
int v8; // r12d
int v9; // r13d
int v10; // eax
int v11; // r9d
__int64 v12; // rax
cocos2d::CCNode::onEnter(a1);
v3 = cocos2d::CCDirector::sharedDirector(a1, a2);
v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 160LL))(v3);
cocos2d::CCTouchDispatcher::setDispatchEvents(v4, 0);
(*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 336) + 728LL))(*(_QWORD *)(a1 + 336));
(*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 328) + 704LL))(*(_QWORD *)(a1 + 328));
v5 = cocos2d::CCLayerColor::create_1(a1 + 350);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 328) + 344LL))(*(_QWORD *)(a1 + 328), 0);
(*(void (__fastcall **)(__int64, __int64, __int64, __int64))(*(_QWORD *)a1 + 472LL))(a1, v5, 2, 4208917214LL);
v6 = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 480LL))(a1, 4208917214LL);
v7 = cocos2d::CCFadeIn::create(*(float *)(a1 + 344) * 0.5);
v8 = cocos2d::CCCallFunc::create(a1, cocos2d::CCTransitionScene::hideOutShowIn, 0);
v9 = cocos2d::CCFadeOut::create(0.5 * *(float *)(a1 + 344));
v10 = cocos2d::CCCallFunc::create(a1, cocos2d::CCTransitionScene::finish, 0);
v12 = sub_10039EB60(v7, v8, v9, v10, 0, v11);
return cocos2d::CCNode::runAction(v6, v12);
}