//
// cocos2d::CCTransitionZoomFlipX::onEnter from 0x180056340 to 0x180056599 (601 bytes)
//
// 3 xrefs:
// > ??> @ 0x1800f2848
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b2838
//
// 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::CCTransitionZoomFlipX::onEnter(cocos2d::CCTransitionZoomFlipX *this)
{
struct cocos2d::CCDirector *v2; // rax
cocos2d::CCTouchDispatcher *v3; // rax
float v4; // xmm9_4
float v5; // xmm10_4
cocos2d::CCAction *v6; // rsi
struct cocos2d::CCShow *v7; // rdi
struct cocos2d::CCScaleTo *v8; // rbx
struct cocos2d::CCOrbitCamera *v9; // rax
struct cocos2d::CCSpawn *v10; // rbx
struct cocos2d::CCDelayTime *v11; // rax
struct cocos2d::CCSequence *v12; // rbp
struct cocos2d::CCDelayTime *v13; // rsi
struct cocos2d::CCHide *v14; // rdi
struct cocos2d::CCScaleTo *v15; // rbx
struct cocos2d::CCOrbitCamera *v16; // rax
struct cocos2d::CCSpawn *v17; // rax
struct cocos2d::CCSequence *v18; // rbx
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));
(*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 41) + 320LL))(*((_QWORD *)this + 41), 0);
if ( *((_DWORD *)this + 88) == 1 )
{
v4 = 90.0;
v5 = 270.0;
}
else
{
v4 = -90.0;
v5 = 90.0;
}
v6 = cocos2d::CCCallFunc::create(this, (__int64)cocos2d::CCTransitionScene::finish);
v7 = cocos2d::CCShow::create();
v8 = cocos2d::CCScaleTo::create(*((float *)this + 86) * 0.5, 1.0);
v9 = cocos2d::CCOrbitCamera::create(*((float *)this + 86) * 0.5, 1.0, 0.0, v5, v4, 0.0, 0.0);
v10 = cocos2d::CCSpawn::create((struct cocos2d::CCSpawn *)v9, v8, v7, 0);
v11 = cocos2d::CCDelayTime::create(*((float *)this + 86) * 0.5);
v12 = cocos2d::CCSequence::create(v11, v10, v6, 0);
v13 = cocos2d::CCDelayTime::create(*((float *)this + 86) * 0.5);
v14 = cocos2d::CCHide::create();
v15 = cocos2d::CCScaleTo::create(*((float *)this + 86) * 0.5, 0.5);
v16 = cocos2d::CCOrbitCamera::create(*((float *)this + 86) * 0.5, 1.0, 0.0, 0.0, v4, 0.0, 0.0);
v17 = cocos2d::CCSpawn::create((struct cocos2d::CCSpawn *)v16, v15, 0);
v18 = cocos2d::CCSequence::create(v17, v14, v13, 0);
(*(void (__fastcall **)(_QWORD))(**((_QWORD **)this + 41) + 160LL))(*((_QWORD *)this + 41));
cocos2d::CCNode::runAction(*((cocos2d::CCNode **)this + 41), v12);
cocos2d::CCNode::runAction(*((cocos2d::CCNode **)this + 42), v18);
}