//
// cocos2d::CCTransitionProgress::onEnter from 0x7dbb74 to 0x7dbcde (362 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:44 +0000
//
int __fastcall cocos2d::CCTransitionProgress::onEnter(cocos2d::CCTransitionProgress *this, int a2, _DWORD *a3)
{
cocos2d::CCDirector *v4; // r0
int v5; // r0
int v6; // r2
cocos2d::CCRenderTexture *v7; // r5
int v8; // r8
void (__fastcall *v9)(int, float *); // r9
void (__fastcall *v10)(cocos2d::CCRenderTexture *, float *); // r8
void (__fastcall *v11)(cocos2d::CCRenderTexture *, float *); // r8
cocos2d::CCActionManager **v12; // r5
float v13; // r3
cocos2d::CCSequence *v14; // r0
cocos2d::CCSequence *v15; // r9
cocos2d::CCFiniteTimeAction *v16; // r0
cocos2d::CCAction *v17; // r0
float v19; // [sp+Ch] [bp-18h] BYREF
float v20; // [sp+10h] [bp-14h]
float v21[2]; // [sp+14h] [bp-10h] BYREF
cocos2d::CCTransitionScene::onEnter(this, a2, a3);
v4 = (cocos2d::CCDirector *)(*(int (__fastcall **)(cocos2d::CCTransitionProgress *))(*(_DWORD *)this + 460))(this);
v5 = cocos2d::CCDirector::sharedDirector(v4);
cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)&v19, v5);
v7 = (cocos2d::CCRenderTexture *)cocos2d::CCRenderTexture::create((cocos2d::CCRenderTexture *)(int)v19, (int)v20, v6);
v8 = (*(int (__fastcall **)(cocos2d::CCRenderTexture *))(*(_DWORD *)v7 + 448))(v7);
v9 = *(void (__fastcall **)(int, float *))(*(_DWORD *)v8 + 148);
cocos2d::CCPoint::CCPoint(v21, 0.5, 0.5);
v9(v8, v21);
v10 = *(void (__fastcall **)(cocos2d::CCRenderTexture *, float *))(*(_DWORD *)v7 + 92);
cocos2d::CCPoint::CCPoint(v21, v19 * 0.5, v20 * 0.5);
v10(v7, v21);
v11 = *(void (__fastcall **)(cocos2d::CCRenderTexture *, float *))(*(_DWORD *)v7 + 148);
cocos2d::CCPoint::CCPoint(v21, 0.5, 0.5);
v11(v7, v21);
cocos2d::CCRenderTexture::clear(v7, 0.0, 0.0, 0.0, 1.0);
cocos2d::CCRenderTexture::begin(v7);
(*(void (__fastcall **)(_DWORD))(**((_DWORD **)this + 73) + 376))(*((_DWORD *)this + 73));
cocos2d::CCRenderTexture::end(v7);
if ( *((_DWORD *)this + 73) == *((_DWORD *)this + 68) )
cocos2d::CCTransitionScene::hideOutShowIn(this);
v12 = (cocos2d::CCActionManager **)(*(int (__fastcall **)(cocos2d::CCTransitionProgress *, cocos2d::CCRenderTexture *))(*(_DWORD *)this + 456))(
this,
v7);
v14 = (cocos2d::CCSequence *)cocos2d::CCProgressFromTo::create(
*((cocos2d::CCProgressFromTo **)this + 69),
*((float *)this + 72),
*((float *)this + 71),
v13);
v21[1] = 0.0;
LODWORD(v21[0]) = cocos2d::CCTransitionScene::finish;
v15 = v14;
v16 = cocos2d::CCCallFunc::create((int)this, (int)cocos2d::CCTransitionScene::finish, 0);
v17 = cocos2d::CCSequence::create(v15, v16, nullptr);
cocos2d::CCNode::runAction(v12, v17);
return (*(int (__fastcall **)(cocos2d::CCTransitionProgress *, cocos2d::CCActionManager **, int, int))(*(_DWORD *)this + 236))(
this,
v12,
2,
49153);
}