// // cocos2d::CCTransitionCrossFade::onEnter from 0x1000a7ab0 to 0x1000a7de1 (817 bytes) // // 1 xrefs: // > @ 0x100ac1a50 // // 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 12:20:15 +0000 // __int64 __fastcall cocos2d::CCTransitionCrossFade::onEnter(__int64 a1, __int64 a2) { __int64 v3; // rax __int64 v4; // rax __int64 v5; // rdi __int64 v6; // rax __int64 v7; // r14 __int64 result; // rax __int64 v9; // r15 __int64 v10; // r12 __int64 v11; // r12 __int64 v12; // r13 __int64 v13; // rax __int64 v14; // rax __int64 v15; // r13 __int64 v16; // rax __int64 v17; // rax int v18; // r14d int v19; // eax int v20; // r8d int v21; // r9d __int64 v22; // r14 __int64 v23; // rax int v24; // [rsp+14h] [rbp-3Ch] BYREF _BYTE v25[8]; // [rsp+18h] [rbp-38h] BYREF float v26; // [rsp+20h] [rbp-30h] BYREF float v27; // [rsp+24h] [rbp-2Ch] cocos2d::CCNode::onEnter(a1); v3 = cocos2d::CCDirector::sharedDirector(a1, a2); v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 160LL))(v3); cocos2d::CCTouchDispatcher::setDispatchEvents(v4, 0); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 336) + 728LL))(*(_QWORD *)(a1 + 336)); v5 = *(_QWORD *)(a1 + 328); (*(void (__fastcall **)(__int64))(*(_QWORD *)v5 + 704LL))(v5); v24 = 0; v6 = cocos2d::CCDirector::sharedDirector(v5, 0); cocos2d::CCDirector::getWinSize(&v26, v6); v7 = cocos2d::CCLayerColor::create_1(&v24); result = cocos2d::CCRenderTexture::create_2((unsigned int)(int)v26, (unsigned int)(int)v27); if ( result ) { v9 = result; v10 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)result + 896LL))(result); sub_100278250(v25, 0.5, 0.5); (*(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v10 + 296LL))(v10, v25); sub_100278250(v25, v26 * 0.5, v27 * 0.5); (*(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v9 + 184LL))(v9, v25); sub_100278250(v25, 0.5, 0.5); (*(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v9 + 296LL))(v9, v25); cocos2d::CCRenderTexture::begin(v9); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 328) + 752LL))(*(_QWORD *)(a1 + 328)); cocos2d::CCRenderTexture::end(v9); v11 = cocos2d::CCRenderTexture::create_2((unsigned int)(int)v26, (unsigned int)(int)v27); v12 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v11 + 896LL))(v11); sub_100278250(v25, 0.5, 0.5); (*(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v12 + 296LL))(v12, v25); sub_100278250(v25, v26 * 0.5, v27 * 0.5); (*(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v11 + 184LL))(v11, v25); sub_100278250(v25, 0.5, 0.5); (*(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v11 + 296LL))(v11, v25); cocos2d::CCRenderTexture::begin(v11); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 336) + 752LL))(*(_QWORD *)(a1 + 336)); cocos2d::CCRenderTexture::end(v11); v13 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v9 + 896LL))(v9); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v13 + 1080LL))(v13, 0x100000001LL); v14 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v11 + 896LL))(v11); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v14 + 1080LL))(v14, 0x30300000302LL); v15 = v7; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v15 + 456LL))(v15, v9); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v15 + 456LL))(v15, v11); v16 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v9 + 896LL))(v9); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v16 + 912LL))(v16, 255); v17 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v11 + 896LL))(v11); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v17 + 912LL))(v17, 255); v18 = cocos2d::CCFadeTo::create(0, *(float *)(a1 + 344)); LODWORD(v9) = cocos2d::CCCallFunc::create(a1, cocos2d::CCTransitionScene::hideOutShowIn, 0); v19 = cocos2d::CCCallFunc::create(a1, cocos2d::CCTransitionScene::finish, 0); v22 = sub_10039EB60(v18, v9, v19, 0, v20, v21); v23 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v11 + 896LL))(v11); cocos2d::CCNode::runAction(v23, v22); return (*(__int64 (__fastcall **)(__int64, __int64, __int64, __int64))(*(_QWORD *)a1 + 472LL))( a1, v15, 2, 4208917214LL); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source