// // ChallengesPage::challengeStatusFinished from 0x908b50 to 0x908c7c (300 bytes) // // 3 xrefs: // > `non-virtual thunk to'ChallengesPage::challengeStatusFinished @ 0x908c84 // > @ 0xb6d60 // > @ 0x11a8618 // // 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 ChallengesPage::challengeStatusFinished(ChallengesPage *a1) { intptr_t v2; // x19 int v3; // w21 int v4; // w22 float v5; // s8 cocos2d::CCObject *v6; // x0 LoadingCircle *m_circle; // x0 GameStatsManager *v8; // x0 cocos2d::SEL_SCHEDULE v9; // 0:x1.16 cocos2d::SEL_SCHEDULE v10; // 0:x1.16 ChallengesPage::updateTimers(a1, 0.0); v2 = 1; v3 = 0; do { v4 = v2; v5 = (float)v3 * 0.15; v6 = cocos2d::CCDictionary::objectForKey(a1->m_challengeNodes, v2); if ( v6 ) { if ( LOBYTE(v6[6].m_nTag) ) { v8 = GameStatsManager::sharedState(); if ( GameStatsManager::getQueuedChallenge(v8, v2) ) { ChallengesPage::exitNodeAtSlot(a1, v2, (float)v3 * 0.15); v5 = v5 + 0.5; } } } ++v2; if ( ChallengesPage::createChallengeNode(a1, v4, 0, v5, 0) ) ++v3; } while ( v2 != 4 ); a1->m_countdownLabel->setVisible(a1->m_countdownLabel, 1); ChallengesPage::updateTimers(a1, 0.0); v9.ptr = (void (__cdecl *)(float))ChallengesPage::updateTimers; v9.adj = 0; cocos2d::CCNode::unschedule(a1, v9); v10.ptr = (void (__cdecl *)(float))ChallengesPage::updateTimers; v10.adj = 0; cocos2d::CCNode::schedule(a1, v10); m_circle = a1->m_circle; if ( m_circle ) m_circle->setVisible(m_circle, 0); ChallengesPage::updateDots(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source