//
// cocos2d::CCTransitionTurnOffTiles::onEnter from 0x180055fc0 to 0x1800560bb (251 bytes)
//
// 3 xrefs:
// > ??> @ 0x1800f39e8
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b2820
//
// 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::CCTransitionTurnOffTiles::onEnter(cocos2d::CCTransitionTurnOffTiles *this)
{
struct cocos2d::CCDirector *v2; // rax
cocos2d::CCTouchDispatcher *v3; // rax
cocos2d::CCDirector *v4; // rax
struct cocos2d::CCSize *v5; // rax
struct cocos2d::CCTurnOffTiles *v6; // rax
struct cocos2d::CCFiniteTimeAction *v7; // rdi
struct cocos2d::CCStopGrid *v8; // rbx
cocos2d::CCAction *v9; // rax
struct cocos2d::CCSequence *v10; // rax
float v11; // [rsp+30h] [rbp+8h]
float v12; // [rsp+34h] [rbp+Ch]
float v13; // [rsp+38h] [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 = (struct cocos2d::CCSize *)kmVec2Fill(&v13, (float)(int)(float)((float)(v11 / v12) * 12.0), 12.0);
v6 = cocos2d::CCTurnOffTiles::create(*((float *)this + 86), v5);
v7 = (struct cocos2d::CCFiniteTimeAction *)(**((__int64 (__fastcall ***)(char *, struct cocos2d::CCTurnOffTiles *))this
+ 44))(
(char *)this + 352,
v6);
v8 = cocos2d::CCStopGrid::create();
v9 = cocos2d::CCCallFunc::create(this, (__int64)cocos2d::CCTransitionScene::finish);
v10 = cocos2d::CCSequence::create(v7, v9, v8, 0);
cocos2d::CCNode::runAction(*((cocos2d::CCNode **)this + 42), v10);
}