// // DailyLevelPage::dailyStatusFailed from 0x1001ba4e0 to 0x1001ba618 (312 bytes) // // 2 xrefs: // > sub_1001BA6B4 @ 0x1001ba6b8 // > @ 0x1007b4928 // // 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::dailyStatusFailed(DailyLevelPage *a1, GJTimedLevelType a2, GJErrorCode a3) { char *v4; // x0 DialogLayer *v5; // x20 GameStatsManager *v6; // x0 cocos2d::CCDelayTime *v7; // x20 char v8; // w0 __int64 v9; // x1 __int64 v10; // x2 __int64 v11; // x3 __int64 v12; // x4 __int64 v13; // x5 __int64 v14; // x6 __int64 v15; // x7 cocos2d::CCSequence *v16; // x0 void *__p[2]; // [xsp+10h] [xbp-40h] BYREF char v18; // [xsp+27h] [xbp-29h] void *v19[2]; // [xsp+28h] [xbp-28h] BYREF char v20; // [xsp+3Fh] [xbp-11h] cocos2d::SEL_CallFunc v21; // 0:x1.16 if ( a3 == UpdateApp ) { a1->m_gettingDailyStatus = 1; sub_100009900(v19, "The Mechanic"); sub_100009900(__p, "Please update your application to download this level."); v4 = DialogObject::create((__int64)v19, (__int64)__p, 37, 0, 0xFFFFFF, 1.0); v5 = DialogLayer::create((DialogObject *)v4, 4); if ( v18 < 0 ) operator delete(__p[0]); if ( v20 < 0 ) operator delete(v19[0]); DialogLayer::addToMainScene(v5); DialogLayer::updateChatPlacement(v5, Center); DialogLayer::animateIn(v5, FromCenter); } else { v6 = GameStatsManager::sharedState(); if ( !GameStatsManager::areChallengesLoaded(v6) ) { v7 = cocos2d::CCDelayTime::create(5.0); v21.ptr = (void (*)(void))DailyLevelPage::tryGetDailyStatus; v21.adj = 0; v8 = (unsigned __int8)cocos2d::CCCallFunc::create(a1, v21); v16 = sub_10018A494(v7, v9, v10, v11, v12, v13, v14, v15, v8); cocos2d::CCNode::runAction(a1, v16); } } if ( a1->m_gettingDailyStatus ) { ((void (__fastcall *)(LoadingCircle *, _QWORD))a1->m_timeCircle->setVisible)(a1->m_timeCircle, 0); ((void (__fastcall *)(LoadingCircle *, _QWORD))a1->m_nodeCircle->setVisible)(a1->m_nodeCircle, 0); } }