// // DailyLevelPage::dailyStatusFinished from 0x100231790 to 0x1002319b7 (551 bytes) // // 2 xrefs: // > sub_100231BC0 @ 0x100231bcc // > @ 0x1008e1f40 // // 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 DailyLevelPage::dailyStatusFinished(DailyLevelPage *a1, GJTimedLevelType a2) { float v2; // xmm0_4 float v4; // xmm0_4 GameStatsManager *v5; // r14 GameLevelManager *v6; // rax int DailyID; // eax GameLevelManager *v8; // rax int v9; // r14d GameLevelManager *v10; // rax DailyLevelNode *m_dailyNode; // r14 cocos2d::CCLabelBMFont *m_timeLabel; // rdi GameLevelManager *v13; // rax unsigned int v14; // r14d unsigned int v15; // eax int v16; // ecx int v17; // r8d int v18; // r9d cocos2d::CCAction *v19; // rax GameLevelManager *v20; // rax CCMenuItemSpriteExtra *m_skipButton; // rdi GJGameLevel *m_level; // rax char v23[15]; // [rsp+9h] [rbp-27h] BYREF DailyLevelPage::updateTimers(a1, v2); v4 = ((float (__fastcall *)(cocos2d::CCLabelBMFont *, __int64))a1->m_timeLabel->setVisible)(a1->m_timeLabel, 1); DailyLevelPage::updateTimers(a1, v4); cocos2d::CCNode::unschedule(a1, (cocos2d::SEL_SCHEDULE)(unsigned __int64)DailyLevelPage::updateTimers); cocos2d::CCNode::schedule_1(a1, (cocos2d::SEL_SCHEDULE)(unsigned __int64)DailyLevelPage::updateTimers, 1.0); ((void (__fastcall *)(LoadingCircle *, _QWORD))a1->m_timeCircle->setVisible)(a1->m_timeCircle, 0); v5 = GameStatsManager::sharedState(); v6 = GameLevelManager::sharedState(); DailyID = GameLevelManager::getDailyID(v6, a1->m_type); if ( !GameStatsManager::hasCompletedDailyLevel(v5, DailyID) ) { v8 = GameLevelManager::sharedState(); v9 = GameLevelManager::getDailyID(v8, a1->m_type); v10 = GameLevelManager::sharedState(); if ( v9 > GameLevelManager::getActiveDailyID(v10, a1->m_type) ) { m_dailyNode = a1->m_dailyNode; if ( m_dailyNode ) { if ( m_dailyNode->m_needsDownloading ) { strcpy(v23, "00:00:00"); m_timeLabel = m_dailyNode->m_timeLabel; if ( m_timeLabel ) ((void (__fastcall *)(cocos2d::CCLabelBMFont *, char *))m_timeLabel->setString)(m_timeLabel, v23); DailyLevelPage::exitDailyNode(a1, a1->m_dailyNode, 0.0); a1->m_downloadStarted = 1; v13 = GameLevelManager::sharedState(); GameLevelManager::downloadLevel(v13, a1->m_downloadLevelID, 0, 0); v14 = (unsigned int)cocos2d::CCDelayTime::create(0.5); v15 = (unsigned int)cocos2d::CCCallFunc::create( a1, (cocos2d::SEL_CallFunc)(unsigned __int64)DailyLevelPage::createNodeIfLoaded); v19 = (cocos2d::CCAction *)sub_1003B5760(v14, v15, 0, v16, v17, v18); cocos2d::CCNode::runAction(a1, v19); } else { m_skipButton = m_dailyNode->m_skipButton; if ( m_skipButton ) { m_level = m_dailyNode->m_level; if ( !m_level || m_level->m_orbCompletion.random - m_level->m_orbCompletion.seed <= 99 ) { ((void (__fastcall *)(CCMenuItemSpriteExtra *, __int64))m_skipButton->setVisible)(m_skipButton, 1); ((void (__fastcall *)(CCMenuItemSpriteExtra *, __int64))m_dailyNode->m_skipButton->__vftable[1].setScaleY)( m_dailyNode->m_skipButton, 1); } } } } else { ((void (__fastcall *)(LoadingCircle *, __int64))a1->m_nodeCircle->setVisible)(a1->m_nodeCircle, 1); v20 = GameLevelManager::sharedState(); GameLevelManager::downloadLevel(v20, a1->m_downloadLevelID, 0, 0); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source