// // ChallengesPage::challengeStatusFinished from 0xa6431c to 0xa64448 (300 bytes) // // 3 xrefs: // > `non-virtual thunk to'ChallengesPage::challengeStatusFinished @ 0xa64450 // > @ 0xeecc0 // > @ 0x148f578 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 13:00:16 +0000 // GameStatsManager *__fastcall ChallengesPage::challengeStatusFinished(cocos2d::CCDictionary **this) { __int64 v2; // x19 int v3; // w21 int v4; // w22 float v5; // s8 __int64 v6; // x0 GameStatsManager *v7; // x0 __int64 v8; // x0 GameStatsManager *v10; // x0 ChallengesPage::updateTimers((ChallengesPage *)this, 0.0); v2 = 1; v3 = 0; do { v4 = v2; v5 = (float)v3 * 0.15; v6 = cocos2d::CCDictionary::objectForKey(*(this + 91), v2); if ( v6 ) { v7 = (GameStatsManager *)*(unsigned __int8 *)(v6 + 352); if ( (_DWORD)v7 ) { v10 = (GameStatsManager *)GameStatsManager::sharedState(v7); if ( GameStatsManager::getQueuedChallenge(v10, (const char *)(unsigned int)v2) ) { ChallengesPage::exitNodeAtSlot(this, v2, (float)v3 * 0.15); v5 = v5 + 0.5; } } } ++v2; if ( ChallengesPage::createChallengeNode(this, v4, 0, v5, 0) ) ++v3; } while ( v2 != 4 ); (*(void (__fastcall **)(_QWORD, __int64))(*(_QWORD *)*(this + 87) + 344LL))(*(this + 87), 1); ChallengesPage::updateTimers((ChallengesPage *)this, 0.0); cocos2d::CCNode::unschedule(this, ChallengesPage::updateTimers, 0); cocos2d::CCNode::schedule(this, ChallengesPage::updateTimers, 0, 1.0); v8 = (__int64)*(this + 88); if ( v8 ) (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v8 + 344LL))(v8, 0); return ChallengesPage::updateDots((GameStatsManager *)this); }