// // cocos2d::CCTransitionCrossFade::onEnter from 0x180056900 to 0x180056c6d (877 bytes) // // 5 xrefs: // > @ 0x1800f99b8 // > @ 0x180141a1c // > @ 0x180141a2c // > @ 0x18014cf68 // > @ 0x1801bca00 // // This function is hookable on this platform (idp: pc, 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:21:47 +0000 // void __fastcall cocos2d::CCTransitionCrossFade::onEnter(cocos2d::CCTransitionCrossFade *this) { struct cocos2d::CCDirector *v2; // rax cocos2d::CCTouchDispatcher *v3; // rax struct cocos2d::CCDirector *v4; // rax struct cocos2d::CCLayerColor *v5; // rbp struct cocos2d::CCRenderTexture *v6; // rax cocos2d::CCRenderTexture *v7; // r15 __int64 *v8; // rdi __int64 v9; // rbx float *v10; // rax __int64 v11; // rbx float *v12; // rax __int64 v13; // rbx float *v14; // rax cocos2d::CCRenderTexture *v15; // rsi __int64 *v16; // rdi __int64 v17; // rbx float *v18; // rax __int64 v19; // rbx float *v20; // rax __int64 v21; // rbx float *v22; // rax __int64 v23; // rax __int64 v24; // rax __int64 v25; // rax __int64 v26; // rax __int64 v27; // rdx __int64 v28; // rax __int64 v29; // rdx float v30; // xmm6_4 cocos2d::CCAction *v31; // rdi cocos2d::CCAction *v32; // rbx struct cocos2d::CCFiniteTimeAction *v33; // rax struct cocos2d::CCAction *v34; // rbx cocos2d::CCActionManager **v35; // rax int v36; // [rsp+70h] [rbp+8h] BYREF float v37; // [rsp+78h] [rbp+10h] BYREF float v38; // [rsp+7Ch] [rbp+14h] __int64 v39; // [rsp+80h] [rbp+18h] BYREF __int64 v40; // [rsp+88h] [rbp+20h] cocos2d::CCNode::onEnter(this); v2 = cocos2d::CCDirector::sharedDirector(); v3 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(struct cocos2d::CCDirector *))(*(_QWORD *)v2 + 144LL))(v2); cocos2d::CCTouchDispatcher::setDispatchEvents(v3, 0); (*(void (__fastcall **)(_QWORD))(**((_QWORD **)this + 42) + 720LL))(*((_QWORD *)this + 42)); (*(void (__fastcall **)(_QWORD))(**((_QWORD **)this + 41) + 696LL))(*((_QWORD *)this + 41)); v36 = 0; v4 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize(v4, &v37); v5 = cocos2d::CCLayerColor::create((const struct cocos2d::_ccColor4B *)&v36); v6 = cocos2d::CCRenderTexture::create((int)v37, (int)v38); v7 = v6; if ( v6 ) { v8 = (__int64 *)(*(__int64 (__fastcall **)(struct cocos2d::CCRenderTexture *))(*(_QWORD *)v6 + 888LL))(v6); v9 = *v8; v10 = kmVec2Fill((float *)&v39, 0.5, 0.5); (*(void (__fastcall **)(__int64 *, float *))(v9 + 288))(v8, v10); v11 = *(_QWORD *)v7; v12 = kmVec2Fill((float *)&v39, v37 * 0.5, v38 * 0.5); (*(void (__fastcall **)(cocos2d::CCRenderTexture *, float *))(v11 + 184))(v7, v12); v13 = *(_QWORD *)v7; v14 = kmVec2Fill((float *)&v39, 0.5, 0.5); (*(void (__fastcall **)(cocos2d::CCRenderTexture *, float *))(v13 + 288))(v7, v14); cocos2d::CCRenderTexture::begin(v7); (*(void (__fastcall **)(_QWORD))(**((_QWORD **)this + 41) + 744LL))(*((_QWORD *)this + 41)); cocos2d::CCRenderTexture::end(v7); v15 = cocos2d::CCRenderTexture::create((int)v37, (int)v38); v16 = (__int64 *)(*(__int64 (__fastcall **)(cocos2d::CCRenderTexture *))(*(_QWORD *)v15 + 888LL))(v15); v17 = *v16; v18 = kmVec2Fill((float *)&v39, 0.5, 0.5); (*(void (__fastcall **)(__int64 *, float *))(v17 + 288))(v16, v18); v19 = *(_QWORD *)v15; v20 = kmVec2Fill((float *)&v39, v37 * 0.5, v38 * 0.5); (*(void (__fastcall **)(cocos2d::CCRenderTexture *, float *))(v19 + 184))(v15, v20); v21 = *(_QWORD *)v15; v22 = kmVec2Fill((float *)&v39, 0.5, 0.5); (*(void (__fastcall **)(cocos2d::CCRenderTexture *, float *))(v21 + 288))(v15, v22); cocos2d::CCRenderTexture::begin(v15); (*(void (__fastcall **)(_QWORD))(**((_QWORD **)this + 42) + 744LL))(*((_QWORD *)this + 42)); cocos2d::CCRenderTexture::end(v15); v23 = *(_QWORD *)v7; v39 = 0x100000001LL; v40 = 0x30300000302LL; v24 = (*(__int64 (__fastcall **)(cocos2d::CCRenderTexture *))(v23 + 888))(v7); (**(void (__fastcall ***)(__int64, __int64))(v24 + 344))(v24 + 344, v39); v25 = (*(__int64 (__fastcall **)(cocos2d::CCRenderTexture *))(*(_QWORD *)v15 + 888LL))(v15); (**(void (__fastcall ***)(__int64, __int64))(v25 + 344))(v25 + 344, v40); (*(void (__fastcall **)(struct cocos2d::CCLayerColor *, cocos2d::CCRenderTexture *))(*(_QWORD *)v5 + 464LL))(v5, v7); (*(void (__fastcall **)(struct cocos2d::CCLayerColor *, cocos2d::CCRenderTexture *))(*(_QWORD *)v5 + 464LL))( v5, v15); v26 = (*(__int64 (__fastcall **)(cocos2d::CCRenderTexture *))(*(_QWORD *)v7 + 888LL))(v7); LOBYTE(v27) = -1; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)(v26 + 320) + 40LL))(v26 + 320, v27); v28 = (*(__int64 (__fastcall **)(cocos2d::CCRenderTexture *))(*(_QWORD *)v15 + 888LL))(v15); LOBYTE(v29) = -1; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)(v28 + 320) + 40LL))(v28 + 320, v29); v30 = *((float *)this + 86); v31 = cocos2d::CCCallFunc::create(this, (__int64)cocos2d::CCTransitionScene::finish); v32 = cocos2d::CCCallFunc::create(this, (__int64)cocos2d::CCTransitionScene::hideOutShowIn); v33 = cocos2d::CCFadeTo::create(v30, 0); v34 = cocos2d::CCSequence::create(v33, v32, v31, 0); v35 = (cocos2d::CCActionManager **)(*(__int64 (__fastcall **)(cocos2d::CCRenderTexture *))(*(_QWORD *)v15 + 888LL))(v15); cocos2d::CCNode::runAction(v35, v34); (*(void (__fastcall **)(cocos2d::CCTransitionCrossFade *, struct cocos2d::CCLayerColor *, __int64, __int64))(*(_QWORD *)this + 448LL))( this, v5, 2, 4208917214LL); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source