// // cocos2d::CCTransitionFadeTR::onEnter from 0x1000d9c20 to 0x1000d9d13 (243 bytes) // // 4 xrefs: // > @ 0x1008bf200 // > @ 0x1008bf5b8 // > @ 0x1008bf970 // > @ 0x1008bfd28 // // 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::CCTransitionFadeTR::onEnter(cocos2d::CCTransitionFadeTR *a1) { cocos2d::CCTransitionFadeTR *v1; // rbx cocos2d::CCDirector *v2; // rax cocos2d::CCTouchDispatcher *v3; // rax __m128 v4; // xmm0 __int64 v5; // rax cocos2d::CCNode *v6; // r14 int v7; // r15d unsigned int v8; // eax int v9; // r8d int v10; // r9d cocos2d::CCAction *v11; // rax _BYTE v12[8]; // [rsp+8h] [rbp-28h] BYREF float v13[8]; // [rsp+10h] [rbp-20h] BYREF v1 = a1; cocos2d::CCNode::onEnter(a1); v2 = cocos2d::CCDirector::sharedDirector(); v3 = (cocos2d::CCTouchDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v2->getTouchDispatcher)(v2); cocos2d::CCTouchDispatcher::setDispatchEvents(v3, 0); (*((void (__fastcall **)(cocos2d::CCTransitionFadeTR_vtbl *))v1[1].copyWithZone + 89))(v1[1].cocos2d::CCTransitionScene::cocos2d::CCScene::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable); (*((void (__fastcall **)(cocos2d::CCTransitionEaseScene_vtbl *))v1->easeActionWithAction + 86))(v1->cocos2d::CCTransitionEaseScene::__vftable); cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v13); v4 = (__m128)LODWORD(v13[0]); v4.f32[0] = (float)(v13[0] / v13[1]) * 12.0; sub_10028CBF0(v12, _mm_cvtepi32_ps(_mm_cvttps_epi32(v4)).f32[0], 12.0); v5 = ((__int64 (__fastcall *)(cocos2d::CCTransitionFadeTR *, _BYTE *))v1->actionWithSize)(v1, v12); v6 = (cocos2d::CCNode *)a1[1].cocos2d::CCTransitionScene::cocos2d::CCScene::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v7 = ((__int64 (__fastcall *)(cocos2d::CCTransitionFadeTR *, __int64))v1->easeActionWithAction)(v1, v5); LODWORD(v1) = (unsigned int)cocos2d::CCCallFunc::create( a1, (cocos2d::SEL_CallFunc)(unsigned __int64)cocos2d::CCTransitionScene::finish); v8 = (unsigned int)cocos2d::CCStopGrid::create(); v11 = (cocos2d::CCAction *)sub_1003B5760(v7, (_DWORD)v1, v8, 0, v9, v10); cocos2d::CCNode::runAction(v6, v11); }
GD Web Decomp Icon

GD Web Decomp

Raw Source