//
// cocos2d::CCTransitionScene::finish from 0x5d0d1c to 0x5d0e00 (228 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::CCTransitionScene::finish(cocos2d::CCTransitionScene *a1)
{
cocos2d::CCTransitionScene_vtbl *v2; // r7
void (__fastcall *v3)(cocos2d::CCTransitionScene_vtbl *, cocos2d::CCPoint *); // r8
cocos2d::CCCamera *v4; // r0
unsigned int m_uID; // r7
void (__fastcall *v6)(unsigned int, cocos2d::CCPoint *); // r8
cocos2d::CCCamera *v7; // r0
cocos2d::CCPoint v8; // [sp+4h] [bp-Ch] BYREF
(*((void (__fastcall **)(cocos2d::CCTransitionScene_vtbl *, int))a1[1].copyWithZone + 41))(a1[1].__vftable, 1);
v2 = a1[1].__vftable;
v3 = *((void (__fastcall **)(cocos2d::CCTransitionScene_vtbl *, cocos2d::CCPoint *))v2->copyWithZone + 23);
cocos2d::CCPoint::CCPoint(&v8, 0.0, 0.0);
v3(v2, &v8);
(*((void (__fastcall **)(cocos2d::CCTransitionScene_vtbl *, int))a1[1].copyWithZone + 20))(
a1[1].__vftable,
1065353216);
(*((void (__fastcall **)(cocos2d::CCTransitionScene_vtbl *, _DWORD))a1[1].copyWithZone + 43))(a1[1].__vftable, 0);
v4 = (cocos2d::CCCamera *)(*((int (__fastcall **)(cocos2d::CCTransitionScene_vtbl *))a1[1].copyWithZone + 82))(a1[1].__vftable);
cocos2d::CCCamera::restore(v4);
(*(void (__fastcall **)(unsigned int, _DWORD))(*(_DWORD *)a1[1].m_uID + 164))(a1[1].m_uID, 0);
m_uID = a1[1].m_uID;
v6 = *(void (__fastcall **)(unsigned int, cocos2d::CCPoint *))(*(_DWORD *)m_uID + 92);
cocos2d::CCPoint::CCPoint(&v8, 0.0, 0.0);
v6(m_uID, &v8);
(*(void (__fastcall **)(unsigned int, int))(*(_DWORD *)a1[1].m_uID + 80))(a1[1].m_uID, 1065353216);
(*(void (__fastcall **)(unsigned int, _DWORD))(*(_DWORD *)a1[1].m_uID + 172))(a1[1].m_uID, 0);
v7 = (cocos2d::CCCamera *)(*(int (__fastcall **)(unsigned int))(*(_DWORD *)a1[1].m_uID + 328))(a1[1].m_uID);
cocos2d::CCCamera::restore(v7);
LODWORD(v8.x) = cocos2d::CCTransitionScene::setNewScene;
v8.y = 0.0;
cocos2d::CCNode::schedule(a1, (cocos2d::SEL_SCHEDULE)(unsigned int)cocos2d::CCTransitionScene::setNewScene);
}