//
// cocos2d::CCTransitionFade::onEnter from 0x180054eb0 to 0x180054ff1 (321 bytes)
//
// 3 xrefs:
// > ??> @ 0x1800f32e0
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b2790
//
// 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 *this)
{
struct cocos2d::CCDirector *v2; // rax
cocos2d::CCTouchDispatcher *v3; // rax
struct cocos2d::CCLayerColor *v4; // rbx
cocos2d::CCNode *v5; // rbp
cocos2d::CCAction *v6; // rsi
struct cocos2d::CCFadeOut *v7; // rdi
cocos2d::CCAction *v8; // rbx
struct cocos2d::CCFadeIn *v9; // rax
struct cocos2d::CCSequence *v10; // rax
cocos2d::CCNode::onEnter(this);
v2 = cocos2d::CCDirector::sharedDirector();
v3 = (cocos2d::CCTouchDispatcher *)((__int64 (__fastcall *)(struct cocos2d::CCDirector *))v2->getTouchDispatcher)(v2);
cocos2d::CCTouchDispatcher::setDispatchEvents(v3, 0);
(*(void (__fastcall **)(_QWORD))(**((_QWORD **)this + 42) + 704LL))(*((_QWORD *)this + 42));
(*(void (__fastcall **)(_QWORD))(**((_QWORD **)this + 41) + 680LL))(*((_QWORD *)this + 41));
v4 = cocos2d::CCLayerColor::create((const struct cocos2d::_ccColor4B *)this + 88);
(*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 41) + 320LL))(*((_QWORD *)this + 41), 0);
((void (__fastcall *)(cocos2d::CCTransitionFade *, struct cocos2d::CCLayerColor *, __int64, __int64))this->addChild)(
this,
v4,
2,
4208917214LL);
v5 = (cocos2d::CCNode *)((__int64 (__fastcall *)(cocos2d::CCTransitionFade *, __int64))this->getChildByTag)(
this,
4208917214LL);
v6 = cocos2d::CCCallFunc::create(this, (__int64)cocos2d::CCTransitionScene::finish);
v7 = cocos2d::CCFadeOut::create(*((float *)this + 86) * 0.5);
v8 = cocos2d::CCCallFunc::create(this, (__int64)cocos2d::CCTransitionScene::hideOutShowIn);
v9 = cocos2d::CCFadeIn::create(*((float *)this + 86) * 0.5);
v10 = cocos2d::CCSequence::create(v9, v8, v7, v6, 0);
cocos2d::CCNode::runAction(v5, v10);
}