// // DailyLevelPage::createDailyNode from 0xa6eb78 to 0xa6ed58 (480 bytes) // // 6 xrefs: // > DailyLevelPage::levelDownloadFinished @ 0xa6ee14 // > DailyLevelPage::createNodeIfLoaded @ 0xa6ee88 // > DailyLevelPage::claimLevelReward @ 0xa6ef74 // > DailyLevelPage::refreshDailyPage @ 0xa6f1d8 // > DailyLevelPage::init @ 0xa6f968 // > @ 0x97510 // // This function is hookable on this platform (idp: arm, 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 13:00:22 +0000 // cocos2d::CCDirector **__fastcall DailyLevelPage::createDailyNode( DailyLevelPage *this, GJGameLevel *a2, unsigned __int8 a3, float a4, unsigned __int8 a5) { unsigned int v7; // w19 int v8; // w24 cocos2d::CCDirector **result; // x0 cocos2d::CCDirector *v11; // x0 cocos2d::CCDirector **v12; // x19 __int64 (__fastcall *v13)(cocos2d::CCDirector **, _BYTE *); // x25 GameLevelManager *v14; // x0 unsigned int *v15; // x0 const cocos2d::CCPoint *v16; // x0 __int64 (__fastcall *v17)(cocos2d::CCDirector **, _BYTE *); // x24 cocos2d::CCDirector *v18; // x0 float v19; // s0 cocos2d::CCDelayTime *v20; // x0 cocos2d::CCShow *v21; // x23 const cocos2d::CCPoint *v22; // x1 cocos2d::CCEaseElasticOut *v23; // x0 cocos2d::CCActionInterval *v24; // x1 __int64 v25; // x0 cocos2d::CCAction *v26; // x0 cocos2d::CCFiniteTimeAction *v27; // [xsp+58h] [xbp+58h] __int64 v28; // [xsp+60h] [xbp+60h] BYREF _BYTE v29[4]; // [xsp+68h] [xbp+68h] BYREF float v30; // [xsp+6Ch] [xbp+6Ch] _BYTE v31[8]; // [xsp+70h] [xbp+70h] BYREF v7 = a5; v8 = a3; result = nullptr; if ( !*((_QWORD *)this + 90) ) { v11 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(nullptr); cocos2d::CCDirector::getWinSize(&v28, v11); v12 = (cocos2d::CCDirector **)DailyLevelNode::create(a2, this, (DailyLevelPage *)v7); (*(void (__fastcall **)(_QWORD, cocos2d::CCDirector **))(**((_QWORD **)this + 73) + 456LL))( *((_QWORD *)this + 73), v12); v13 = *((__int64 (__fastcall **)(cocos2d::CCDirector **, _BYTE *))*v12 + 23); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v31, *(float *)&v28 * 0.5, (float)(*((float *)&v28 + 1) * 0.5) + -8.0); v14 = (GameLevelManager *)v13(v12, v31); if ( a2 && (v15 = (unsigned int *)GameLevelManager::sharedState(v14), (int)GameLevelManager::getDailyID(v15, *((_DWORD *)this + 183)) > *((_DWORD *)a2 + 230) - *((_DWORD *)a2 + 231)) ) { DailyLevelNode::showSkipButton((__int64)v12); if ( v8 ) goto LABEL_5; } else if ( v8 ) { LABEL_5: *((_QWORD *)this + 90) = v12; return v12; } (*((void (__fastcall **)(cocos2d::CCDirector **, _QWORD))*v12 + 43))(v12, 0); v16 = (const cocos2d::CCPoint *)(*((__int64 (__fastcall **)(cocos2d::CCDirector **))*v12 + 24))(v12); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v29, v16); v17 = *((__int64 (__fastcall **)(cocos2d::CCDirector **, _BYTE *))*v12 + 23); v18 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(*v12); cocos2d::CCDirector::getScreenRight(v18); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v31, v19 + 180.0, v30); v20 = (cocos2d::CCDelayTime *)v17(v12, v31); v21 = (cocos2d::CCShow *)cocos2d::CCDelayTime::create(v20, a4); v27 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCShow::create(v21); v23 = (cocos2d::CCEaseElasticOut *)cocos2d::CCMoveTo::create((cocos2d::CCMoveTo *)v29, 0.5, v22); v25 = cocos2d::CCEaseElasticOut::create(v23, v24, 0.6); v26 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v21, v27, v25, 0); cocos2d::CCNode::runAction((cocos2d::CCNode *)v12, v26); goto LABEL_5; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source