// // cocos2d::CCTransitionProgress::onEnter from 0x180057580 to 0x18005772d (429 bytes) // // 9 xrefs: // > @ 0x1800f56a8 // > @ 0x1800f5a38 // > @ 0x1800f5dc8 // > @ 0x1800f6158 // > @ 0x1800f64e8 // > @ 0x1800f6878 // > @ 0x1800f6c08 // > @ 0x1801438a8 // > @ 0x1801b2994 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall cocos2d::CCTransitionProgress::onEnter(cocos2d::CCTransitionProgress *this) { cocos2d::CCDirector *v2; // rax cocos2d::CCRenderTexture *v3; // r14 __int64 *v4; // rbx __int64 v5; // rdi float *v6; // rax cocos2d::CCRenderTexture_vtbl *v7; // rbx float *v8; // rax cocos2d::CCRenderTexture_vtbl *v9; // rbx float *v10; // rax __int64 v11; // rdx cocos2d::CCNode *v12; // rdi cocos2d::CCAction *v13; // rbx struct cocos2d::CCProgressFromTo *v14; // rax struct cocos2d::CCSequence *v15; // rax float v16; // [rsp+60h] [rbp+8h] float v17; // [rsp+64h] [rbp+Ch] float v18; // [rsp+68h] [rbp+10h] BYREF cocos2d::CCTransitionScene::onEnter(this); ((void (__fastcall *)(cocos2d::CCTransitionProgress *))this->setupTransition)(this); v2 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize(v2); v3 = cocos2d::CCRenderTexture::create((int)v16, (int)v17); v4 = (__int64 *)((__int64 (__fastcall *)(cocos2d::CCRenderTexture *))v3->getSprite)(v3); v5 = *v4; v6 = kmVec2Fill(&v18, 0.5, 0.5); (*(void (__fastcall **)(__int64 *, float *))(v5 + 272))(v4, v6); v7 = v3->__vftable; v8 = kmVec2Fill(&v18, v16 * 0.5, v17 * 0.5); ((void (__fastcall *)(cocos2d::CCRenderTexture *, float *))v7->setPosition_0)(v3, v8); v9 = v3->__vftable; v10 = kmVec2Fill(&v18, 0.5, 0.5); ((void (__fastcall *)(cocos2d::CCRenderTexture *, float *))v9->setAnchorPoint)(v3, v10); cocos2d::CCRenderTexture::clear(v3, 0.0, 0.0, 0.0, 1.0); cocos2d::CCRenderTexture::begin(v3); (*(void (__fastcall **)(_QWORD))(**((_QWORD **)this + 45) + 728LL))(*((_QWORD *)this + 45)); cocos2d::CCRenderTexture::end(v3); if ( *((_QWORD *)this + 45) == *((_QWORD *)this + 42) ) cocos2d::CCTransitionScene::hideOutShowIn(this, v11); v12 = (cocos2d::CCNode *)((__int64 (__fastcall *)(cocos2d::CCTransitionProgress *, cocos2d::CCRenderTexture *))this->progressTimerNodeWithRenderTexture)( this, v3); v13 = cocos2d::CCCallFunc::create(this, (__int64)cocos2d::CCTransitionScene::finish); v14 = cocos2d::CCProgressFromTo::create(*((float *)this + 86), *((float *)this + 89), *((float *)this + 88)); v15 = cocos2d::CCSequence::create(v14, v13, 0); cocos2d::CCNode::runAction(v12, v15); ((void (__fastcall *)(cocos2d::CCTransitionProgress *, cocos2d::CCNode *, __int64, __int64))this->addChild)( this, v12, 2, 49153); }
GD Web Decomp Icon

GD Web Decomp

Raw Source