// // cocos2d::CCTransitionFadeTR::onEnter from 0x1000a8890 to 0x1000a8983 (243 bytes) // // 4 xrefs: // > @ 0x100ac2940 // > @ 0x100ac2d08 // > @ 0x100ac30d0 // > @ 0x100ac3498 // // 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:20:16 +0000 // __int64 __fastcall cocos2d::CCTransitionFadeTR::onEnter(__int64 a1, __int64 a2) { _QWORD **v2; // rbx __int64 v3; // rax __int64 v4; // rax __int64 v5; // rdi __int64 v6; // rax __m128 v7; // xmm0 __int64 v8; // rax _QWORD *v9; // r14 int v10; // r15d _QWORD **v11; // rdi int v12; // eax int v13; // r8d int v14; // r9d __int64 v15; // rax _BYTE v17[8]; // [rsp+8h] [rbp-28h] BYREF float v18[8]; // [rsp+10h] [rbp-20h] BYREF v2 = (_QWORD **)a1; cocos2d::CCNode::onEnter(a1); v3 = cocos2d::CCDirector::sharedDirector(a1, a2); v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 160LL))(v3); cocos2d::CCTouchDispatcher::setDispatchEvents(v4, 0); (*(void (__fastcall **)(_QWORD *))(*v2[42] + 728LL))(v2[42]); v5 = *(_QWORD *)(a1 + 328); (*(void (__fastcall **)(__int64))(*(_QWORD *)v5 + 704LL))(v5); v6 = cocos2d::CCDirector::sharedDirector(v5, 0); cocos2d::CCDirector::getWinSize(v18, v6); v7 = (__m128)LODWORD(v18[0]); v7.f32[0] = (float)(v18[0] / v18[1]) * 12.0; sub_100278260(v17, *(double *)_mm_cvtepi32_ps(_mm_cvttps_epi32(v7)).i64, COERCE_DOUBLE(1094713344)); v8 = ((__int64 (__fastcall *)(_QWORD **, _BYTE *))(*v2)[114])(v2, v17); v9 = v2[42]; v10 = ((__int64 (__fastcall *)(_QWORD **, __int64))(*v2)[115])(v2, v8); v11 = v2; LODWORD(v2) = cocos2d::CCCallFunc::create(v2, cocos2d::CCTransitionScene::finish, 0); v12 = cocos2d::CCStopGrid::create(v11); v15 = sub_10039EB60(v10, (_DWORD)v2, v12, 0, v13, v14); return cocos2d::CCNode::runAction(v9, v15); }
GD Web Decomp Icon

GD Web Decomp

Raw Source