// // DailyLevelPage::createDailyNode from 0x6079dc to 0x607b24 (328 bytes) // // 5 xrefs: // > DailyLevelPage::levelDownloadFinished @ 0x607b8e // > DailyLevelPage::createNodeIfLoaded @ 0x607be0 // > DailyLevelPage::claimLevelReward @ 0x607cd2 // > DailyLevelPage::refreshDailyPage @ 0x607d24 // > DailyLevelPage::init @ 0x608a30 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:54:45 +0000 // int *__fastcall DailyLevelPage::createDailyNode( DailyLevelPage *this, GJGameLevel *a2, int a3, cocos2d::CCDelayTime *a4, DailyLevelPage *a5) { bool v9; // r3 int *v10; // r4 int (__fastcall *v11)(int *, _BYTE *); // r11 GameLevelManager *v12; // r0 _DWORD *v13; // r0 const cocos2d::CCPoint *v14; // r0 cocos2d::CCDirector *v15; // r0 void (__fastcall *v16)(int *, _BYTE *); // r11 cocos2d::CCDirector *v17; // r0 float v18; // r0 float v19; // r1 cocos2d::CCShow *v20; // r10 cocos2d::CCFiniteTimeAction *v21; // r7 const cocos2d::CCPoint *v22; // r2 cocos2d::CCEaseElasticOut *v23; // r0 float v24; // r2 int v25; // r0 cocos2d::CCAction *v26; // r0 float v28[2]; // [sp+4h] [bp-20h] BYREF _BYTE v29[4]; // [sp+Ch] [bp-18h] BYREF float v30; // [sp+10h] [bp-14h] _BYTE v31[8]; // [sp+14h] [bp-10h] BYREF if ( *((_DWORD *)this + 137) ) return nullptr; cocos2d::CCDirector::sharedDirector(this); cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v28); v10 = DailyLevelNode::create(a2, this, (DailyLevelPage *)(unsigned __int8)a5, v9); (*(void (__fastcall **)(_DWORD, int *))(**((_DWORD **)this + 115) + 228))(*((_DWORD *)this + 115), v10); v11 = *(int (__fastcall **)(int *, _BYTE *))(*v10 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v31, v28[0] * 0.5, (float)(v28[1] * 0.5) - 8.0); v12 = (GameLevelManager *)v11(v10, v31); if ( a2 ) { v13 = (_DWORD *)GameLevelManager::sharedState(v12); if ( GameLevelManager::getDailyID(v13, *((_DWORD *)this + 139)) > *((_DWORD *)a2 + 186) - *((_DWORD *)a2 + 187) ) DailyLevelNode::showSkipButton((DailyLevelNode *)v10); } if ( !a3 ) { (*(void (__fastcall **)(int *, _DWORD))(*v10 + 172))(v10, 0); v14 = (const cocos2d::CCPoint *)(*(int (__fastcall **)(int *))(*v10 + 96))(v10); v15 = (cocos2d::CCDirector *)cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v29, v14); v16 = *(void (__fastcall **)(int *, _BYTE *))(*v10 + 92); v17 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v15); v18 = COERCE_FLOAT(cocos2d::CCDirector::getScreenRight(v17)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v31, v18 + 180.0, v30); v16(v10, v31); v20 = (cocos2d::CCShow *)cocos2d::CCDelayTime::create(a4, v19); v21 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCShow::create(v20); v23 = (cocos2d::CCEaseElasticOut *)cocos2d::CCMoveTo::create( (cocos2d::CCMoveTo *)0x3F000000, COERCE_FLOAT(v29), v22); v25 = cocos2d::CCEaseElasticOut::create(v23, (cocos2d::CCActionInterval *)0x3F19999A, v24); v26 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v20, v21, v25, 0); cocos2d::CCNode::runAction((cocos2d::CCNode *)v10, v26); } *((_DWORD *)this + 137) = v10; return v10; }
GD Web Decomp Icon

GD Web Decomp

Raw Source