// // cocos2d::CCTransitionPageTurn::onEnter from 0x180056bb0 to 0x180056cec (316 bytes) // // 5 xrefs: // > @ 0x1800f5320 // > @ 0x180138848 // > @ 0x180138858 // > @ 0x1801438a8 // > @ 0x1801b28bc // // 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::CCTransitionPageTurn::onEnter(cocos2d::CCTransitionPageTurn *this) { cocos2d::CCDirector *v2; // rax int v3; // ecx int v4; // eax const struct cocos2d::CCSize *v5; // rdx float v6; // xmm0_4 struct cocos2d::CCPageTurn3D *v7; // rax struct cocos2d::CCFiniteTimeAction *v8; // rax struct cocos2d::CCFiniteTimeAction *v9; // rbp struct cocos2d::CCStopGrid *v10; // rbx cocos2d::CCAction *v11; // rax struct cocos2d::CCSequence *v12; // rax cocos2d::CCNode *v13; // rcx struct cocos2d::CCStopGrid *v14; // rdi cocos2d::CCAction *v15; // rbx struct cocos2d::CCShow *v16; // rax float v17; // [rsp+50h] [rbp+8h] 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); if ( v17 <= v18 ) { v3 = 12; v4 = 16; } else { v3 = 16; v4 = 12; } v5 = (const struct cocos2d::CCSize *)kmVec2Fill(&v19, (float)v3, (float)v4); v6 = *((float *)this + 86); if ( *((_BYTE *)this + 352) ) { v7 = cocos2d::CCPageTurn3D::create(v6, v5); v8 = cocos2d::CCReverseTime::create(v7); } else { v8 = cocos2d::CCPageTurn3D::create(v6, v5); } v9 = v8; if ( *((_BYTE *)this + 352) ) { (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 41) + 320LL))(*((_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 = *((cocos2d::CCNode **)this + 41); } else { v10 = cocos2d::CCStopGrid::create(); v11 = cocos2d::CCCallFunc::create(this, (__int64)cocos2d::CCTransitionScene::finish); v12 = cocos2d::CCSequence::create(v9, v11, v10, 0); v13 = *((cocos2d::CCNode **)this + 42); } cocos2d::CCNode::runAction(v13, v12); }
GD Web Decomp Icon

GD Web Decomp

Raw Source