// // DailyLevelPage::dailyStatusFailed from 0x100231be0 to 0x100231d66 (390 bytes) // // 2 xrefs: // > sub_100231E10 @ 0x100231e1c // > @ 0x1008e1f48 // // 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) { DialogObject *v3; // rax DialogLayer *v4; // r14 GameStatsManager *v5; // rax unsigned int v6; // r14d unsigned int v7; // eax int v8; // ecx int v9; // r8d int v10; // r9d cocos2d::CCAction *v11; // rax _QWORD v12[2]; // [rsp+0h] [rbp-40h] BYREF void *__p; // [rsp+10h] [rbp-30h] char v14; // [rsp+18h] [rbp-28h] BYREF void *v15[4]; // [rsp+19h] [rbp-27h] BYREF if ( a3 == UpdateApp ) { a1->m_gettingDailyStatus = 1; v14 = 24; strcpy((char *)v15, "The Mechanic"); __p = operator new(0x50u); v12[0] = 81; v12[1] = 78; strcpy((char *)__p, "Please update your application to download this level."); v3 = (DialogObject *)DialogObject::create(&v14, v12, 37, 0, 0xFFFFFF, 1.0); v4 = DialogLayer::create(v3, 4); if ( (v12[0] & 1) != 0 ) operator delete(__p); if ( (v14 & 1) != 0 ) operator delete(*(void **)((char *)&v15[1] + 7)); DialogLayer::addToMainScene(v4); DialogLayer::updateChatPlacement(v4, Center); DialogLayer::animateIn(v4, FromCenter); } else { v5 = GameStatsManager::sharedState(); if ( !GameStatsManager::areChallengesLoaded(v5) ) { v6 = (unsigned int)cocos2d::CCDelayTime::create(5.0); v7 = (unsigned int)cocos2d::CCCallFunc::create( a1, (cocos2d::SEL_CallFunc)(unsigned __int64)DailyLevelPage::tryGetDailyStatus); v11 = (cocos2d::CCAction *)sub_1003B5760(v6, v7, 0, v8, v9, v10); cocos2d::CCNode::runAction(a1, v11); } } 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); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source