{"type": "func", "start": 4295440976, "end": 4295441096, "name": "GameStatsManager::processChallengeQueue", "pseudocode": "// \n// GameStatsManager::processChallengeQueue from 0x100073a50 to 0x100073ac8 (120 bytes)\n// \n// 2 xrefs:\n// > ChallengesPage::createChallengeNode @ 0x10039de23\n// > ChallengesPage::claimItem @ 0x10039e891\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall GameStatsManager::processChallengeQueue(GameStatsManager *a1, int a2)\n{\n  GJChallengeItem *QueuedChallenge; // r12\n  GJChallengeItem *SecondaryQueuedChallenge; // r15\n\n  QueuedChallenge = GameStatsManager::getQueuedChallenge(a1, a2);\n  SecondaryQueuedChallenge = GameStatsManager::getSecondaryQueuedChallenge(a1, a2);\n  GameStatsManager::removeChallenge(a1, a2);\n  if ( QueuedChallenge )\n  {\n    GameStatsManager::storeChallenge(a1, a2, QueuedChallenge);\n    GameStatsManager::removeQueuedChallenge(a1, a2);\n  }\n  if ( SecondaryQueuedChallenge )\n  {\n    GameStatsManager::storeQueuedChallenge(a1, a2, SecondaryQueuedChallenge);\n    GameStatsManager::removeQueuedSecondaryChallenge(a1, a2);\n  }\n}", "assembly": "; \n; GameStatsManager::processChallengeQueue from 0x100073a50 to 0x100073ac8 (120 bytes)\n; \n; 2 xrefs:\n; > ChallengesPage::createChallengeNode @ 0x10039de23\n; > ChallengesPage::claimItem @ 0x10039e891\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbp                                                            ; +0x0, 0x100073a50\nmov     rbp, rsp                                                       ; +0x1, 0x100073a51\npush    r15                                                            ; +0x4, 0x100073a54\npush    r14                                                            ; +0x6, 0x100073a56\npush    r12                                                            ; +0x8, 0x100073a58\npush    rbx                                                            ; +0xa, 0x100073a5a\nmov     ebx, esi                                                       ; +0xb, 0x100073a5b\nmov     r14, rdi                                                       ; +0xd, 0x100073a5d\ncall    GameStatsManager__getQueuedChallenge                           ; +0x10, 0x100073a60\nmov     r12, rax                                                       ; +0x15, 0x100073a65\nmov     rdi, r14                                                       ; +0x18, 0x100073a68\nmov     esi, ebx                                                       ; +0x1b, 0x100073a6b\ncall    GameStatsManager__getSecondaryQueuedChallenge                  ; +0x1d, 0x100073a6d\nmov     r15, rax                                                       ; +0x22, 0x100073a72\nmov     rdi, r14                                                       ; +0x25, 0x100073a75\nmov     esi, ebx                                                       ; +0x28, 0x100073a78\ncall    GameStatsManager__removeChallenge                              ; +0x2a, 0x100073a7a\ntest    r12, r12                                                       ; +0x2f, 0x100073a7f\njz      short loc_100073A9B                                            ; +0x32, 0x100073a82\nmov     rdi, r14                                                       ; +0x34, 0x100073a84\nmov     esi, ebx                                                       ; +0x37, 0x100073a87\nmov     rdx, r12                                                       ; +0x39, 0x100073a89\ncall    GameStatsManager__storeChallenge                               ; +0x3c, 0x100073a8c\nmov     rdi, r14                                                       ; +0x41, 0x100073a91\nmov     esi, ebx                                                       ; +0x44, 0x100073a94\ncall    GameStatsManager__removeQueuedChallenge                        ; +0x46, 0x100073a96\ntest    r15, r15                                                       ; +0x4b, 0x100073a9b\njz      short loc_100073ABF                                            ; +0x4e, 0x100073a9e\nmov     rdi, r14                                                       ; +0x50, 0x100073aa0\nmov     esi, ebx                                                       ; +0x53, 0x100073aa3\nmov     rdx, r15                                                       ; +0x55, 0x100073aa5\ncall    GameStatsManager__storeQueuedChallenge                         ; +0x58, 0x100073aa8\nmov     rdi, r14                                                       ; +0x5d, 0x100073aad\nmov     esi, ebx                                                       ; +0x60, 0x100073ab0\npop     rbx                                                            ; +0x62, 0x100073ab2\npop     r12                                                            ; +0x63, 0x100073ab3\npop     r14                                                            ; +0x65, 0x100073ab5\npop     r15                                                            ; +0x67, 0x100073ab7\npop     rbp                                                            ; +0x69, 0x100073ab9\njmp     GameStatsManager__removeQueuedSecondaryChallenge               ; +0x6a, 0x100073aba\npop     rbx                                                            ; +0x6f, 0x100073abf\npop     r12                                                            ; +0x70, 0x100073ac0\npop     r14                                                            ; +0x72, 0x100073ac2\npop     r15                                                            ; +0x74, 0x100073ac4\npop     rbp                                                            ; +0x76, 0x100073ac6\nretn                                                                   ; +0x77, 0x100073ac7", "xrefs": ["ChallengesPage::createChallengeNode @ 0x10039de23", "ChallengesPage::claimItem @ 0x10039e891"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}