// // cocos2d::CCTransitionPageTurn::onEnter from 0x180058a90 to 0x180058bce (318 bytes) // // 5 xrefs: // > @ 0x1800fb6f0 // > @ 0x180141aa8 // > @ 0x180141ab8 // > @ 0x18014cf68 // > @ 0x1801bcb50 // // 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 11:21:48 +0000 // void __fastcall cocos2d::CCTransitionPageTurn::onEnter(cocos2d::CCTransitionPageTurn *this) { struct cocos2d::CCDirector *v2; // rax int v3; // ecx int v4; // eax float *v5; // rdx float v6; // xmm0_4 struct cocos2d::CCFiniteTimeAction *v7; // rax struct cocos2d::CCReverseTime *v8; // rax struct cocos2d::CCFiniteTimeAction *v9; // rbp struct cocos2d::CCStopGrid *v10; // rbx cocos2d::CCAction *v11; // rax struct cocos2d::CCAction *v12; // rax __int64 v13; // rcx struct cocos2d::CCStopGrid *v14; // rdi cocos2d::CCAction *v15; // rbx struct cocos2d::CCFiniteTimeAction *v16; // rax float v17; // [rsp+50h] [rbp+8h] BYREF float v18; // [rsp+54h] [rbp+Ch] float v19; // [rsp+58h] [rbp+10h] BYREF cocos2d::CCTransitionScene::onEnter(this); v2 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize(v2, &v17); if ( v17 <= v18 ) { v3 = 12; v4 = 16; } else { v3 = 16; v4 = 12; } v5 = kmVec2Fill(&v19, (float)v3, (float)v4); v6 = *((float *)this + 86); if ( *((_BYTE *)this + 352) ) { v7 = cocos2d::CCPageTurn3D::create(v6, (const struct cocos2d::CCSize *)v5); v8 = cocos2d::CCReverseTime::create(v7); } else { v8 = cocos2d::CCPageTurn3D::create(v6, (const struct cocos2d::CCSize *)v5); } v9 = v8; if ( *((_BYTE *)this + 352) ) { (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 41) + 336LL))(*((_QWORD *)this + 41), 0); v14 = cocos2d::CCStopGrid::create(); v15 = cocos2d::CCCallFunc::create(this, (__int64)cocos2d::CCTransitionScene::finish); v16 = cocos2d::CCShow::create(); v12 = cocos2d::CCSequence::create(v16, v9, v15, v14, 0); v13 = 328; } else { v10 = cocos2d::CCStopGrid::create(); v11 = cocos2d::CCCallFunc::create(this, (__int64)cocos2d::CCTransitionScene::finish); v12 = cocos2d::CCSequence::create(v9, v11, v10, 0); v13 = 336; } cocos2d::CCNode::runAction(*(cocos2d::CCActionManager ***)((char *)this + v13), v12); }
GD Web Decomp Icon

GD Web Decomp

Raw Source