// // cocos2d::CCTransitionCrossFade::onEnter from 0x7dad5c to 0x7daff2 (662 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::CCTransitionCrossFade::onEnter(cocos2d::CCFadeTo **this, int a2, _DWORD *a3) { cocos2d::CCDirector *v4; // r0 int v5; // r0 cocos2d::CCLayerColor *v6; // r10 int v7; // r2 int result; // r0 cocos2d::CCRenderTexture *v9; // r6 int v10; // r4 void (__fastcall *v11)(int, float *); // r11 void (__fastcall *v12)(cocos2d::CCRenderTexture *, float *); // r4 void (__fastcall *v13)(cocos2d::CCRenderTexture *, float *); // r4 int v14; // r2 cocos2d::CCRenderTexture *v15; // r4 int v16; // r11 void (__fastcall *v17)(cocos2d::CCRenderTexture *, float *); // r11 void (__fastcall *v18)(cocos2d::CCRenderTexture *, float *); // r11 int v19; // r3 int v20; // r0 int v21; // r0 int v22; // r0 int v23; // r0 unsigned __int8 v24; // r2 cocos2d::CCSequence *v25; // r0 cocos2d::CCSequence *v26; // r6 cocos2d::CCCallFunc *v27; // r0 cocos2d::CCFiniteTimeAction *v28; // r11 cocos2d::CCFiniteTimeAction *v29; // r0 cocos2d::CCAction *v30; // r5 cocos2d::CCActionManager **v31; // r0 void (__fastcall *v32)(int, float *); // [sp+4h] [bp-38h] int v33; // [sp+8h] [bp-34h] BYREF float v34; // [sp+Ch] [bp-30h] BYREF float v35; // [sp+10h] [bp-2Ch] int v36; // [sp+14h] [bp-28h] int v37; // [sp+18h] [bp-24h] int v38; // [sp+1Ch] [bp-20h] int v39; // [sp+20h] [bp-1Ch] int (__fastcall *v40)(cocos2d::CCTransitionScene *); // [sp+24h] [bp-18h] int v41; // [sp+28h] [bp-14h] float v42[2]; // [sp+2Ch] [bp-10h] BYREF v4 = (cocos2d::CCDirector *)cocos2d::CCTransitionScene::onEnter((cocos2d::CCTransitionScene *)this, a2, a3); v33 = 0; v5 = cocos2d::CCDirector::sharedDirector(v4); cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)&v34, v5); v6 = cocos2d::CCLayerColor::create((int)&v33); result = cocos2d::CCRenderTexture::create((cocos2d::CCRenderTexture *)(int)v34, (int)v35, v7); v9 = (cocos2d::CCRenderTexture *)result; if ( result ) { v10 = (*(int (__fastcall **)(int))(*(_DWORD *)result + 448))(result); v11 = *(void (__fastcall **)(int, float *))(*(_DWORD *)v10 + 148); cocos2d::CCPoint::CCPoint(v42, 0.5, 0.5); v11(v10, v42); v12 = *(void (__fastcall **)(cocos2d::CCRenderTexture *, float *))(*(_DWORD *)v9 + 92); cocos2d::CCPoint::CCPoint(v42, v34 * 0.5, v35 * 0.5); v12(v9, v42); v13 = *(void (__fastcall **)(cocos2d::CCRenderTexture *, float *))(*(_DWORD *)v9 + 148); cocos2d::CCPoint::CCPoint(v42, 0.5, 0.5); v13(v9, v42); cocos2d::CCRenderTexture::begin(v9); (*(void (__fastcall **)(_DWORD))(*(_DWORD *)*(this + 67) + 376))(*(this + 67)); cocos2d::CCRenderTexture::end(v9); v15 = (cocos2d::CCRenderTexture *)cocos2d::CCRenderTexture::create( (cocos2d::CCRenderTexture *)(int)v34, (int)v35, v14); v16 = (*(int (__fastcall **)(cocos2d::CCRenderTexture *))(*(_DWORD *)v15 + 448))(v15); v32 = *(void (__fastcall **)(int, float *))(*(_DWORD *)v16 + 148); cocos2d::CCPoint::CCPoint(v42, 0.5, 0.5); v32(v16, v42); v17 = *(void (__fastcall **)(cocos2d::CCRenderTexture *, float *))(*(_DWORD *)v15 + 92); cocos2d::CCPoint::CCPoint(v42, v34 * 0.5, v35 * 0.5); v17(v15, v42); v18 = *(void (__fastcall **)(cocos2d::CCRenderTexture *, float *))(*(_DWORD *)v15 + 148); cocos2d::CCPoint::CCPoint(v42, 0.5, 0.5); v18(v15, v42); cocos2d::CCRenderTexture::begin(v15); (*(void (__fastcall **)(_DWORD))(*(_DWORD *)*(this + 68) + 376))(*(this + 68)); cocos2d::CCRenderTexture::end(v15); v36 = 1; v37 = 1; v19 = *(_DWORD *)v9; v38 = 770; v39 = 771; v20 = (*(int (__fastcall **)(cocos2d::CCRenderTexture *))(v19 + 448))(v9); (*(void (__fastcall **)(int, int, int))(*(_DWORD *)v20 + 540))(v20, v36, v37); v21 = (*(int (__fastcall **)(cocos2d::CCRenderTexture *))(*(_DWORD *)v15 + 448))(v15); (*(void (__fastcall **)(int, int, int))(*(_DWORD *)v21 + 540))(v21, v38, v39); (*(void (__fastcall **)(cocos2d::CCLayerColor *, cocos2d::CCRenderTexture *))(*(_DWORD *)v6 + 228))(v6, v9); (*(void (__fastcall **)(cocos2d::CCLayerColor *, cocos2d::CCRenderTexture *))(*(_DWORD *)v6 + 228))(v6, v15); v22 = (*(int (__fastcall **)(cocos2d::CCRenderTexture *))(*(_DWORD *)v9 + 448))(v9); (*(void (__fastcall **)(int, int))(*(_DWORD *)v22 + 456))(v22, 255); v23 = (*(int (__fastcall **)(cocos2d::CCRenderTexture *))(*(_DWORD *)v15 + 448))(v15); (*(void (__fastcall **)(int, int))(*(_DWORD *)v23 + 456))(v23, 255); v25 = (cocos2d::CCSequence *)cocos2d::CCFadeTo::create(*(this + 69), 0.0, v24); v41 = 0; v40 = cocos2d::CCTransitionScene::hideOutShowIn; v26 = v25; v27 = cocos2d::CCCallFunc::create((int)this, (int)cocos2d::CCTransitionScene::hideOutShowIn, 0); v42[1] = 0.0; LODWORD(v42[0]) = cocos2d::CCTransitionScene::finish; v28 = v27; v29 = cocos2d::CCCallFunc::create((int)this, (int)cocos2d::CCTransitionScene::finish, 0); v30 = cocos2d::CCSequence::create(v26, v28, v29, 0); v31 = (cocos2d::CCActionManager **)(*(int (__fastcall **)(cocos2d::CCRenderTexture *))(*(_DWORD *)v15 + 448))(v15); cocos2d::CCNode::runAction(v31, v30); return (*((int (__fastcall **)(cocos2d::CCFadeTo **, cocos2d::CCLayerColor *, int, int))*this + 59))( this, v6, 2, -86050082); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source