//
// cocos2d::CCTransitionScene::finish from 0x7d8eac to 0x7d8f90 (228 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:00:42 +0000
//
int __fastcall cocos2d::CCTransitionScene::finish(
cocos2d::CCTransitionScene *this,
_DWORD (*a2)(cocos2d::CCTransitionScene *__hidden this, float),
int a3,
int a4)
{
int v5; // r7
void (__fastcall *v6)(int, _DWORD (**)(cocos2d::CCTransitionScene *__hidden, float)); // r8
cocos2d::CCCamera *v7; // r0
int v8; // r7
void (__fastcall *v9)(int, _DWORD (**)(cocos2d::CCTransitionScene *__hidden, float)); // r8
cocos2d::CCCamera *v10; // r0
_DWORD (*v12)(cocos2d::CCTransitionScene *__hidden, float); // [sp+4h] [bp-Ch] BYREF
int v13; // [sp+8h] [bp-8h]
int v14; // [sp+Ch] [bp-4h]
v12 = a2;
v13 = a3;
v14 = a4;
(*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 67) + 172))(*((_DWORD *)this + 67), 1);
v5 = *((_DWORD *)this + 67);
v6 = *(void (__fastcall **)(int, _DWORD (**)(cocos2d::CCTransitionScene *__hidden, float)))(*(_DWORD *)v5 + 92);
cocos2d::CCPoint::CCPoint((float *)&v12, 0.0, 0.0);
v6(v5, &v12);
(*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 67) + 80))(*((_DWORD *)this + 67), 1065353216);
(*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 67) + 180))(*((_DWORD *)this + 67), 0);
v7 = (cocos2d::CCCamera *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 67) + 336))(*((_DWORD *)this + 67));
cocos2d::CCCamera::restore(v7);
(*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 68) + 172))(*((_DWORD *)this + 68), 0);
v8 = *((_DWORD *)this + 68);
v9 = *(void (__fastcall **)(int, _DWORD (**)(cocos2d::CCTransitionScene *__hidden, float)))(*(_DWORD *)v8 + 92);
cocos2d::CCPoint::CCPoint((float *)&v12, 0.0, 0.0);
v9(v8, &v12);
(*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 68) + 80))(*((_DWORD *)this + 68), 1065353216);
(*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 68) + 180))(*((_DWORD *)this + 68), 0);
v10 = (cocos2d::CCCamera *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 68) + 336))(*((_DWORD *)this + 68));
cocos2d::CCCamera::restore(v10);
v12 = cocos2d::CCTransitionScene::setNewScene;
v13 = 0;
return cocos2d::CCNode::schedule((int)this, (int)cocos2d::CCTransitionScene::setNewScene, 0, 0);
}