//
// cocos2d::CCTransitionProgress::onEnter from 0xd63314 to 0xd63504 (496 bytes)
//
// 8 xrefs:
// > ??> @ 0x104290
// > ??> @ 0x1522810
// > ??> @ 0x1522bc0
// > ??> @ 0x1522f70
// > ??> @ 0x1523320
// > ??> @ 0x15236d0
// > ??> @ 0x1523a80
// > ??> @ 0x1523e30
//
// 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 13:07:52 +0000
//
__int64 __fastcall cocos2d::CCTransitionProgress::onEnter(cocos2d::CCTransitionProgress *this)
{
cocos2d::CCDirector *v2; // x0
cocos2d::CCDirector *v3; // x0
int v4; // w2
cocos2d::CCRenderTexture *v5; // x20
__int64 v6; // x23
void (__fastcall *v7)(__int64, float *); // x24
void (__fastcall *v8)(cocos2d::CCRenderTexture *, float *); // x23
void (__fastcall *v9)(cocos2d::CCRenderTexture *, float *); // x23
cocos2d::CCProgressFromTo *v10; // x20
cocos2d::CCSequence *v11; // x21
__int64 v12; // x0
cocos2d::CCAction *v13; // x0
__int64 v15; // [xsp+58h] [xbp+58h] BYREF
float v16; // [xsp+60h] [xbp+60h] BYREF
cocos2d::CCTransitionScene::onEnter(this);
v2 = (cocos2d::CCDirector *)(*(__int64 (__fastcall **)(cocos2d::CCTransitionProgress *))(*(_QWORD *)this + 920LL))(this);
v3 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v2);
cocos2d::CCDirector::getWinSize(&v15, v3);
v5 = (cocos2d::CCRenderTexture *)cocos2d::CCRenderTexture::create(
(cocos2d::CCRenderTexture *)(unsigned int)(int)*(float *)&v15,
(int)*((float *)&v15 + 1),
v4);
v6 = (*(__int64 (__fastcall **)(cocos2d::CCRenderTexture *))(*(_QWORD *)v5 + 896LL))(v5);
v7 = *(void (__fastcall **)(__int64, float *))(*(_QWORD *)v6 + 296LL);
cocos2d::CCPoint::CCPoint(&v16, 0.5, 0.5);
v7(v6, &v16);
v8 = *(void (__fastcall **)(cocos2d::CCRenderTexture *, float *))(*(_QWORD *)v5 + 184LL);
cocos2d::CCPoint::CCPoint(&v16, *(float *)&v15 * 0.5, *((float *)&v15 + 1) * 0.5);
v8(v5, &v16);
v9 = *(void (__fastcall **)(cocos2d::CCRenderTexture *, float *))(*(_QWORD *)v5 + 296LL);
cocos2d::CCPoint::CCPoint(&v16, 0.5, 0.5);
v9(v5, &v16);
cocos2d::CCRenderTexture::clear(v5, 0.0, 0.0, 0.0, 1.0);
cocos2d::CCRenderTexture::begin(v5);
(*(void (__fastcall **)(_QWORD))(**((_QWORD **)this + 45) + 752LL))(*((_QWORD *)this + 45));
cocos2d::CCRenderTexture::end(v5);
if ( *((_QWORD *)this + 45) == *((_QWORD *)this + 42) )
cocos2d::CCTransitionScene::hideOutShowIn(this);
v10 = (cocos2d::CCProgressFromTo *)(*(__int64 (__fastcall **)(cocos2d::CCTransitionProgress *, cocos2d::CCRenderTexture *))(*(_QWORD *)this + 912LL))(
this,
v5);
v11 = cocos2d::CCProgressFromTo::create(v10, *((float *)this + 86), *((float *)this + 89), *((float *)this + 88));
v12 = cocos2d::CCCallFunc::create(this, (__int64)cocos2d::CCTransitionScene::finish, 0);
v13 = cocos2d::CCSequence::create(v11, v12, 0);
cocos2d::CCNode::runAction((cocos2d::CCActionManager **)v10, v13);
(*(void (__fastcall **)(cocos2d::CCTransitionProgress *, cocos2d::CCProgressFromTo *, __int64, __int64))(*(_QWORD *)this + 472LL))(
this,
v10,
2,
49153);
return _stack_chk_guard;
}