//
// cocos2d::CCTransitionFadeTR::onEnter from 0x180056dd0 to 0x180056eea (282 bytes)
//
// 6 xrefs:
// > ??> @ 0x1800fa838
// > ??> @ 0x1800fabe0
// > ??> @ 0x1800faf88
// > ??> @ 0x1800fb330
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bca30
//
// 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::CCTransitionFadeTR::onEnter(cocos2d::CCActionManager ***this)
{
struct cocos2d::CCDirector *v2; // rax
cocos2d::CCTouchDispatcher *v3; // rax
struct cocos2d::CCDirector *v4; // rax
cocos2d::CCActionManager **v5; // rbx
float *v6; // rax
__int64 v7; // rbp
cocos2d::CCActionManager **v8; // r15
__int64 (__fastcall *v9)(cocos2d::CCActionManager ***, __int64); // rdi
struct cocos2d::CCStopGrid *v10; // rsi
cocos2d::CCAction *v11; // rbx
struct cocos2d::CCFiniteTimeAction *v12; // rax
struct cocos2d::CCAction *v13; // rax
float v14; // [rsp+50h] [rbp+8h] BYREF
float v15; // [rsp+54h] [rbp+Ch]
float v16; // [rsp+58h] [rbp+10h] BYREF
cocos2d::CCNode::onEnter((cocos2d::CCNode *)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))**(this + 42) + 90))(*(this + 42));
(*((void (__fastcall **)(_QWORD))**(this + 41) + 87))(*(this + 41));
v4 = cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::getWinSize(v4, &v14);
v5 = *this;
v6 = kmVec2Fill(&v16, (float)(int)(float)((float)(v14 / v15) * 12.0), 12.0);
v7 = ((__int64 (__fastcall *)(cocos2d::CCActionManager ***, float *))v5[113])(this, v6);
v8 = *(this + 42);
v9 = (__int64 (__fastcall *)(cocos2d::CCActionManager ***, __int64))**(this + 44);
v10 = cocos2d::CCStopGrid::create();
v11 = cocos2d::CCCallFunc::create((cocos2d::CCObject *)this, (__int64)cocos2d::CCTransitionScene::finish);
v12 = (struct cocos2d::CCFiniteTimeAction *)v9(this + 44, v7);
v13 = cocos2d::CCSequence::create(v12, v11, v10, 0);
cocos2d::CCNode::runAction(v8, v13);
}