//
// cocos2d::CCTransitionFadeTR::onEnter from 0x180055000 to 0x180055107 (263 bytes)
//
// 6 xrefs:
// > ??> @ 0x1800f44a8
// > ??> @ 0x1800f4840
// > ??> @ 0x1800f4bd8
// > ??> @ 0x1800f4f70
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b279c
//
// 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::CCTransitionFadeTR::onEnter(cocos2d::CCTransitionFadeTR *this)
{
struct cocos2d::CCDirector *v2; // rax
cocos2d::CCTouchDispatcher *v3; // rax
cocos2d::CCDirector *v4; // rax
cocos2d::CCTransitionFadeTR_vtbl *v5; // rbx
float *v6; // rax
__int64 v7; // rdi
struct cocos2d::CCStopGrid *v8; // rbp
cocos2d::CCAction *v9; // rbx
struct cocos2d::CCFiniteTimeAction *v10; // rax
struct cocos2d::CCSequence *v11; // rax
float v12; // [rsp+40h] [rbp+8h]
float v13; // [rsp+44h] [rbp+Ch]
float v14; // [rsp+48h] [rbp+10h] BYREF
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 **)(cocos2d::CCTransitionEaseScene_vtbl *))this->easeActionWithAction + 85))(this->cocos2d::CCTransitionEaseScene::__vftable);
v4 = cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::getWinSize(v4);
v5 = this->cocos2d::CCTransitionScene::cocos2d::CCScene::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v6 = kmVec2Fill(&v14, (float)(int)(float)((float)(v12 / v13) * 12.0), 12.0);
v7 = ((__int64 (__fastcall *)(cocos2d::CCTransitionFadeTR *, float *))v5->actionWithSize)(this, v6);
v8 = cocos2d::CCStopGrid::create();
v9 = cocos2d::CCCallFunc::create(this, (__int64)cocos2d::CCTransitionScene::finish);
v10 = (struct cocos2d::CCFiniteTimeAction *)(**((__int64 (__fastcall ***)(char *, __int64))this + 44))(
(char *)this + 352,
v7);
v11 = cocos2d::CCSequence::create(v10, v9, v8, 0);
cocos2d::CCNode::runAction(*((cocos2d::CCNode **)this + 42), v11);
}