//
// ChallengesPage::updateDots from 0x4cbd44 to 0x4cbd76 (50 bytes)
//
// 2 xrefs:
// > ChallengesPage::challengeStatusFinished @ 0x4cd08a
// > ChallengesPage::claimItem @ 0x4cd176
//
// 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 v2; // r4
GameStatsManager *v3; // r0
GJChallengeItem *QueuedChallenge; // r0
unsigned int v5; // r1
GJChallengeItem *v6; // r5
int v7; // r0
int v8; // r1
v2 = 1;
do
{
v3 = GameStatsManager::sharedState();
QueuedChallenge = GameStatsManager::getQueuedChallenge(v3, v2);
v5 = v2++ - 1;
v6 = QueuedChallenge;
v7 = cocos2d::CCArray::objectAtIndex(a1->m_dots, v5);
v8 = (int)v6;
if ( v6 )
v8 = 1;
(*(void (__fastcall **)(int, int))(*(_DWORD *)v7 + 164))(v7, v8);
}
while ( v2 != 4 );
}