// // cocos2d::CCTransitionProgress::onEnter from 0x180059460 to 0x18005964c (492 bytes) // // 9 xrefs: // > @ 0x1800fba88 // > @ 0x1800fbe28 // > @ 0x1800fc1c8 // > @ 0x1800fc568 // > @ 0x1800fc908 // > @ 0x1800fcca8 // > @ 0x1800fd048 // > @ 0x18014cf68 // > @ 0x1801bcc28 // // 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:48 +0000 // void __fastcall cocos2d::CCTransitionProgress::onEnter(cocos2d::CCTransitionProgress *this) { struct cocos2d::CCDirector *v2; // rax cocos2d::CCRenderTexture *v3; // r14 __int64 *v4; // rdi __int64 v5; // rbx float *v6; // rax __int64 v7; // rbx float *v8; // rax __int64 v9; // rbx float *v10; // rax __int64 v11; // rdx cocos2d::CCActionManager **v12; // rdi float v13; // xmm2_4 float v14; // xmm1_4 float v15; // xmm0_4 cocos2d::CCAction *v16; // rbx struct cocos2d::CCFiniteTimeAction *v17; // rax struct cocos2d::CCAction *v18; // rax float v19; // [rsp+80h] [rbp+8h] BYREF float v20; // [rsp+84h] [rbp+Ch] float v21; // [rsp+88h] [rbp+10h] BYREF cocos2d::CCTransitionScene::onEnter(this); (*(void (__fastcall **)(cocos2d::CCTransitionProgress *))(*(_QWORD *)this + 912LL))(this); v2 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize(v2, &v19); v3 = cocos2d::CCRenderTexture::create((int)v19, (int)v20); v4 = (__int64 *)(*(__int64 (__fastcall **)(cocos2d::CCRenderTexture *))(*(_QWORD *)v3 + 888LL))(v3); v5 = *v4; v6 = kmVec2Fill(&v21, 0.5, 0.5); (*(void (__fastcall **)(__int64 *, float *))(v5 + 288))(v4, v6); v7 = *(_QWORD *)v3; v8 = kmVec2Fill(&v21, v19 * 0.5, v20 * 0.5); (*(void (__fastcall **)(cocos2d::CCRenderTexture *, float *))(v7 + 184))(v3, v8); v9 = *(_QWORD *)v3; v10 = kmVec2Fill(&v21, 0.5, 0.5); (*(void (__fastcall **)(cocos2d::CCRenderTexture *, float *))(v9 + 288))(v3, v10); cocos2d::CCRenderTexture::clear(v3, 0.0, 0.0, 0.0, 1.0); cocos2d::CCRenderTexture::begin(v3); (*(void (__fastcall **)(_QWORD))(**((_QWORD **)this + 45) + 744LL))(*((_QWORD *)this + 45)); cocos2d::CCRenderTexture::end(v3); if ( *((_QWORD *)this + 45) == *((_QWORD *)this + 42) ) cocos2d::CCTransitionScene::hideOutShowIn(this, v11); v12 = (cocos2d::CCActionManager **)(*(__int64 (__fastcall **)(cocos2d::CCTransitionProgress *, cocos2d::CCRenderTexture *))(*(_QWORD *)this + 904LL))( this, v3); v13 = *((float *)this + 88); v14 = *((float *)this + 89); v15 = *((float *)this + 86); v16 = cocos2d::CCCallFunc::create(this, (__int64)cocos2d::CCTransitionScene::finish); v17 = cocos2d::CCProgressFromTo::create(v15, v14, v13); v18 = cocos2d::CCSequence::create(v17, v16, 0); cocos2d::CCNode::runAction(v12, v18); (*(void (__fastcall **)(cocos2d::CCTransitionProgress *, cocos2d::CCActionManager **, __int64, __int64))(*(_QWORD *)this + 448LL))( this, v12, 2, 49153); }
GD Web Decomp Icon

GD Web Decomp

Raw Source