{"type": "func", "start": 5369258080, "end": 5369258201, "name": "ChallengesPage::tryGetChallenges", "pseudocode": "// \n// ChallengesPage::tryGetChallenges from 0x140086060 to 0x1400860d9 (121 bytes)\n// \n// 2 xrefs:\n// > ChallengesPage::challengeStatusFailed @ 0x140085fee\n// > <???> @ 0x1406c6c30\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\n// Hidden C++ exception states: #wind=1\nvoid ChallengesPage::tryGetChallenges(ChallengesPage *a1)\n{\n  LoadingCircle *m_circle; // rcx\n  GameLevelManager *v2; // rcx\n  void *v3; // [rsp+30h] [rbp+8h]\n\n  if ( a1->m_triedToLoad )\n  {\n    m_circle = a1->m_circle;\n    if ( m_circle )\n      m_circle->setVisible(m_circle, 0);\n  }\n  else\n  {\n    a1->m_triedToLoad = 1;\n    v2 = (GameLevelManager *)qword_1406C2EC0;\n    if ( !qword_1406C2EC0 )\n    {\n      v3 = operator new(0x3D0u);\n      qword_1406C2EC0 = sub_140141280(v3);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EC0 + 72LL))(qword_1406C2EC0);\n      v2 = (GameLevelManager *)qword_1406C2EC0;\n    }\n    GameLevelManager::getGJChallenges(v2);\n  }\n}", "assembly": "; \n; ChallengesPage::tryGetChallenges from 0x140086060 to 0x1400860d9 (121 bytes)\n; \n; 2 xrefs:\n; > ChallengesPage::challengeStatusFailed @ 0x140085fee\n; > <???> @ 0x1406c6c30\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\nsub     rsp, 28h                                                       ; +0x0, 0x140086060\ncmp     byte ptr [rcx+2A8h], 0                                         ; +0x4, 0x140086064\njz      short loc_140086089                                            ; +0xb, 0x14008606b\nmov     rcx, [rcx+2A0h]                                                ; +0xd, 0x14008606d\ntest    rcx, rcx                                                       ; +0x14, 0x140086074\njz      short loc_1400860D4                                            ; +0x17, 0x140086077\nmov     rax, [rcx]                                                     ; +0x19, 0x140086079\nxor     edx, edx                                                       ; +0x1c, 0x14008607c\nadd     rsp, 28h                                                       ; +0x1e, 0x14008607e\njmp     qword ptr [rax+140h]                                           ; +0x22, 0x140086082\nmov     byte ptr [rcx+2A8h], 1                                         ; +0x29, 0x140086089\nmov     rcx, cs:qword_1406C2EC0                                        ; +0x30, 0x140086090\ntest    rcx, rcx                                                       ; +0x37, 0x140086097\njnz     short loc_1400860CB                                            ; +0x3a, 0x14008609a\nmov     ecx, 3D0h; Size                                                ; +0x3c, 0x14008609c\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x41, 0x1400860a1\nmov     [rsp+28h+arg_0], rax                                           ; +0x46, 0x1400860a6\nmov     rcx, rax                                                       ; +0x4b, 0x1400860ab\ncall    sub_140141280                                                  ; +0x4e, 0x1400860ae\nnop                                                                    ; +0x53, 0x1400860b3\nmov     cs:qword_1406C2EC0, rax                                        ; +0x54, 0x1400860b4\nmov     rdx, [rax]                                                     ; +0x5b, 0x1400860bb\nmov     rcx, rax                                                       ; +0x5e, 0x1400860be\ncall    qword ptr [rdx+48h]                                            ; +0x61, 0x1400860c1\nmov     rcx, cs:qword_1406C2EC0                                        ; +0x64, 0x1400860c4\nadd     rsp, 28h                                                       ; +0x6b, 0x1400860cb\njmp     GameLevelManager__getGJChallenges                              ; +0x6f, 0x1400860cf\nadd     rsp, 28h                                                       ; +0x74, 0x1400860d4\nretn                                                                   ; +0x78, 0x1400860d8", "xrefs": ["ChallengesPage::challengeStatusFailed @ 0x140085fee", "<???> @ 0x1406c6c30"], "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"}