//
// cocos2d::CCTransitionFade::onEnter from 0x180056c70 to 0x180056dc4 (340 bytes)
//
// 3 xrefs:
// > ??> @ 0x1800f9620
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bca24
//
// 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
//
void __fastcall cocos2d::CCTransitionFade::onEnter(cocos2d::CCTransitionFade *this)
{
struct cocos2d::CCDirector *v2; // rax
cocos2d::CCTouchDispatcher *v3; // rax
struct cocos2d::CCLayerColor *v4; // rbx
cocos2d::CCActionManager **v5; // rbp
cocos2d::CCAction *v6; // rsi
float v7; // xmm6_4
struct cocos2d::CCFadeOut *v8; // rdi
cocos2d::CCAction *v9; // rbx
struct cocos2d::CCFiniteTimeAction *v10; // rax
struct cocos2d::CCAction *v11; // rax
cocos2d::CCNode::onEnter(this);
v2 = cocos2d::CCDirector::sharedDirector();
v3 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(struct cocos2d::CCDirector *))(*(_QWORD *)v2 + 144LL))(v2);
cocos2d::CCTouchDispatcher::setDispatchEvents(v3, 0);
(*(void (__fastcall **)(_QWORD))(**((_QWORD **)this + 42) + 720LL))(*((_QWORD *)this + 42));
(*(void (__fastcall **)(_QWORD))(**((_QWORD **)this + 41) + 696LL))(*((_QWORD *)this + 41));
v4 = cocos2d::CCLayerColor::create((cocos2d::CCTransitionFade *)((char *)this + 352));
(*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 41) + 336LL))(*((_QWORD *)this + 41), 0);
(*(void (__fastcall **)(cocos2d::CCTransitionFade *, struct cocos2d::CCLayerColor *, __int64, __int64))(*(_QWORD *)this + 448LL))(
this,
v4,
2,
4208917214LL);
v5 = (cocos2d::CCActionManager **)(*(__int64 (__fastcall **)(cocos2d::CCTransitionFade *, __int64))(*(_QWORD *)this + 472LL))(
this,
4208917214LL);
v6 = cocos2d::CCCallFunc::create(this, (__int64)cocos2d::CCTransitionScene::finish);
v7 = *((float *)this + 86) * 0.5;
v8 = cocos2d::CCFadeOut::create(v7);
v9 = cocos2d::CCCallFunc::create(this, (__int64)cocos2d::CCTransitionScene::hideOutShowIn);
v10 = cocos2d::CCFadeIn::create(v7);
v11 = cocos2d::CCSequence::create(v10, v9, v8, v6, 0);
cocos2d::CCNode::runAction(v5, v11);
}