// // cocos2d::CCTransitionProgress::onEnter from 0x10028d470 to 0x10028d616 (422 bytes) // // 7 xrefs: // > @ 0x1008f4660 // > @ 0x1008f4a18 // > @ 0x1008f4dd0 // > @ 0x1008f5188 // > @ 0x1008f5540 // > @ 0x1008f58f8 // > @ 0x1008f5cb0 // // 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 *a1) { cocos2d::CCRenderTexture *v2; // r14 __int64 v3; // r15 cocos2d::CCNode *v4; // r14 unsigned int v5; // r15d unsigned int v6; // eax int v7; // ecx int v8; // r8d int v9; // r9d cocos2d::CCAction *v10; // rax float v11; // [rsp+0h] [rbp-30h] BYREF float v12; // [rsp+8h] [rbp-28h] BYREF float v13; // [rsp+Ch] [rbp-24h] double v14; // 0:xmm0_8.8 cocos2d::CCTransitionScene::onEnter(a1); ((void (__fastcall *)(cocos2d::CCTransitionProgress *))a1->setupTransition)(a1); cocos2d::CCDirector::sharedDirector(); *(cocos2d::CCSize *)&v14 = cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)&v12); v2 = cocos2d::CCRenderTexture::create_2((int)v12, (int)v13); v3 = ((__int64 (__fastcall *)(cocos2d::CCRenderTexture *, double))v2->getSprite)(v2, v14); sub_10028CBE0(&v11, 0.5, 0.5); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v3 + 280LL))(v3, &v11); sub_10028CBE0(&v11, v12 * 0.5, v13 * 0.5); ((void (__fastcall *)(cocos2d::CCRenderTexture *, float *))v2->setPosition)(v2, &v11); sub_10028CBE0(&v11, 0.5, 0.5); ((void (__fastcall *)(cocos2d::CCRenderTexture *, float *))v2->setAnchorPoint)(v2, &v11); cocos2d::CCRenderTexture::clear(v2, 0.0, 0.0, 0.0, 1.0); cocos2d::CCRenderTexture::begin(v2); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&a1[1].m_uIndexInArray + 736LL))(*(_QWORD *)&a1[1].m_uIndexInArray); cocos2d::CCRenderTexture::end(v2); if ( *(_QWORD *)&a1[1].m_uIndexInArray == *(_QWORD *)&a1[1].m_uID ) cocos2d::CCTransitionScene::hideOutShowIn(a1); v4 = (cocos2d::CCNode *)((__int64 (__fastcall *)(cocos2d::CCTransitionProgress *, cocos2d::CCRenderTexture *))a1->progressTimerNodeWithRenderTexture)( a1, v2); v5 = (unsigned int)cocos2d::CCProgressFromTo::create( *(float *)&a1[1].m_nTag, *(float *)&a1[1].m_eObjType, *(float *)&a1[1].m_uAutoReleaseCount); v6 = (unsigned int)cocos2d::CCCallFunc::create( a1, (cocos2d::SEL_CallFunc)(unsigned __int64)cocos2d::CCTransitionScene::finish); v10 = (cocos2d::CCAction *)sub_1003B5760(v5, v6, 0, v7, v8, v9); cocos2d::CCNode::runAction(v4, v10); ((void (__fastcall *)(cocos2d::CCTransitionProgress *, cocos2d::CCNode *, __int64, __int64))a1->addChild_1)( a1, v4, 2, 49153); }
GD Web Decomp Icon

GD Web Decomp

Raw Source