//
// cocos2d::CCTransitionRotoZoom::onEnter from 0x1000d5020 to 0x1000d51c1 (417 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008ba158
//
// 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::CCTransitionRotoZoom::onEnter(cocos2d::CCTransitionRotoZoom *a1)
{
__int64 v1; // rax
cocos2d::CCDirector *v3; // rax
cocos2d::CCTouchDispatcher *v4; // rax
cocos2d::CCTransitionRotoZoom_vtbl *v5; // r14
__int64 v6; // r14
unsigned int v7; // eax
int v8; // ecx
int v9; // r8d
int v10; // r9d
unsigned int v11; // eax
int v12; // ecx
int v13; // r8d
int v14; // r9d
cocos2d::CCAction *v15; // rsi
cocos2d::CCNode *v16; // r15
unsigned int v17; // eax
int v18; // ecx
int v19; // r8d
int v20; // r9d
cocos2d::CCAction *v21; // rax
_QWORD v22[4]; // [rsp+0h] [rbp-20h] BYREF
v22[0] = v1;
cocos2d::CCNode::onEnter(a1);
v3 = cocos2d::CCDirector::sharedDirector();
v4 = (cocos2d::CCTouchDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v3->getTouchDispatcher)(v3);
cocos2d::CCTouchDispatcher::setDispatchEvents(v4, 0);
(*(void (__fastcall **)(_QWORD))(**(_QWORD **)&a1[1].m_uID + 712LL))(*(_QWORD *)&a1[1].m_uID);
(*((void (__fastcall **)(cocos2d::CCTransitionRotoZoom_vtbl *))a1[1].copyWithZone + 86))(a1[1].__vftable);
(*((void (__fastcall **)(cocos2d::CCTransitionRotoZoom_vtbl *, float))a1[1].copyWithZone + 20))(
a1[1].__vftable,
0.001);
(*(void (__fastcall **)(_QWORD, float))(**(_QWORD **)&a1[1].m_uID + 160LL))(*(_QWORD *)&a1[1].m_uID, 1.0);
v5 = a1[1].__vftable;
sub_10028CBE0(v22, 0.5, 0.5);
(*((void (__fastcall **)(cocos2d::CCTransitionRotoZoom_vtbl *, _QWORD *))v5->copyWithZone + 35))(v5, v22);
v6 = *(_QWORD *)&a1[1].m_uID;
sub_10028CBE0(v22, 0.5, 0.5);
(*(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v6 + 280LL))(v6, v22);
LODWORD(v6) = (unsigned int)cocos2d::CCScaleBy::create_1(*(float *)&a1[1].m_nTag * 0.5, 0.001);
v7 = (unsigned int)cocos2d::CCRotateBy::create_1(*(float *)&a1[1].m_nTag * 0.5, 720.0);
LODWORD(v6) = sub_1003B6B60(v6, v7, 0, v8, v9, v10, v22[0]);
v11 = (unsigned int)cocos2d::CCDelayTime::create(0.5 * *(float *)&a1[1].m_nTag);
v15 = (cocos2d::CCAction *)sub_1003B5760(v6, v11, 0, v12, v13, v14);
cocos2d::CCNode::runAction(*(cocos2d::CCNode **)&a1[1].m_uID, v15);
v16 = (cocos2d::CCNode *)a1[1].__vftable;
LODWORD(v6) = ((__int64 (__fastcall *)(cocos2d::CCAction *))v15->__vftable[1].copyWithZone)(v15);
v17 = (unsigned int)cocos2d::CCCallFunc::create(
a1,
(cocos2d::SEL_CallFunc)(unsigned __int64)cocos2d::CCTransitionScene::finish);
v21 = (cocos2d::CCAction *)sub_1003B5760(v6, v17, 0, v18, v19, v20);
cocos2d::CCNode::runAction(v16, v21);
}