//
// ChallengesPage::updateDots from 0x1000361e8 to 0x10003624c (100 bytes)
//
// 2 xrefs:
// > ChallengesPage::challengeStatusFinished @ 0x10003636c
// > ChallengesPage::claimItem @ 0x10003689c
//
// 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 10:57:32 +0000
//
__int64 __fastcall ChallengesPage::updateDots(__int64 result)
{
__int64 v1; // x19
__int64 v2; // x20
__int64 v3; // x0
_BOOL8 v4; // x21
__int64 v5; // x0
v1 = result;
v2 = 1;
do
{
v3 = GameStatsManager::sharedState(result);
v4 = sub_1003D1E18(v3, v2) != 0;
v5 = sub_1002E75A0(*(_QWORD *)(v1 + 688), (unsigned int)(v2 - 1));
result = (*(__int64 (__fastcall **)(__int64, _BOOL8))(*(_QWORD *)v5 + 344LL))(v5, v4);
v2 = (unsigned int)(v2 + 1);
}
while ( (_DWORD)v2 != 4 );
return result;
}