//
// cocos2d::CCTransitionScene::finish from 0x100265ad4 to 0x100265c00 (300 bytes)
//
// 2 xrefs:
// > cocos2d::CCTransitionMoveInL::onEnter @ 0x100265e00
// > cocos2d::CCTransitionFade::onEnter @ 0x10026617c
//
// This function is hookable on this platform (idp: arm, 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 11:01:41 +0000
//
__int64 __fastcall cocos2d::CCTransitionScene::finish(__int64 a1)
{
__int64 v2; // x20
__int64 v3; // x0
__int64 v4; // x20
__int64 v5; // x0
float v7; // [xsp+8h] [xbp-18h] BYREF
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 328) + 344LL))(*(_QWORD *)(a1 + 328), 1);
v2 = *(_QWORD *)(a1 + 328);
sub_1000262BC(&v7, 0.0, 0.0);
(*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v2 + 184LL))(v2, &v7);
(*(void (__fastcall **)(_QWORD, float))(**(_QWORD **)(a1 + 328) + 160LL))(*(_QWORD *)(a1 + 328), 1.0);
(*(void (__fastcall **)(_QWORD, float))(**(_QWORD **)(a1 + 328) + 360LL))(*(_QWORD *)(a1 + 328), 0.0);
v3 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 328) + 672LL))(*(_QWORD *)(a1 + 328));
cocos2d::CCCamera::restore(v3);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 336) + 344LL))(*(_QWORD *)(a1 + 336), 0);
v4 = *(_QWORD *)(a1 + 336);
sub_1000262BC(&v7, 0.0, 0.0);
(*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v4 + 184LL))(v4, &v7);
(*(void (__fastcall **)(_QWORD, float))(**(_QWORD **)(a1 + 336) + 160LL))(*(_QWORD *)(a1 + 336), 1.0);
(*(void (__fastcall **)(_QWORD, float))(**(_QWORD **)(a1 + 336) + 360LL))(*(_QWORD *)(a1 + 336), 0.0);
v5 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 336) + 672LL))(*(_QWORD *)(a1 + 336));
cocos2d::CCCamera::restore(v5);
return cocos2d::CCNode::schedule(a1, cocos2d::CCTransitionScene::setNewScene, 0, 0.0);
}