// // cocos2d::CCTransitionProgress::onEnter from 0x100278ae0 to 0x100278c86 (422 bytes) // // 7 xrefs: // > @ 0x100afaf30 // > @ 0x100afb2f8 // > @ 0x100afb6c0 // > @ 0x100afba88 // > @ 0x100afbe50 // > @ 0x100afc218 // > @ 0x100afc5e0 // // 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:27:40 +0000 // __int64 __fastcall cocos2d::CCTransitionProgress::onEnter(float *a1, __int64 a2) { __int64 v3; // rax __int64 v4; // r14 __int64 v5; // r15 __int64 v6; // r14 int v7; // r15d int v8; // eax int v9; // ecx int v10; // r8d int v11; // r9d __int64 v12; // rax float v14; // [rsp+0h] [rbp-30h] BYREF float v15; // [rsp+8h] [rbp-28h] BYREF float v16; // [rsp+Ch] [rbp-24h] cocos2d::CCTransitionScene::onEnter((__int64)a1, a2); (*(void (__fastcall **)(float *))(*(_QWORD *)a1 + 920LL))(a1); v3 = cocos2d::CCDirector::sharedDirector(a1, a2); cocos2d::CCDirector::getWinSize(&v15, v3); v4 = cocos2d::CCRenderTexture::create_2((unsigned int)(int)v15, (unsigned int)(int)v16); v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 896LL))(v4); sub_100278250(&v14, 0.5, 0.5); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v5 + 296LL))(v5, &v14); sub_100278250(&v14, v15 * 0.5, v16 * 0.5); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v4 + 184LL))(v4, &v14); sub_100278250(&v14, 0.5, 0.5); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v4 + 296LL))(v4, &v14); cocos2d::CCRenderTexture::clear(v4, 0.0, 0.0, 0.0, 1.0); cocos2d::CCRenderTexture::begin(v4); (*(void (__fastcall **)(_QWORD))(**((_QWORD **)a1 + 45) + 752LL))(*((_QWORD *)a1 + 45)); cocos2d::CCRenderTexture::end(v4); if ( *((_QWORD *)a1 + 45) == *((_QWORD *)a1 + 42) ) cocos2d::CCTransitionScene::hideOutShowIn((__int64)a1); v6 = (*(__int64 (__fastcall **)(float *, __int64))(*(_QWORD *)a1 + 912LL))(a1, v4); v7 = cocos2d::CCProgressFromTo::create(a1[86], a1[89], a1[88]); v8 = cocos2d::CCCallFunc::create(a1, cocos2d::CCTransitionScene::finish, 0); v12 = sub_10039EB60(v7, v8, 0, v9, v10, v11); cocos2d::CCNode::runAction(v6, v12); return (*(__int64 (__fastcall **)(float *, __int64, __int64, __int64))(*(_QWORD *)a1 + 472LL))(a1, v6, 2, 49153); }
GD Web Decomp Icon

GD Web Decomp

Raw Source