//
// ChallengesPage::updateDots from 0x10039df70 to 0x10039e032 (194 bytes)
//
// 2 xrefs:
// > ChallengesPage::challengeStatusFinished @ 0x10039e23a
// > ChallengesPage::claimItem @ 0x10039e8bb
//
// 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 ChallengesPage::updateDots(ChallengesPage *a1)
{
GameStatsManager *v1; // rax
_BOOL8 v2; // r14
__int64 v3; // rax
GameStatsManager *v4; // rax
_BOOL8 v5; // r14
__int64 v6; // rax
GameStatsManager *v7; // rax
_BOOL8 v8; // r14
__int64 v9; // rax
v1 = GameStatsManager::sharedState();
v2 = GameStatsManager::getQueuedChallenge(v1, 1) != nullptr;
v3 = sub_1007200C0(a1->m_dots, 0);
(*(void (__fastcall **)(__int64, _BOOL8))(*(_QWORD *)v3 + 328LL))(v3, v2);
v4 = GameStatsManager::sharedState();
v5 = GameStatsManager::getQueuedChallenge(v4, 2) != nullptr;
v6 = sub_1007200C0(a1->m_dots, 1);
(*(void (__fastcall **)(__int64, _BOOL8))(*(_QWORD *)v6 + 328LL))(v6, v5);
v7 = GameStatsManager::sharedState();
v8 = GameStatsManager::getQueuedChallenge(v7, 3) != nullptr;
v9 = sub_1007200C0(a1->m_dots, 2);
(*(void (__fastcall **)(__int64, _BOOL8))(*(_QWORD *)v9 + 328LL))(v9, v8);
}