//
// cocos2d::CCTransitionRotoZoom::onEnter from 0x5d1eac to 0x5d1fc2 (278 bytes)
//
// 0 xrefs:
//
// 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 cocos2d::CCTransitionRotoZoom::onEnter(cocos2d::CCTransitionRotoZoom *a1)
{
cocos2d::CCTransitionRotoZoom_vtbl *v2; // r7
void (__fastcall *v3)(cocos2d::CCTransitionRotoZoom_vtbl *, cocos2d::CCPoint *); // r8
unsigned int m_uID; // r7
void (__fastcall *v5)(unsigned int, cocos2d::CCPoint *); // r8
float v6; // r2
cocos2d::CCSpawn *v7; // r7
float v8; // r2
cocos2d::CCRotateBy *v9; // r0
cocos2d::CCSequence *v10; // r7
cocos2d::CCDelayTime *v11; // r0
cocos2d::CCSequence *v12; // r7
cocos2d::CCNode *v13; // r8
int v14; // r0
cocos2d::CCSequence *v15; // r9
cocos2d::CCCallFunc *v16; // r0
cocos2d::CCSequence *v17; // r0
cocos2d::CCPoint v18; // [sp+4h] [bp-10h] BYREF
cocos2d::CCTransitionScene::onEnter(a1);
(*((void (__fastcall **)(cocos2d::CCTransitionRotoZoom_vtbl *, int))a1[1].copyWithZone + 20))(
a1[1].__vftable,
981668463);
(*(void (__fastcall **)(unsigned int, int))(*(_DWORD *)a1[1].m_uID + 80))(a1[1].m_uID, 1065353216);
v2 = a1[1].__vftable;
v3 = *((void (__fastcall **)(cocos2d::CCTransitionRotoZoom_vtbl *, cocos2d::CCPoint *))v2->copyWithZone + 35);
cocos2d::CCPoint::CCPoint(&v18, 0.5, 0.5);
v3(v2, &v18);
m_uID = a1[1].m_uID;
v5 = *(void (__fastcall **)(unsigned int, cocos2d::CCPoint *))(*(_DWORD *)m_uID + 140);
cocos2d::CCPoint::CCPoint(&v18, 0.5, 0.5);
v5(m_uID, &v18);
v7 = (cocos2d::CCSpawn *)cocos2d::CCScaleBy::create(
COERCE_COCOS2D_CCSCALEBY_(*(float *)&a1[1].m_nLuaID * 0.5),
0.001,
v6);
v9 = cocos2d::CCRotateBy::create(COERCE_COCOS2D_CCROTATEBY_(*(float *)&a1[1].m_nLuaID * 0.5), 720.0, v8);
v10 = (cocos2d::CCSequence *)cocos2d::CCSpawn::create(v7, v9, 0);
v11 = cocos2d::CCDelayTime::create(*(float *)&a1[1].m_nLuaID * 0.5);
v12 = cocos2d::CCSequence::create(v10, v11, 0);
cocos2d::CCNode::runAction((cocos2d::CCNode *)a1[1].m_uID, v12);
v13 = (cocos2d::CCNode *)a1[1].__vftable;
v14 = (int)v12->reverse(v12);
v18.y = 0.0;
LODWORD(v18.x) = cocos2d::CCTransitionScene::finish;
v15 = (cocos2d::CCSequence *)v14;
v16 = cocos2d::CCCallFunc::create((int)a1, (int)cocos2d::CCTransitionScene::finish, 0);
v17 = cocos2d::CCSequence::create(v15, v16, 0);
cocos2d::CCNode::runAction(v13, v17);
}