//
// ChallengesPage::updateDots from 0x906d20 to 0x906d84 (100 bytes)
//
// 3 xrefs:
// > ChallengesPage::challengeStatusFinished @ 0x908c50
// > ChallengesPage::claimItem @ 0x908d54
// > ??> @ 0xbebc0
//
// 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::updateDots(ChallengesPage *a1)
{
int i; // w19
GameStatsManager *v3; // x0
GJChallengeItem *QueuedChallenge; // x20
unsigned int v5; // w1
__int64 v6; // x0
for ( i = 1; i != 4; ++i )
{
v3 = GameStatsManager::sharedState();
QueuedChallenge = GameStatsManager::getQueuedChallenge(v3, i);
v5 = i - 1;
v6 = cocos2d::CCArray::objectAtIndex(a1->m_dots, v5);
(*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v6 + 328LL))(v6, QueuedChallenge != nullptr);
}
}