{"type": "func", "start": 4295188968, "end": 4295189068, "name": "ChallengesPage::updateDots", "pseudocode": "// \n// ChallengesPage::updateDots from 0x1000361e8 to 0x10003624c (100 bytes)\n// \n// 2 xrefs:\n// > ChallengesPage::challengeStatusFinished @ 0x10003636c\n// > ChallengesPage::claimItem @ 0x10003689c\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 10:57:32 +0000\n// \n\n__int64 __fastcall ChallengesPage::updateDots(__int64 result)\n{\n  __int64 v1; // x19\n  __int64 v2; // x20\n  __int64 v3; // x0\n  _BOOL8 v4; // x21\n  __int64 v5; // x0\n\n  v1 = result;\n  v2 = 1;\n  do\n  {\n    v3 = GameStatsManager::sharedState(result);\n    v4 = sub_1003D1E18(v3, v2) != 0;\n    v5 = sub_1002E75A0(*(_QWORD *)(v1 + 688), (unsigned int)(v2 - 1));\n    result = (*(__int64 (__fastcall **)(__int64, _BOOL8))(*(_QWORD *)v5 + 344LL))(v5, v4);\n    v2 = (unsigned int)(v2 + 1);\n  }\n  while ( (_DWORD)v2 != 4 );\n  return result;\n}", "assembly": "; \n; ChallengesPage::updateDots from 0x1000361e8 to 0x10003624c (100 bytes)\n; \n; 2 xrefs:\n; > ChallengesPage::challengeStatusFinished @ 0x10003636c\n; > ChallengesPage::claimItem @ 0x10003689c\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 10:57:32 +0000\n; \nSTP             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x1000361e8\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1000361ec\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1000361f0\nADD             X29, SP, #0x20                                         ; +0xc, 0x1000361f4\nMOV             X19, X0                                                ; +0x10, 0x1000361f8\nMOV             W20, #1                                                ; +0x14, 0x1000361fc\nBL              GameStatsManager__sharedState                          ; +0x18, 0x100036200\nMOV             X1, X20                                                ; +0x1c, 0x100036204\nBL              sub_1003D1E18                                          ; +0x20, 0x100036208\nCMP             X0, #0                                                 ; +0x24, 0x10003620c\nCSET            W21, NE                                                ; +0x28, 0x100036210\nLDR             X0, [X19,#0x2B0]                                       ; +0x2c, 0x100036214\nSUB             W1, W20, #1                                            ; +0x30, 0x100036218\nBL              sub_1002E75A0                                          ; +0x34, 0x10003621c\nLDR             X8, [X0]                                               ; +0x38, 0x100036220\nLDR             X8, [X8,#0x158]                                        ; +0x3c, 0x100036224\nMOV             X1, X21                                                ; +0x40, 0x100036228\nBLR             X8                                                     ; +0x44, 0x10003622c\nADD             W20, W20, #1                                           ; +0x48, 0x100036230\nCMP             W20, #4                                                ; +0x4c, 0x100036234\nB.NE            loc_100036200                                          ; +0x50, 0x100036238\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x54, 0x10003623c\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x58, 0x100036240\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x5c, 0x100036244\nRET                                                                    ; +0x60, 0x100036248", "xrefs": ["ChallengesPage::challengeStatusFinished @ 0x10003636c", "ChallengesPage::claimItem @ 0x10003689c"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}