// // DailyLevelPage::dailyStatusFailed from 0x912d64 to 0x912fd8 (628 bytes) // // 3 xrefs: // > `non-virtual thunk to'DailyLevelPage::dailyStatusFailed @ 0x912fdc // > @ 0x8dfa8 // > @ 0x11ab240 // // 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 DailyLevelPage::dailyStatusFailed(DailyLevelPage *a1, GJTimedLevelType a2, GJErrorCode a3) { GameStatsManager *v4; // x0 DialogObject *v5; // x0 DialogLayer *v6; // x22 void *v7; // x0 void *v8; // x0 cocos2d::CCSequence *v9; // x21 cocos2d::CCFiniteTimeAction *v10; // x0 cocos2d::CCAction *v11; // x0 unsigned int *v12; // x1 int v13; // w2 unsigned int *v14; // x1 int v15; // w2 __int64 v16; // [xsp+58h] [xbp+58h] BYREF __int64 v17; // [xsp+60h] [xbp+60h] BYREF cocos2d::_ccColor3B v18; // 0:w5.3 if ( a3 == UpdateApp ) { a1->m_gettingDailyStatus = 1; sub_D153B8((int)&v16, "The Mechanic"); sub_D153B8((int)&v17, "Please update your application to download this level."); v5 = (DialogObject *)DialogObject::create( (DialogObject *)&v16, (std::string)&v17, (std::string)37LL, 0, 1.0, (bool)&unk_FFFFFF, v18); v6 = DialogLayer::create(v5, (int)&byte_4); v7 = (void *)(v17 - 24); if ( (__int64 *)(v17 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v12 = (unsigned int *)(v17 - 8); do v13 = __ldaxr(v12); while ( __stlxr(v13 - 1, v12) ); } else { v13 = *(_DWORD *)(v17 - 8); *(_DWORD *)(v17 - 8) = v13 - 1; } if ( v13 <= 0 ) operator delete(v7); } v8 = (void *)(v16 - 24); if ( (__int64 *)(v16 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v14 = (unsigned int *)(v16 - 8); do v15 = __ldaxr(v14); while ( __stlxr(v15 - 1, v14) ); } else { v15 = *(_DWORD *)(v16 - 8); *(_DWORD *)(v16 - 8) = v15 - 1; } if ( v15 <= 0 ) operator delete(v8); } DialogLayer::addToMainScene(v6); DialogLayer::updateChatPlacement(v6, Center); DialogLayer::animateIn(v6, FromCenter); } else { v4 = GameStatsManager::sharedState(); if ( !GameStatsManager::areChallengesLoaded(v4) ) { v9 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(5.0); v10 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(a1, DailyLevelPage::tryGetDailyStatus, 0); v11 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v9, v10, 0); cocos2d::CCNode::runAction(a1, v11); } } if ( a1->m_gettingDailyStatus ) { a1->m_timeCircle->setVisible(a1->m_timeCircle, 0); a1->m_nodeCircle->setVisible(a1->m_nodeCircle, 0); } }