{"type": "func", "start": 5369358096, "end": 5369358220, "name": "ChallengesPage::tryGetChallenges", "pseudocode": "// \n// ChallengesPage::tryGetChallenges from 0x14009e710 to 0x14009e78c (124 bytes)\n// \n// 2 xrefs:\n// > ChallengesPage::challengeStatusFailed @ 0x14009e6a1\n// > <???> @ 0x140912fe0\n// \n// This function is hookable on this platform (idp: pc, 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 11:26:05 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nvoid __fastcall ChallengesPage::tryGetChallenges(__int64 a1)\n{\n  __int64 v1; // rcx\n  void *v2; // [rsp+30h] [rbp+8h]\n\n  if ( *(_BYTE *)(a1 + 712) )\n  {\n    v1 = *(_QWORD *)(a1 + 704);\n    if ( v1 )\n      (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v1 + 336LL))(v1, 0);\n  }\n  else\n  {\n    *(_BYTE *)(a1 + 712) = 1;\n    if ( !*(_QWORD *)&qword_14090BFB0 )\n    {\n      v2 = operator new(0x690u);\n      *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v2);\n      (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);\n    }\n    GameLevelManager::getGJChallenges();\n  }\n}", "assembly": "; \n; ChallengesPage::tryGetChallenges from 0x14009e710 to 0x14009e78c (124 bytes)\n; \n; 2 xrefs:\n; > ChallengesPage::challengeStatusFailed @ 0x14009e6a1\n; > <???> @ 0x140912fe0\n; \n; This function is hookable on this platform (idp: pc, 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 11:26:05 +0000\n; \nsub     rsp, 28h                                                       ; +0x0, 0x14009e710\ncmp     byte ptr [rcx+2C8h], 0                                         ; +0x4, 0x14009e714\njz      short loc_14009E739                                            ; +0xb, 0x14009e71b\nmov     rcx, [rcx+2C0h]                                                ; +0xd, 0x14009e71d\ntest    rcx, rcx                                                       ; +0x14, 0x14009e724\njz      short loc_14009E787                                            ; +0x17, 0x14009e727\nmov     rax, [rcx]                                                     ; +0x19, 0x14009e729\nxor     edx, edx                                                       ; +0x1c, 0x14009e72c\nadd     rsp, 28h                                                       ; +0x1e, 0x14009e72e\njmp     qword ptr [rax+150h]                                           ; +0x22, 0x14009e732\nmov     byte ptr [rcx+2C8h], 1                                         ; +0x29, 0x14009e739\nmov     rcx, cs:qword_14090BFB0                                        ; +0x30, 0x14009e740\ntest    rcx, rcx                                                       ; +0x37, 0x14009e747\njnz     short loc_14009E77E                                            ; +0x3a, 0x14009e74a\nmov     ecx, 690h; Size                                                ; +0x3c, 0x14009e74c\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x41, 0x14009e751\nmov     [rsp+28h+arg_0], rax                                           ; +0x46, 0x14009e756\nmov     rcx, rax                                                       ; +0x4b, 0x14009e75b\ncall    GameLevelManager__GameLevelManager                             ; +0x4e, 0x14009e75e\nnop                                                                    ; +0x53, 0x14009e763\nmov     cs:qword_14090BFB0, rax                                        ; +0x54, 0x14009e764\nmov     rcx, [rax]                                                     ; +0x5b, 0x14009e76b\nmov     rdx, [rcx+48h]                                                 ; +0x5e, 0x14009e76e\nmov     rcx, rax                                                       ; +0x62, 0x14009e772\ncall    rdx                                                            ; +0x65, 0x14009e775\nmov     rcx, cs:qword_14090BFB0                                        ; +0x67, 0x14009e777\nadd     rsp, 28h                                                       ; +0x6e, 0x14009e77e\njmp     GameLevelManager__getGJChallenges                              ; +0x72, 0x14009e782\nadd     rsp, 28h                                                       ; +0x77, 0x14009e787\nretn                                                                   ; +0x7b, 0x14009e78b", "xrefs": ["ChallengesPage::challengeStatusFailed @ 0x14009e6a1", "<???> @ 0x140912fe0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}