//
// cocos2d::CCTransitionRotoZoom::onEnter from 0x1000a3c90 to 0x1000a3e31 (417 bytes)
//
// 1 xrefs:
// > ??> @ 0x100abd738
//
// 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 12:20:14 +0000
//
__int64 __fastcall cocos2d::CCTransitionRotoZoom::onEnter(__int64 a1, __int64 a2)
{
__int64 v2; // rax
__int64 v4; // rax
__int64 v5; // rax
__int64 v6; // r14
__int64 v7; // r14
int v8; // eax
int v9; // ecx
int v10; // r8d
int v11; // r9d
int v12; // eax
int v13; // ecx
int v14; // r8d
int v15; // r9d
__int64 v16; // rsi
__int64 v17; // r15
int v18; // eax
int v19; // ecx
int v20; // r8d
int v21; // r9d
__int64 v22; // rax
_QWORD v24[4]; // [rsp+0h] [rbp-20h] BYREF
v24[0] = v2;
cocos2d::CCNode::onEnter(a1);
v4 = cocos2d::CCDirector::sharedDirector(a1, a2);
v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 160LL))(v4);
cocos2d::CCTouchDispatcher::setDispatchEvents(v5, 0);
(*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 336) + 728LL))(*(_QWORD *)(a1 + 336));
(*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 328) + 704LL))(*(_QWORD *)(a1 + 328));
(*(void (__fastcall **)(_QWORD, float))(**(_QWORD **)(a1 + 328) + 160LL))(*(_QWORD *)(a1 + 328), 0.001);
(*(void (__fastcall **)(_QWORD, float))(**(_QWORD **)(a1 + 336) + 160LL))(*(_QWORD *)(a1 + 336), 1.0);
v6 = *(_QWORD *)(a1 + 328);
sub_100278250(v24, 0.5, 0.5);
(*(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v6 + 296LL))(v6, v24);
v7 = *(_QWORD *)(a1 + 336);
sub_100278250(v24, 0.5, 0.5);
(*(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v7 + 296LL))(v7, v24);
LODWORD(v7) = cocos2d::CCScaleBy::create_1(*(float *)(a1 + 344) * 0.5, 0.001);
v8 = cocos2d::CCRotateBy::create_1(*(float *)(a1 + 344) * 0.5, 720.0);
LODWORD(v7) = sub_10039FF60(v7, v8, 0, v9, v10, v11, v24[0]);
v12 = cocos2d::CCDelayTime::create(0.5 * *(float *)(a1 + 344));
v16 = sub_10039EB60(v7, v12, 0, v13, v14, v15);
cocos2d::CCNode::runAction(*(_QWORD *)(a1 + 336), v16);
v17 = *(_QWORD *)(a1 + 328);
LODWORD(v7) = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v16 + 112LL))(v16);
v18 = cocos2d::CCCallFunc::create(a1, cocos2d::CCTransitionScene::finish, 0);
v22 = sub_10039EB60(v7, v18, 0, v19, v20, v21);
return cocos2d::CCNode::runAction(v17, v22);
}