// // cocos2d::CCTransitionProgress::onEnter from 0xaf15b4 to 0xaf17a4 (496 bytes) // // 8 xrefs: // > @ 0xc8100 // > @ 0x120cbe0 // > @ 0x120cf80 // > @ 0x120d320 // > @ 0x120d6c0 // > @ 0x120da60 // > @ 0x120de00 // > @ 0x120e1a0 // // 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 cocos2d::CCTransitionProgress::onEnter(cocos2d::CCTransitionProgress *a1) { cocos2d::CCDirector *v2; // x0 int v3; // w2 cocos2d::CCRenderTexture *v4; // x20 __int64 v5; // x23 void (__fastcall *v6)(__int64, cocos2d::CCPoint *); // x24 void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x23 void (__fastcall *setAnchorPoint)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x23 cocos2d::CCProgressTimer *v9; // x20 cocos2d::CCSequence *v10; // x21 __int64 v11; // x0 cocos2d::CCSequence *v12; // x0 float v13; // [xsp+58h] [xbp+58h] float v14; // [xsp+5Ch] [xbp+5Ch] cocos2d::CCPoint v15; // [xsp+60h] [xbp+60h] BYREF cocos2d::CCTransitionScene::onEnter(a1); a1->setupTransition(a1); v2 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize(v2); v4 = (cocos2d::CCRenderTexture *)cocos2d::CCRenderTexture::create( (cocos2d::CCRenderTexture *)(unsigned int)(int)v13, (int)v14, v3); v5 = (__int64)v4->getSprite(v4); v6 = *(void (__fastcall **)(__int64, cocos2d::CCPoint *))(*(_QWORD *)v5 + 280LL); cocos2d::CCPoint::CCPoint(&v15, 0.5, 0.5); v6(v5, &v15); setPosition = v4->setPosition; cocos2d::CCPoint::CCPoint(&v15, v13 * 0.5, v14 * 0.5); setPosition(v4, &v15); setAnchorPoint = v4->setAnchorPoint; cocos2d::CCPoint::CCPoint(&v15, 0.5, 0.5); setAnchorPoint(v4, &v15); cocos2d::CCRenderTexture::clear(v4, 0.0, 0.0, 0.0, 1.0); cocos2d::CCRenderTexture::begin(v4); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&a1[1].m_uIndexInArray + 736LL))(*(_QWORD *)&a1[1].m_uIndexInArray); cocos2d::CCRenderTexture::end(v4); if ( *(_QWORD *)&a1[1].m_uIndexInArray == *(_QWORD *)&a1[1].m_uID ) cocos2d::CCTransitionScene::hideOutShowIn(a1); v9 = a1->progressTimerNodeWithRenderTexture(a1, v4); v10 = (cocos2d::CCSequence *)cocos2d::CCProgressFromTo::create( *(float *)&a1[1].m_nTag, *(float *)&a1[1].m_eObjType, *(float *)&a1[1].m_uAutoReleaseCount); v11 = cocos2d::CCCallFunc::create(a1, (__int64)cocos2d::CCTransitionScene::finish, 0); v12 = cocos2d::CCSequence::create(v10, v11, 0); cocos2d::CCNode::runAction(v9, v12); a1->addChild_1(a1, v9, 2, 49153); }
GD Web Decomp Icon

GD Web Decomp

Raw Source